Bug 148771 - UI: font sizes drop-down should show on open: the actual size, above the actual size 4 smaller sizes, below the larger sizes.
Summary: UI: font sizes drop-down should show on open: the actual size, above the actu...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: low minor
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.4.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-04-25 13:26 UTC by Peter Mandrella
Modified: 2022-05-05 19:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Bibisect log (2.62 KB, text/plain)
2022-04-26 20:14 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Mandrella 2022-04-25 13:26:12 UTC
Description:
When opening the drop-down list for font size selection e.g. in Calc or Write, it often shows only lager font sizes, so that selecting a smaller font size needs additional input.

Steps to Reproduce:
1. Format some Calc cell with a 10 pt font (which may be the default).
2. Try to change the font size to 8 pt via drop-down list in the symbol bar.

Actual Results:
The font size selctor shows only the equal and larger font sizes. For decreasing instead of increasing the font size, you additionaly must either

- move the left finger onto the mouse whell
- scroll up
- move the left finger back 

or

- point and click onto the scroll bar
- scroll up
- move the mouse pointer back to the left.


Expected Results:
Always show some larger *and* some smaller font sizes (if available) when opening the drop-down list.


Reproducible: Always


User Profile Reset: No



Additional Info:
I am aware of the Ctrl + [ and Ctrl + ] shortcuts for changing the font size. Sometimes this helps, but often it interrupts a mouse workflow - move two hands to the appropriate keys, than at least the mouse hand back where it was.

This may be considered a neglectable cosmetic issue, but ... if you have to de- and increase the font size of dozends of Calc cells day by day, like me, it gets really annoying. Should be easy to fix.
Comment 1 Telesto 2022-04-25 18:37:19 UTC
1. Open Writer
2. Set font size to 10.5
3. click on the drop down again (should be 4 entry's with smaller font 7, 8, 9 and 10 visible)

Confirm (no entry's)
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4659fc2f0a7223a89446edff0b77e58758b5edf5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL

also in
Version: 7.0.0.0.beta1+ (x64)
Build ID: 2891e91a513520d68ea2b8c59c14335861a15253
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL

fine with
Version: 6.4.0.0.beta1+ (x64) (4 entry's before)
Build ID: 20be5cd0bdc57d812bf34a2debfe48caa51de881
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 2 Telesto 2022-04-26 20:14:19 UTC
Created attachment 179788 [details]
Bibisect log

Bisected to:
author	Caolán McNamara <caolanm@redhat.com>	2020-02-04 11:34:29 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2020-02-06 12:26:37 +0100
commit 8950cb8ae6a1621729ec43a6dd1c29cf04260797 (patch)
tree 2f0a50e6778ab425813ad626e634cd8b233514ca
parent 415c1b05242b80ca883596952caa0e179a07b409 (diff)
weld SvxFontSizeBox_Impl
which enables making a native gtk widget a member of a toolbar

This widget wants to distinguish between a value getting selected
by the menu or not, which is fairly tricky
Comment 3 Telesto 2022-04-26 20:15:03 UTC
Adding CC: to Caolán McNamara
Comment 4 Caolán McNamara 2022-05-05 13:29:06 UTC
https://gerrit.libreoffice.org/c/core/+/133893 is my solution for this
Comment 5 Commit Notification 2022-05-05 19:42:54 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d66fb70959b13dd822664867c363591b2c401767

tdf#148771 in scrollable dropdowns show some lines before selected entry

It will be available in 7.4.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.