Bug 159271

Summary: FILEOPEN DOCX Dropdown fields became very narrow and tall
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Mike Kaganski <mikekaganski>
Status: RESOLVED FIXED    
Severity: normal CC: mikekaganski
Priority: medium    
Version: 24.8.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=150037
https://bugs.documentfoundation.org/show_bug.cgi?id=57187
Whiteboard: target:24.8.0 target:24.2.0.3
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 112969    
Attachments: The example file in Word 2016 and current master

Description Gabor Kelemen (allotropia) 2024-01-18 20:50:20 UTC
Created attachment 192047 [details]
The example file in Word 2016 and current master

When attachment 181299 [details] from bug 150037 is opened, some dropdown fields became very narrow and tall, pushing number of pages to 4 instead of 2.

1. Open attachment 181299 [details]
-> tall dropdowns

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded

Started with:

https://git.libreoffice.org/core/+/853e13f9146e83b959bc53152ec103470d55fb4f

author	Mike Kaganski <mike.kaganski@collabora.com>	Fri Dec 29 14:22:23 2023 +0600
committer	Mike Kaganski <mike.kaganski@collabora.com>	Sat Dec 30 09:51:28 2023 +0100

tdf#57187: make sure to put trailing blanks to hole portion in narrow lines

Adding CC to: Mike Kaganski
Comment 1 Mike Kaganski 2024-01-19 05:09:53 UTC
https://gerrit.libreoffice.org/c/core/+/162269
Comment 2 Commit Notification 2024-01-19 06:10:01 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/229864a103b6ba8714a62609167be2deae16b987

tdf#159271: do not try to put fields' spaces to hole portions

It will be available in 24.8.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 2024-01-19 16:06:17 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/core/commit/0f436a2fe6dfe8b2a7b159a94ed7a8706a1b4482

tdf#159271: do not try to put fields' spaces to hole portions

It will be available in 24.2.1.

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 Commit Notification 2024-01-24 08:26:01 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-24-2-0":

https://git.libreoffice.org/core/commit/53c9b06f7bda62efb97bb383ac0002234e4aa5e8

tdf#159271: do not try to put fields' spaces to hole portions

It will be available in 24.2.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.