Issue 75593 - Columns shifts randomly when paste HTML table in Calc
Summary: Columns shifts randomly when paste HTML table in Calc
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOo 2.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: data_loss
Depends on:
Blocks:
 
Reported: 2007-03-21 10:58 UTC by victor_bely
Modified: 2023-04-09 16:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.2.0-dev
Developer Difficulty: ---


Attachments
Testdoc (365 bytes, text/html)
2007-03-21 12:40 UTC, frank
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description victor_bely 2007-03-21 10:58:55 UTC
# rpm -qa|grep firefox
firefox-chatzilla-0.9.61-alt1
firefox-2.0-alt2
firefox-diggler-0.6-alt2
firefox-downbar-0.82-alt1
firefox-ru-2.0-alt1
firefox-webdeveloper-1.0.2-alt4.1
firefox-bookmarkbackup-0.2.1-alt1
firefox-livehttpheaders-0.13.1-alt1
firefox-switch-locales-2.0-alt1

$ rpm -qa|grep mozilla
mozilla-plugin-freewrl-1.07-alt0.2pre1
alt-docs-extras-mozilla-0.1-alt2
mozilla-addon-linky-2.0.0-alt1
mozilla-psm-1.7.12-alt1.M24.1
mozilla-plugins-common-1.7.12-alt1.M24.1
mozilla-addon-bannerblind-1.0rc1-alt1
mozilla-plugin-macromedia-flash-7.0.25-alt1
mozilla-1.7.12-alt1.M24.1
mozilla-plugin-kaffeine-0.2-alt4
mozilla-addon-adblock-0.2.1-alt1
mozilla-addon-moztweak-1.2.2a-alt1
mozilla-addon-livehttpheaders-0.8-alt1

# rpm -qa|grep openoffice
openoffice.org-2.1.0-alt3
openoffice.org-langpack-ru-2.1.0-alt3
openoffice.org-kde-2.1.0-alt3

open with browser next file:

<html><head>
TEST
</head><body>
<table>
        <tbody><tr>
                <td>111</td>
                <td width="1%">222</td>
                <td>333</td>
                <td>444</td>
                <td>555</td>
                <td>666</td>
                <td>777</td> 
                <td>888</td> 
        </tr>
</tbody></table>
</body></html>

Select table, copy, paste in openoffice calc.
Result: sequence of columns may change randomly (mostly 1 3 2 4 5 6 7 8),
If select “Edit->Paste special->Unformatted text†table inserting correctly
Comment 1 frank 2007-03-21 12:39:10 UTC
Hi Niklas,

please have a look at this one.

Frank
Comment 2 frank 2007-03-21 12:40:00 UTC
Created attachment 43831 [details]
Testdoc
Comment 3 Martin Hollmichel 2007-11-09 16:53:00 UTC
change target from 2.x to 3.x according to
http://wiki.services.openoffice.org/wiki/Target_3x
Comment 4 Marcus 2017-05-20 11:11:14 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 5 damjan 2023-01-08 19:56:13 UTC
Still happens on the latest Git.

These are the errors logged in a debug build:

Error: Op[] From File main/sc/source/filter/html/htmlpars.cxx at Line 68
Error: Op[] From File main/sc/source/filter/html/htmlpars.cxx at Line 68
Error: Op[] From File main/sc/source/filter/html/htmlpars.cxx at Line 68
Error: Op[] From File main/sc/source/filter/html/htmlpars.cxx at Line 68
Error: Op[] From File main/sc/source/filter/html/htmlpars.cxx at Line 68
Error: Op[] From File main/sc/source/filter/html/htmlpars.cxx at Line 68
Error: Op[] From File main/sc/source/filter/html/htmlpars.cxx at Line 68
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666
Error: SetWidths: pE->nWidth == 0 From File main/sc/source/filter/html/htmlpars.cxx at Line 666