Issue 90906 - Bugdoc can not be loaded correctly
Summary: Bugdoc can not be loaded correctly
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: DEV300m19
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2008-06-20 06:52 UTC by ocke.janssen
Modified: 2013-08-07 14:43 UTC (History)
4 users (show)

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


Attachments
File contains a table which is not shown correctly. (4.43 KB, application/vnd.oasis.opendocument.text)
2008-06-20 06:53 UTC, ocke.janssen
no flags Details
Bugodc contains some hidden text, created with StarOffice 8 Final (5.99 KB, application/vnd.oasis.opendocument.text)
2008-06-27 08:15 UTC, andreas.martens
no flags Details
Hidden_so8.odt opened with OOo2.4 (5.45 KB, image/jpeg)
2008-08-06 04:27 UTC, redflagzhulihua
no flags Details
Hidden_so8.odt opened with DEV300m28 (7.55 KB, image/jpeg)
2008-08-06 04:28 UTC, redflagzhulihua
no flags Details
report1.odt opened with OOo2.4 (14.05 KB, image/jpeg)
2008-08-06 04:29 UTC, redflagzhulihua
no flags Details
report1.odt opened with DEV300m28 (19.80 KB, image/jpeg)
2008-08-06 04:29 UTC, redflagzhulihua
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ocke.janssen 2008-06-20 06:52:12 UTC
Open the attached bug doc. It can not be loaded with a DEV300m19 but with a
OOH680m17 (2.4.1)
Comment 1 ocke.janssen 2008-06-20 06:52:56 UTC
add keyword
Comment 2 ocke.janssen 2008-06-20 06:53:56 UTC
Created attachment 54615 [details]
File contains a table which is not shown correctly.
Comment 3 andreas.martens 2008-06-20 08:51:22 UTC
The file is shown correctly, there is a text attribute 'text:display="none"', so
all characters are hidden.
Unfortunately we misintepreted this value since the beginning of OOo. This has
been fixed with dev300m18.
See issue 64237
Comment 4 andreas.martens 2008-06-20 09:09:33 UTC
On the other side it should be recognized if the odcument has been created from
an OOo2.4 and interpreted in the right way, I have to check this.
Comment 5 andreas.martens 2008-06-20 10:22:47 UTC
Even the document says display:none, it has to be repaired during import.
Needs more investigation...
Comment 6 andreas.martens 2008-06-23 09:39:59 UTC
Fixed in CWS sw30bf07:
txtimppr.cxx
txtprmap.cxx

Documents created with OOo2.4.1 or earlier will be recognized and the 'wrong'
hidden attribute will exchanged during loading.
=> Old documents should be displayed like in OOo2.4.1
Comment 7 andreas.martens 2008-06-24 15:56:28 UTC
.
Comment 8 andreas.martens 2008-06-27 08:15:14 UTC
Created attachment 54777 [details]
Bugodc contains some hidden text, created with StarOffice 8 Final
Comment 9 andreas.martens 2008-06-27 08:23:43 UTC
My last attached document contains some hidden characters. This attribute got
lost if you open it with a OOo version later than m18.
This is fixed in CWS sw30bf07.
The original bug doc, created by the report designer, does not contain a
meta.xml with the generaor tag. So I'm not able to recognize that the
display-attribute has to be "misinterpreted".
But for older document which contains a generator tag in their meta.xml all
should work fine.

=> Ready for QA.
Comment 10 eric.savary 2008-06-27 11:59:30 UTC
Verified in cws sw30bf07
Comment 11 sgautier.ooo 2008-08-05 12:57:11 UTC
Hi Eric,
I've tried to verify this issue, but it works strangely:
- open the document Hidden_so8.odt with DEV300m28, the whole text is displayed
and no part is underlined --> it doesn't work as expected.
- If I close it and reopen, the text is hidden and activating the non printing
characters shows is underlined --> it works as expected.

- open the document Hidden_so8.odt with 2.4.1, the hidden text is hide.
Activating the display of non printing characters shows the text underlined.

Jean-Baptiste has experienced the same comportment when relaunching the doc from
Recent documents entry.
Kind regards - Sophie
Comment 12 jbf.faure 2008-08-05 13:45:27 UTC
Add me to CC.
Comment 13 redflagzhulihua 2008-08-06 04:27:41 UTC
Created attachment 55586 [details]
Hidden_so8.odt opened with OOo2.4
Comment 14 redflagzhulihua 2008-08-06 04:28:24 UTC
Created attachment 55587 [details]
Hidden_so8.odt opened with DEV300m28
Comment 15 redflagzhulihua 2008-08-06 04:29:09 UTC
Created attachment 55588 [details]
report1.odt opened with OOo2.4
Comment 16 redflagzhulihua 2008-08-06 04:29:51 UTC
Created attachment 55589 [details]
report1.odt opened with DEV300m28
Comment 17 redflagzhulihua 2008-08-14 09:00:14 UTC
I'm reopening this issue according to the result I tested.

Please feel free to correct me if I'm wrong.
Comment 18 eric.savary 2008-08-18 14:05:28 UTC
@Sophie & jbfaure: Hidden_so8.odt displays correctly for me in OOO300m3 (like
second screenshot from redflagzhulihua)

@redflagzhulihua: see comment desc10 from AMA - this cannot be fixed for
document s like the report1.odt.
Comment 19 eric.savary 2008-08-18 14:05:48 UTC
Closed