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:
Keywords:
: 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: 2024-09-12 06:22 UTC (History)
6 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

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