Bug 118142 - FILESAVE DOCX The width of Combobox/drop-down list Form control element increase
Summary: FILESAVE DOCX The width of Combobox/drop-down list Form control element increase
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2018-06-13 14:30 UTC by Gabor Kelemen (allotropia)
Modified: 2021-10-22 12:00 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word 2013 (24.66 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-06-13 14:30 UTC, Gabor Kelemen (allotropia)
Details
The example file opened in Word and Writer side by side (116.44 KB, image/png)
2018-06-13 14:31 UTC, Gabor Kelemen (allotropia)
Details
result of improvement in LO (53.21 KB, image/png)
2021-10-15 12:13 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2018-06-13 14:30:43 UTC
Created attachment 142703 [details]
Example file from Word 2013

If we create a new kind of Combobox/drop-down list Form control element and the list elements (the texts) are very long, the Microsoft Office Word will break the paragraph to multiply line. But the LibreOffice Writer increase the width of combobox/drop-down list form control element.

Steps to reproduce:
1. Create a new *.docx file with Microsoft Word 2010/2013/2016
2. Insert a table with 1 row and 2 column.
3. Decreased the width of the second column. (optional)
4. Create a new kind of drop-down list and insert into the second column.
5. Fill the drop-down list with short and long (very long) texts.
6. Save the file as *.docx.
7. Open the file with LibreOffice Writer.

Actual results:
After we open the file, we will see that the combobox will be out of the page. If we try to set the width of the combobox to something normal width it will works. But if we save as *.docx and reload, the width of the combobox will reset to default.

Expected results:
The Combobox/drop-down list Form control element’s width should not be increased, if the  content is very long in the list. It would be great, if the longest drop-down list elements (texts) will be broken to multiply line, just like in Microsoft Office Word.

Verzió: 6.0.4.2
Build az.: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU szálak: 4; OS: Windows 10.0; Felületmegjelenítés: alapértelmezett; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 6.2.0.0.alpha0+
Build ID: fb8e6a6f44839f09fcd19dc500db33232bc4e15a
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-06-11_01:15:16
Locale: hu-HU (hu_HU); Calc: group threaded
Comment 1 Gabor Kelemen (allotropia) 2018-06-13 14:31:15 UTC
Created attachment 142704 [details]
The example file opened in Word and Writer side by side
Comment 2 Buovjaga 2018-06-24 09:52:45 UTC
Confirmed.

In older versions the combobox was not supported.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 5b42a17dc99fba2ccf8dd8d0a8e0e4e836e30120
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 22nd 2018

Win 10
4.3.0
Comment 3 Gabor Kelemen (allotropia) 2018-07-09 18:27:46 UTC
Also note that other form elements, like text box or label support the Text type property, while combo box does not even have this.
I think this is another angle of the problem.
Comment 4 QA Administrators 2019-10-12 02:47:01 UTC Comment hidden (obsolete)
Comment 5 NISZ LibreOffice Team 2019-10-14 13:39:17 UTC
Still happens in:

Version: 6.4.0.0.alpha0+ (x86)
Build ID: 489eef894e7034873ad262f9dfca554022db1b09
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-10-01_23:43:38
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL
Comment 6 QA Administrators 2021-10-14 03:47:05 UTC Comment hidden (obsolete)
Comment 7 NISZ LibreOffice Team 2021-10-15 12:13:40 UTC
Created attachment 175757 [details]
result of improvement in LO
Comment 8 NISZ LibreOffice Team 2021-10-15 12:14:15 UTC
Verified in: 

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9bcdfcb74dae7ccd07be7159c0e1deba110d2a6f
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded
Comment 9 Gabor Kelemen (allotropia) 2021-10-15 12:24:45 UTC
(In reply to NISZ LibreOffice Team from comment #7)
> Created attachment 175757 [details]
> result of improvement in LO

Neat! Care to bibisect the origin of this change?
Comment 10 Gabor Kelemen (allotropia) 2021-10-22 11:59:27 UTC
This seems to be solved since:

https://git.libreoffice.org/core/+/f7606f0c7d9fc5961adec6a84ccedf0f4dbcdad9

author	Serge Krot <Serge.Krot@cib.de>	Tue Jun 16 17:11:12 2020 +0200
committer	Thorsten Behrens <Thorsten.Behrens@CIB.de>	Tue Jun 23 14:23:01 2020 +0200

tdf#134043 DOCX import: DropDown text field instead of ComboBox form control