Bug 58239 - FILEOPEN: Importing DOCX document gives wrong text box placement and page break
Summary: FILEOPEN: Importing DOCX document gives wrong text box placement and page break
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:docx
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2012-12-13 11:31 UTC by marius
Modified: 2019-07-14 16:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document that is bad imported. (51.16 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-12-13 11:31 UTC, marius
Details
PDF of correctly displayed document (59.03 KB, application/pdf)
2012-12-13 11:32 UTC, marius
Details
Screenshot showing the red triangle overlays when file converted and opened as DOC (57.90 KB, image/png)
2016-08-09 14:25 UTC, Johnny_M
Details
The test DOCX file converted to DOC using Word 2003 (with compatibility pack) (123.00 KB, application/msword)
2016-08-09 14:32 UTC, Johnny_M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marius 2012-12-13 11:31:07 UTC
Created attachment 71442 [details]
Document that is bad imported.

Problem description: 

Steps to reproduce:
1. Open document

Current behavior:
Bad interpretation of document.


Expected behavior:
The document should look like the PDF attached.
              
Operating System: Ubuntu
Comment 1 marius 2012-12-13 11:32:07 UTC
Created attachment 71443 [details]
PDF of correctly displayed document
Comment 2 A (Andy) 2012-12-15 10:08:13 UTC
reproducible with LO 3.6.4.3 (Win7 Home, 64 Bit)
Comment 3 VX 2012-12-15 12:09:27 UTC
I can confirm it for LO Writter 4.0.0.0 beta 1 on Windows 7 64 bit Polish.
Comment 4 Samuel Mehrbrodt (CIB) 2014-01-23 14:10:55 UTC
Confirmed in 4.2.
Comment 5 Joel Madero 2015-05-02 15:43:06 UTC Comment hidden (obsolete)
Comment 6 Gordo 2015-06-20 15:13:40 UTC
Still reproducible.

Windows Vista 64
Version: 4.4.4.2
Build ID: f784c932ccfd756d01b70b6bb5e09ff62e1b3285

Version: 5.1.0.0.alpha1+
Build ID: 46564fd97308ce070248482ad65a311a329a2b76
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-15_00:08:53
Comment 7 Johnny_M 2016-08-09 14:08:29 UTC
Confirming on:
- Windows Vista, 32 bit:
Version: 5.2.0.4
Build-ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU-Threads: 2; BS-Version: Windows 6.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE)

- Linux Mint 17.1, 64 bit:
Version: 5.1.5.2
Build ID: 1:5.1.5~rc2-0ubuntu1~trusty1
CPU Threads: 2; OS Version: Linux 3.13; UI Render: default; 
Locale: de-DE (en_GB.UTF-8); Calc: group


BUT: Those aren't "checkboxes" (as in a form control). They are actually small text boxes, also when opened in MS Word 2003 (with DOCX compatibility pack).

If the file is saved as a DOC file by Word 2003, the text boxes are ordered correctly when the latter is opened in LO 5.2.0.4, but most have a red triangle overlay.
Comment 8 Johnny_M 2016-08-09 14:25:03 UTC
Created attachment 126701 [details]
Screenshot showing the red triangle overlays when file converted and opened as DOC

(In reply to Johnny_M from comment #7)
> [...]
> If the file is saved as a DOC file by Word 2003, the text boxes are ordered
> correctly when the latter is opened in LO 5.2.0.4, but most have a red
> triangle overlay.

The attached screenshot shows the red triangle overlays. Although those are not shown in the print preview, nor printed or exported to PDF.
Comment 9 Johnny_M 2016-08-09 14:32:29 UTC
Created attachment 126702 [details]
The test DOCX file converted to DOC using Word 2003 (with compatibility pack)
Comment 10 QA Administrators 2017-12-08 08:08:16 UTC Comment hidden (obsolete)
Comment 11 Johnny_M 2017-12-27 11:35:22 UTC
The issue is reproducible with:
Version: 6.1.0.0.alpha0+
Build ID: a9b202a6b7000e7af34f2a639ca207122a3968bf
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-12-26_23:09:36
Locale: en-US (en_US.UTF-8); Calc: group threaded
Comment 12 QA Administrators 2018-12-28 03:46:49 UTC Comment hidden (obsolete)
Comment 13 Johnny_M 2019-07-14 16:19:05 UTC
Still reproducible on the initial machine with current master on Ubuntu MATE 19.10 liveUSB:
Version: 6.4.0.0.alpha0+
Build ID: c54597a8905b07807952aebc24237549302fb941
CPU threads: 4; OS: Linux 5.0; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-07-10_22:22:02
Locale: en-US (C.UTF-8); UI-Language: en-US
Calc: threaded