Bug 132340 - TEXTBOX: Textbox content disappears in a document, that has been created with earlier version of LO from docx-file
Summary: TEXTBOX: Textbox content disappears in a document, that has been created with...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.2.1 rc
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox
  Show dependency treegraph
 
Reported: 2020-04-23 06:12 UTC by Waldemar Schrat
Modified: 2020-07-11 13:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
writer document with text box (16.59 KB, application/vnd.oasis.opendocument.text)
2020-04-23 06:12 UTC, Waldemar Schrat
Details
sceeshot of textbox with disappeared text (LO version 6.3.1.2) (28.73 KB, image/png)
2020-04-23 14:36 UTC, Waldemar Schrat
Details
original document from where odt is converted (23.37 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-04-24 08:32 UTC, Waldemar Schrat
Details
LO crash (23.21 KB, image/png)
2020-04-24 11:52 UTC, Waldemar Schrat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Waldemar Schrat 2020-04-23 06:12:53 UTC
Created attachment 159833 [details]
writer document with text box

Contents of a text box disappeared and cannot be rescued. Last working release is 6.3.1.2.
None of my existing documents display contents of the textbox in later releases.
Please check with file attached.
Comment 1 ian 2020-04-23 12:59:33 UTC
Thank you for reporting the bug. 

Could you please attach a screenshot of the textbox within the document, using the last working release of LibreOffice, to the bug report?

This will help us in triaging the bug.

(I'm also also marking this bug as a possible regression.)
Comment 2 Waldemar Schrat 2020-04-23 14:36:52 UTC
Created attachment 159861 [details]
sceeshot of textbox with disappeared text (LO version 6.3.1.2)
Comment 3 Dieter 2020-04-24 07:47:16 UTC
I confirm it

Version: 6.3.5.2 (x64)
Build-ID: dd0751754f11728f69b42ee2af66670068624673
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

and with

Version: 7.0.0.0.alpha0+ (x64)Build ID: 8c8b3a4f83f67882b284ddc3b3fe10d3fe6dedf4CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI-Language: en-GBCalc: CL

Result: Textbox is still there (as you can see in the navigator), but all the content is gone

Content is shown in

Version: 6.1.6.3 (x64)
Build-ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: group threaded


Waldemar, how did you create the content of the textbox. It looks like a table, but I can insert a table to a textbox.
Comment 4 Waldemar Schrat 2020-04-24 08:08:48 UTC
Quote [Dieter]:"It looks like a table, but I can insert a table to a textbox."

You meant probably "[...] I cannot insert a table to a textbox."

The document is converted from a Microsoft-Word document where it is possible to insert a table into a text box.
Comment 5 Dieter 2020-04-24 08:12:32 UTC
(In reply to Waldemar Schrat from comment #4)
> The document is converted from a Microsoft-Word document where it is
> possible to insert a table into a text box.

Could you please attach that Word document? Thanks.
Comment 6 Waldemar Schrat 2020-04-24 08:32:38 UTC
Created attachment 159891 [details]
original document from where odt is converted
Comment 7 Dieter 2020-04-24 08:43:41 UTC
Thanks. Results from further testing:

Content remains, if I open docx with LO 6.3 (Do you get the same result?)
Conten also remains, if I open docx with LO 6.1, save it as odt and reopen it in LO 6.3

So perhaps there has been an old bug in LO with saving such docx-files, but as far as I can see, this i not actual. So I would now cose the bug as WORKSFORME

Waldemar, if you disagree, please add some steps, that reproduces the bug (please start with opening docx-file)

=> NEEDINFO
Comment 8 Waldemar Schrat 2020-04-24 11:52:44 UTC
Created attachment 159897 [details]
LO crash
Comment 9 Dieter 2020-04-24 12:04:39 UTC
(In reply to Waldemar Schrat from comment #8)
> Created attachment 159897 [details]
> LO crash

LO 6.3 crashes, if you try to open docx-file?
Comment 10 Waldemar Schrat 2020-04-24 12:07:22 UTC
I confirm that I can open the .docx with all available LO versions with existing contents (up to 6.3.4.2).
I confirm opening .docx  with LO 6.1.6.3, saving as .odt, opening with LO 6.3.4.2 with existing content.

I can reproduce a crash of LO.
Steps
1. open .docx with LO V6.3.1.2
2. save as .odt
3. open same document as .odt
4. confirm question "The template 'document (Deutsch)' on which this document is based, has been modified. Do you want to update style based formatting according to the modified template?" with one or the other
5. close document
6. save or discard changes
7. LO crashes

What is not working:
Making the disappeard content of the .odt document visible again.
Comment 11 Waldemar Schrat 2020-04-24 12:09:35 UTC
I forgot between 2. and 3.:
2.5. close document
Comment 12 Dieter 2020-04-24 12:15:41 UTC
(In reply to Waldemar Schrat from comment #10)
> I confirm that I can open the .docx with all available LO versions with
> existing contents (up to 6.3.4.2).
> I confirm opening .docx  with LO 6.1.6.3, saving as .odt, opening with LO
> 6.3.4.2 with existing content.

So I think, it's not an actual problem, but a problem with an older version of LO (Perhaps before 6.1). So I would say WONTFIX, be I leave status UNCONFIRMED for further input.

> 
> I can reproduce a crash of LO.
> Steps
> 1. open .docx with LO V6.3.1.2
> 2. save as .odt
> 3. open same document as .odt
> 4. confirm question "The template 'document (Deutsch)' on which this
> document is based, has been modified. Do you want to update style based
> formatting according to the modified template?" with one or the other
> 5. close document
> 6. save or discard changes
> 7. LO crashes

That's another problem. Perhaps there is also a bug report or you can open a new report (you should update LO before)
Comment 13 Waldemar Schrat 2020-04-24 12:19:48 UTC
Same crash with LO 6.3.4.2.
Had the same crash with all LO versions.
Comment 14 Dieter 2020-04-24 12:50:05 UTC
(In reply to Waldemar Schrat from comment #13)
> Same crash with LO 6.3.4.2.
> Had the same crash with all LO versions.

Thankfs for testing. Please discuss this topic in a new bug, because otherwise we mix different topics in one bug, which is not helpul. Thanks.
Comment 15 Buovjaga 2020-07-11 13:57:08 UTC
Yeah, let's close