Bug 150524 - Cannot traverse entire font lists in combo box with Windows scaling, the widget extends off display
Summary: Cannot traverse entire font lists in combo box with Windows scaling, the widg...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.8.0
Keywords:
: 144803 162383 (view as bug list)
Depends on:
Blocks: Sidebar-Properties-Style Fonts-Name-Combobox
  Show dependency treegraph
 
Reported: 2022-08-20 18:10 UTC by xordevoreaux
Modified: 2025-05-12 20:35 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
sidebar (69.77 KB, image/png)
2022-08-20 18:11 UTC, xordevoreaux
Details
ps1 demo of drop down covers combo box (4.82 MB, video/mp4)
2024-08-17 23:32 UTC, Jim Raykowski
Details
ps2 demo of drop down displayed to right or left of combo box (5.93 MB, video/mp4)
2024-08-17 23:33 UTC, Jim Raykowski
Details
sample png (122.27 KB, image/png)
2025-05-12 09:11 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xordevoreaux 2022-08-20 18:10:32 UTC
Description:
I increased my font size in Windows to see better (Windows Options, Ease of Access).

In the properties sidebar in LO, I cannot reach the bottom of the menu for the font list. Even arrowing down does not get me there.

Steps to Reproduce:
1. In Windows, Select go to Settings, Ease of Access
2. On the "Make text bigger" option, move the slider to the right by 1/8th.
3. Launch LO Draw
4. Expose the properties sidebar (View, Sidebar)
5. If you have a lot of typefaces, the bottom of the list will be cut off.

Actual Results:
Cannot traverse the entire typeface list

Expected Results:
The typeface combo box should scroll all the way down the list, not get tangled up with the windows task bar at the bottom.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4c96abd81460977d413d4d28e891bbbac5769ede
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 xordevoreaux 2022-08-20 18:11:08 UTC
Created attachment 181916 [details]
sidebar
Comment 2 V Stuart Foote 2022-08-20 20:04:00 UTC
Confrimed, 
Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

and on recent master daily

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5ac75131556b687a01517ce4520a05bb49c1d840
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

but this is not limited to Windows 'Ease of access' assistive technoloy. And not Sidebar only, it affects layout of all listboxes holding fonts with 'Show preview of fonts' enabled (the default).

Windows 'Ease of Access' is directing user to either Scale UI elements with fonts for the "Make text bigger", or to apply a simple scaling factor for "Make everything bigger"; both

The issue actually seems to be that is the listboxes holding Fonts are being scaled at a different amount to the rest of the LO UI. When UI is scaled the listboxes are not being resized to fit, and extend off the display.

Some relief is available by turning off the font previews (Tools -> Options -> View "Font lists" 'Show preview of fonts').

STR
1. set Windows -> System -> Display "Scale and layout" to 175%
   allow desktop to scale
2. open Windows build (7.3.5 or master against 7.5)
3. open writer
4. from the 'Formatting' toolbar, use the selection triangle to open the listbox
   note the listbox extends to bottom of display, and logically off the display
5. use cursor to scroll the highlighted font down
   note at the bottom of the shown listbox that selection continues off the display
6. likewise openthe Sidebar properties deck and in the Character content panel
   use the selection triangle to open the listbox and note it extends off display

The running off the display can be reduced by turning off the 'Show preview of fonts' from Tools -> Options -> View "Font Lists" entry. That reduces the total height of the listboxes

But even with font preview turned off the listboxes seem too high when Windows DE is in a scaled mode and exceed the bounds of the LibreOffice application frame.  Dialogs are not affected; but listboxes attached to toolbar or in Sidebar or Notebook Bar are. Seems like something is needed to control their size--they already have scroll bar and thumb but they still get too tall.
Comment 3 V Stuart Foote 2024-08-11 17:27:33 UTC
*** Bug 162383 has been marked as a duplicate of this bug. ***
Comment 4 V Stuart Foote 2024-08-12 04:43:37 UTC Comment hidden (obsolete)
Comment 5 Jim Raykowski 2024-08-17 23:32:09 UTC
Created attachment 195880 [details]
ps1 demo of drop down covers combo box

https://gerrit.libreoffice.org/c/core/+/171966/1
Comment 6 Jim Raykowski 2024-08-17 23:33:40 UTC
Created attachment 195881 [details]
ps2 demo of drop down displayed to right or left of combo box

https://gerrit.libreoffice.org/c/core/+/171966/2
Comment 7 Commit Notification 2025-02-21 22:37:42 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3c8bf431e33ed367d83370eb5a44b6adca284ed4

tdf#150524 Cannot traverse entire font lists in combo box with

It will be available in 25.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 8 Michael Weghorn 2025-02-22 09:01:02 UTC
*** Bug 144803 has been marked as a duplicate of this bug. ***
Comment 9 nobu 2025-05-12 09:11:02 UTC
Created attachment 200753 [details]
sample png


If the taskbar is fixed, the last font name may not be visible.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9bc5b89c149497a83117edfadc3fb0b96d2f9899
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded
Comment 10 V Stuart Foote 2025-05-12 12:31:10 UTC
(In reply to nobu from comment #9)
> Created attachment 200753 [details]
> sample png
> 
> 
> If the taskbar is fixed, the last font name may not be visible.
> 
> Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 9bc5b89c149497a83117edfadc3fb0b96d2f9899
> CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster;
> VCL: win
> Locale: ja-JP (ja_JP); UI: ja-JP
> Calc: CL threaded

Hmm, I can not reproduce. Trying Win11 "Make text size bigger" UI text scaling for ranges at 100%, 150%, 175% and 200%.  The list box would always follow the new placement behavior--extend to full os/DE height less the Win Taskbar if set always shown/no-hide--and LibreOffice would not hide any portion of the Font preview listbox for any position of the appframe.

Likewise if I increased the os/DE System -> Display -> Scale scaling factor from 150% to 200%, or 250%. The listbox content of font previews always is sized so as to fit within available display (even if beyond the LO app frame).

Please explain the install in use in clip attachment 200753 [details] -- that is not the standard Calc Formatting bar and I don't recognize an extension you may have installed. How would we duplicate?

=-testing-=

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3ab82581e5a5abc03c7ff06eac76a0b2fa0c9c34
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 11 nobu 2025-05-12 20:35:06 UTC
(In reply to V Stuart Foote from comment #10)
> Hmm, I can not reproduce.

The cause of my problem seems to be due to multiple displays.
When you use one display, all font lists will be displayed.