Bug 123111 - FILEOPEN DOC Some text goes out of bound in textboxes in LO.
Summary: FILEOPEN DOC Some text goes out of bound in textboxes in LO.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOC-Shapes
  Show dependency treegraph
 
Reported: 2019-02-01 11:30 UTC by NISZ LibreOffice Team
Modified: 2024-09-04 09:52 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file (62.01 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-02-01 11:33 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer. (355.82 KB, image/png)
2019-02-01 11:33 UTC, NISZ LibreOffice Team
Details
Minimized test document in doc format (47.50 KB, application/msword)
2020-09-02 11:24 UTC, NISZ LibreOffice Team
Details
The minimized doc example file in Word and Writer (88.84 KB, image/png)
2020-09-02 11:25 UTC, NISZ LibreOffice Team
Details
Minimized test document in docx format (25.96 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-09-02 11:26 UTC, NISZ LibreOffice Team
Details
The minimized docx example file in Word and Writer (82.86 KB, image/png)
2020-09-02 11:31 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-02-01 11:30:26 UTC
Description:
When the attached docx is opened in LO some text goes out of the shapes bounds.

Steps to Reproduce:
    1. Open the attached file LO and MSO.
    2. Notice the changes.

Actual Results:
Some of the texts are out of bounds in LO.

Expected Results:
The texts should the same even if opened in LO.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2019-02-01 11:33:16 UTC
Created attachment 148845 [details]
The original file
Comment 2 NISZ LibreOffice Team 2019-02-01 11:33:38 UTC
Created attachment 148846 [details]
Screenshot of the original document side by side in Word and Writer.
Comment 3 Dieter 2019-02-01 12:19:09 UTC
*** Bug 123112 has been marked as a duplicate of this bug. ***
Comment 4 Dieter 2019-02-01 15:05:09 UTC
I confirm it with

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 411f3a050ac2be598019d512f8ccfe041080c28f
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-01-14_03:17:11
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded

and with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL
Comment 5 Telesto 2019-02-01 18:17:20 UTC
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 6 NISZ LibreOffice Team 2020-09-02 11:24:23 UTC
Created attachment 165017 [details]
Minimized test document in doc format
Comment 7 NISZ LibreOffice Team 2020-09-02 11:25:33 UTC
Created attachment 165018 [details]
The minimized doc example file in Word and Writer

Without the boring rectangles, in doc format: the shapes are imported, but overly long text flows out instead of being hidden, like in Word.
Comment 8 NISZ LibreOffice Team 2020-09-02 11:26:02 UTC
Created attachment 165019 [details]
Minimized test document in docx format
Comment 9 NISZ LibreOffice Team 2020-09-02 11:31:17 UTC
Created attachment 165020 [details]
The minimized docx example file in Word and Writer

Something nasty is going on when the doc is converted to docx in Word (with retaining backwards compatibility, so VML is written) and imported into Writer:
the shapes with text are imported as frames and lose their unique shape, becoming simple rectangles. 
There is a ton of such bugs reported.

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 4c20bb789c7536f63a6844a4cb4489a18cee53c7
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 10 NISZ LibreOffice Team 2020-09-02 14:57:50 UTC
Focus this one towards the DOC support.
Comment 11 QA Administrators 2022-09-03 03:39:07 UTC Comment hidden (obsolete)
Comment 12 Gabor Kelemen (allotropia) 2022-09-04 12:34:05 UTC
Text still flows out of the doc examples diamond shape in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 27892a5e12dada80226f778ab2bd14b1bdaab58a
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 13 QA Administrators 2024-09-04 03:14:51 UTC Comment hidden (obsolete)
Comment 14 Regina Henschel 2024-09-04 09:52:47 UTC
Diamond shape shows still the overflow. The import from doc does not use a associated text frame but the draw text. A draw text is not able to hide overflowing text. The import from docx is OK besides the fact, that there exist no mean to hide the overflow indicator.

As a draw text in a custom shape can make arbitrary rotations which is currently not possible with an associated text frame, always using an associated text frame might not be the best solution.

Tested with Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded