Description: ListBox in Table Control do not follows the property "line count" See also this bug : 98382 for property Alignment Steps to Reproduce: 1.In writer, or Base Open a Form in conception mode 2.Create a Table Control 3.Insert columns 4.set a column as ListBox based as you want (more of 5 lines i.e) 5.set the line count to 3 6.open the form in production 7.click in the column with the listbox Actual Results: line count 3 is not followed Expected Results: line count 3 must be respected Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.6.1.2 (X86_64) / LibreOffice Community Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674 CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded
Created attachment 189829 [details] Base with Form showing invalide line count in listbox in table control I put 2 listbox based on same sql query One in the form > follows line count (and alignment) One in a Table control (column "article") > don't follows line count (and alignment)
one friend says No reproduice in AOo 4.1.14 Win10
Can you explain what is the expected result of "line count"? You say 7.click in the column with the listbox line count 3 is not followed What does this mean? That the dropdown should only show 3 items?
Yes !? The dropdown should show 3 items and a vertical scrollbar to show and select other item.
Thank you Pierre. I reproduce the issue in a recent trunk build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9a02f4ed071f15908624fb1cafcf6dbb72b00a1b CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Steps: 1. Open attachment 189829 [details] 2. Forms > right-click on Formulaire1 > Edit 3. Right-click on column "Article" in the Table control > Control > General > Line count: value is set to 5 already. 4. Close dialog, turn Design Mode off 5. Expand a dropdown in the Article column Result: 11 rows shown instead of 5. This is a regression in 7.0. Both gtk3 and gen VCL plugins are affected. Bibisected with linux-64-7.0 repository to first bad commit c36e473dd4356f5bf5e8bcdf4b43d32c6f02741b which points to core commit: commit 8477bbf8d6867e656b8132f0ddd682d08590a547 author Caolán McNamara Wed May 13 16:57:07 2020 +0100 committer Caolán McNamara Thu May 21 09:53:46 2020 +0200 weld ListBoxControl Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94154 Caolán, can you please have a look?
Confirmed in Version: 7.6.4.1 (X86_64) / LibreOffice Community Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1 CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded