Bug 162383 - Font selection list overflows out of window and does not adjust its size
Summary: Font selection list overflows out of window and does not adjust its size
Status: RESOLVED DUPLICATE of bug 150524
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fonts-Name-Combobox
  Show dependency treegraph
 
Reported: 2024-08-07 08:49 UTC by Abhishek Deshpande
Modified: 2024-08-12 04:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The list is hiding behind taskbar. (50.60 KB, image/png)
2024-08-07 08:49 UTC, Abhishek Deshpande
Details
List after hiding the taskbar (61.54 KB, image/png)
2024-08-07 08:50 UTC, Abhishek Deshpande
Details
The font list is hiding behind taskbar. (134.70 KB, application/vnd.oasis.opendocument.graphics)
2024-08-07 21:53 UTC, Bogaboga Man
Details
Display settings as recommended (32.97 KB, image/png)
2024-08-12 03:24 UTC, Abhishek Deshpande
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abhishek Deshpande 2024-08-07 08:49:38 UTC
Created attachment 195749 [details]
The list is hiding behind taskbar.

The font selection list seems not to obey resizing and overflows out of windows and thus beyond the taskbar. The only way to prevent this is to hide the taskbar automatically, so as to access the fonts listed beyond it. Please view the attached screenshots.

I am using LibreOffice on 1280 x 800 resolution, which is sufficient for minimum requirements.

Interestingly, I have seen this issue previously on Linux Mint, but that was a long ago.

Expected behaviour is that the font selection list must resize itself appropriately to prevent itself overflowing below the taskbar.
Comment 1 Abhishek Deshpande 2024-08-07 08:50:37 UTC
Created attachment 195750 [details]
List after hiding the taskbar
Comment 2 Bogaboga Man 2024-08-07 21:53:43 UTC
Created attachment 195761 [details]
The font list is hiding behind taskbar.

I can confirm and reproduce. Example file is attached. My environment below: - 

Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-CA (en_CA); UI: en-GB
Calc: CL threaded
Comment 3 V Stuart Foote 2024-08-11 17:27:33 UTC
The 1024px x 768px project supported display resolution *is* dependent on the scaling factor of Desktop Environment, WDM on Windows. 

So at 100% scale factor the full height of the Font list box is just 675px and will fit within an 800px display height.

Such that if the DE, or just the font, is scaled it can overflow an 800px display.

Reduce DE/font scaling to 100%, it will fit.

*** This bug has been marked as a duplicate of bug 150524 ***
Comment 4 Abhishek Deshpande 2024-08-12 03:24:46 UTC
Created attachment 195802 [details]
Display settings as recommended
Comment 5 Abhishek Deshpande 2024-08-12 03:38:25 UTC
What you are telling is right, but, I am already using my WDM at the default 100% scaling factor. See the newly attached image. Currently, the only solution I found is to change the ListBoxMaximumLineCount setting to 15.

Let me provide my version info -
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-IN (en_IN); UI: en-GB
Calc: CL threaded

and my system is a Dell Optiplex 7060 micro (Intel(R) Core(TM) i3-8100T CPU @ 3.10GHz).
Comment 6 V Stuart Foote 2024-08-12 03:49:14 UTC
Nope, WDM Text Size is independent of the overall display scale.  Toggle exposure arrow of the System -> Display -> Scale panel you've clipped to show the related settings and expose the 'Text Size' (Accessibility -> Text Size) slider. Move that independently toward 100%.

And alternatively, work around within LibreOffice open Tools -> Options -> View and in the 'Font Lists' block uncheck the 'Show previews of fonts'.
Comment 7 V Stuart Foote 2024-08-12 03:50:02 UTC

*** This bug has been marked as a duplicate of bug 152987 ***
Comment 8 Abhishek Deshpande 2024-08-12 04:04:54 UTC
Ohh. So WDM scales text and UI components independently. But, I found that my (Accessability -> Text size) is at its minimum which is 100. I then reset the ListBoxMaximumLineCount to see if anything has changed, but no success.
Comment 9 Abhishek Deshpande 2024-08-12 04:06:33 UTC
As I need the font previews, I cannot switch them off. Anyway, changing line count still helps.
Comment 10 V Stuart Foote 2024-08-12 04:35:22 UTC

*** This bug has been marked as a duplicate of bug 144803 ***
Comment 11 V Stuart Foote 2024-08-12 04:43:37 UTC
Oops, sorry issue on the Win vcl back end is bug 150524; the Linux back ends are bug 144803

*** This bug has been marked as a duplicate of bug 150524 ***