Bug 137881 - FILEOPEN DOCX Textbox resized unexpectedly
Summary: FILEOPEN DOCX Textbox resized unexpectedly
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2020-10-30 16:11 UTC by NISZ LibreOffice Team
Modified: 2020-12-30 10:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the original document side by side in Word and Writer (105.38 KB, image/png)
2020-10-30 16:11 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 2020-10-30 16:11:19 UTC
Created attachment 166878 [details]
Screenshot of the original document side by side in Word and Writer

Attachment #151211 [details] from bug #117921 has some rotated textboxes and the bottommost one started to show up with unexpected sizes.

Steps to reproduce:
    1. Open attachment #151211 [details]

Actual results:
Bottommost shape is 4.3 cm wide instead of 8.4; 27.9 cm tall instead of 2 and its vertical alignment is -143 cm below top margin now instead of 6.5 below paragraph.

Expected results:
Correct size and position as in Word.

LibreOffice details:
Version: 7.1.0.0.alpha1+ (x64)
Build ID: a4d4ed86991e2901ac86189e95966d4e99be4944
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Additional Information: 

Bibisected using bibisect-win64-7.1 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=c9eb53f200225f2ee6ca695e1326843a487aee51 
author	Daniel Arato (NISZ) <arato.daniel@nisz.hu>	2020-10-14 15:46:23 +0200
committer	László Németh <nemeth@numbertext.org>	2020-10-27 13:27:55 +0100

tdf#135198 sw editing: text box fell out of its shape 

Adding CC to: Daniel Arato
Comment 1 Xisco Faulí 2020-10-30 18:01:41 UTC
it looks similar to bug 137885

Reproduced in

Version: 7.1.0.0.alpha1+
Build ID: fdb6d6ccf45e679ff3e369a876482b6801e08e25
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Commit Notification 2020-11-09 18:05:44 UTC
Daniel Arato (NISZ) committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f2eef84ff03660cbb46a76c317e640e054ed0a56

tdf#137881 sw: fix text box size regression

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2020-11-14 13:36:44 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ad53d723715b2ca3ab0d3415c532295ef17ced29

Revert "tdf#137881 sw: fix text box size regression"

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Dániel Arató (NISZ) 2020-12-04 08:39:00 UTC
The latest commit to the original bug (tdf#135198) should solve this:
https://bugs.documentfoundation.org/show_bug.cgi?id=135198#c18
Comment 5 NISZ LibreOffice Team 2020-12-30 10:35:25 UTC
Verified in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 368c56144aab5794c39d5bc2082d9b3d6d7cebdb
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Thanks for fixing!