Bug 152987 - "Font Name" drop-down list protrudes from the screen in Qt environment (VCL: qt , kf5)
Summary: "Font Name" drop-down list protrudes from the screen in Qt environment (VCL: ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.0 all versions
Hardware: All Linux (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fonts-Name-Combobox
  Show dependency treegraph
 
Reported: 2023-01-12 09:54 UTC by ksnnkr
Modified: 2023-03-27 13:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ksnnkr 2023-01-12 09:54:23 UTC
Description:
The "Font Name" drop-down list extends below the screen, making it impossible to select a font at the bottom.
My screen resolution is 1366x768, which is the same height as the minimum operating requirements.
I have tested this phenomenon in several environments and found the following

[Kubuntu 22.10 (KDE)]
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Ubuntu package version: 1:7.4.2~rc3-0ubuntu1
Calc: threaded
・Version of KDE Frameworks
5.98.0
・The problem occurs.

[Ubuntu 22.10 (GNOME)]
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Ubuntu package version: 1:7.4.2~rc3-0ubuntu1
Calc: threaded
・The problem does not occur.

[Lubuntu 22.10 (LXQt)]
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: qt5 (cairo+xcb)
Locale: en-US (C.UTF-8); UI: en-US
Ubuntu package version: 1:7.4.2~rc3-0ubuntu1
Calc: threaded
・The problem occurs.

[Debian11 (GNOME)]
Version: 7.0.4.2
CPU threads: 2; OS: Linux 5.10
UI render: default; VCL: gtk3
Locale: ja-JP (ja-JP.UTF8); UI: ja-JP
Debian package version:1:7.0.4-4+deb11u4
Calc: threaded
・The problem does not occur.

[Debian11 (KDE)]
Version: 7.0.4.2
CPU threads: 2; OS: Linux 5.10
UI render: default; VCL: kf5
Locale: en-US (en-US.UTF8); UI: en-US
Debian package version:1:7.0.4-4+deb11u3
Calc: threaded
・The problem occurs.

I consulted ask.libreoffice.org about this problem and was told to make the "ListBoxMaximumLineCount" smaller than the standard 25. (https://ask.libreoffice.org/t/topic/85359/3)
However, this is not suitable for general use, since it is an Advanced Setting and the same value works fine in other environments.
Therefore, it is desirable that the vertical size be automatically reduced as in other environments, or that "ListBoxMaximumLineCount" be set to fit within the screen even with minimum operating requirements as default.

Steps to Reproduce:
1.Start Libreoffice Writer,Calc,Impress or all other application use same "Font Name"drop-down list.
2.Click "Font Name"drop-down list (Need a sufficient number of fonts.)
3.

Actual Results:
The drop-down list extends beyond the bottom edge of the screen.

Expected Results:
Drop-down lists are sized to fit on the screen.
(screenshot → https://ask.libreoffice.org/uploads/asklibo/original/3X/e/1/e13a737aecc8ab35b8ca2f3be087d9e61d280902.png)


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Ubuntu package version: 1:7.4.2~rc3-0ubuntu1
Calc: threaded
Comment 1 Robert Großkopf 2023-01-12 15:23:38 UTC
Resolution here is 1920 * 1080.
25 lines in listbox for fonts will be shown.
There will be needed a height of 864 pixel to show all this fonts together with Menubar and symbols. It will be 780 pixel only for the listbox and it's shown content.
So there won't be shown all content in a height of 768 pixel.
See https://www.libreoffice.org/get-help/system-requirements/ for the requirements.
It would be better to read the height of the writer window and produce a height, which could be shown well.

I will set this bug to new.

Tested with
Version: 7.4.4.2 / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

on OpenSUSE 15.3 64bit rpm Linux