Bug 167156 - Options->Appearance Dropdowns do not resize to fit
Summary: Options->Appearance Dropdowns do not resize to fit
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Options-Dialog UI-Theming LibreOffice-Themes
  Show dependency treegraph
 
Reported: 2025-06-22 12:05 UTC by Mihai Vasiliu
Modified: 2025-06-23 14:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Dropdown size cropped (46.87 KB, image/png)
2025-06-22 12:05 UTC, Mihai Vasiliu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Vasiliu 2025-06-22 12:05:26 UTC
Description:
The dropdown boxes in the Tools->Options->Appearance page do not scale to fit the longest text possible. This results in cropped text.

Steps to Reproduce:
1. Open LibreOffice and go to Tools->Options->Appearance
2. Make sure you have some custom themes installed such as Office 2003 Blue, or just look at the dropdown below under Icons

Actual Results:
Notice that the dropdown crops the text and does not scale to fit the whole text displayed. See screenshot attached.

Expected Results:
When opening the dialog, the dropdown boxes should automatically be resized to fit the longest text from thier respective options.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a06689b1711e1f200afd4a4492341f337ba99082
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: CL threaded
Comment 1 Mihai Vasiliu 2025-06-22 12:05:50 UTC
Created attachment 201410 [details]
Dropdown size cropped
Comment 2 V Stuart Foote 2025-06-23 14:07:38 UTC
Won't this be very dependent users on os/DE UI element scaling?

On Windows at 100% text size, or 100% display scale--NO Issues (if anything the dialogs are too wide).

Only when Accessibility 'Text Size' is increased past 175%, or when System -> Display is increased past 250%, or a mix with Custom scaling, does the text even come close to overflowing the scaled size of the listbox and button.

Your clip shows a rather high ration of text size to UI scale.  What os/DE and how have you set scaling?
Comment 3 Mihai Vasiliu 2025-06-23 14:40:52 UTC
(In reply to V Stuart Foote from comment #2)
> Won't this be very dependent users on os/DE UI element scaling?
> 
> On Windows at 100% text size, or 100% display scale--NO Issues (if anything
> the dialogs are too wide).
> 
> Only when Accessibility 'Text Size' is increased past 175%, or when System
> -> Display is increased past 250%, or a mix with Custom scaling, does the
> text even come close to overflowing the scaled size of the listbox and
> button.
> 
> Your clip shows a rather high ration of text size to UI scale.  What os/DE
> and how have you set scaling?

You're right. My laptop has a resolution of 2880 x 1800 with 200% scaling on Windows 11.
On 100% scaling the dropdown widths are ok.

It seems that we need to calculate the width in regards to the font size and/or scaling factor to determine the right width.