Bug 479968 - At 100% scale, cursor size preview can escape the combo box bounds
Summary: At 100% scale, cursor size preview can escape the combo box bounds
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_cursortheme (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-18 00:59 UTC by guimarcalsilva
Modified: 2024-01-21 18:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments
New cursor sizes don't fit combo box (43.05 KB, image/png)
2024-01-18 00:59 UTC, guimarcalsilva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guimarcalsilva 2024-01-18 00:59:49 UTC
Created attachment 164994 [details]
New cursor sizes don't fit combo box

SUMMARY
Mouse size preview can escape the combo box bounds. Check the attached screenshot for details.

STEPS TO REPRODUCE
1. Open kcm_cursortheme
2. Click on the "Size" combo box

OBSERVED RESULT
Big previews escape the combo box 

EXPECTED RESULT
The size combo box should be wider to accommodate bigger previews

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Comment 1 Nate Graham 2024-01-18 20:12:46 UTC
Can reproduce only with a scale factor of 100%. When using any other scale factor (testes 110%, 200%, and 225%), I can't reproduce the issue.
Comment 2 fanzhuyifan 2024-01-19 00:27:35 UTC
I see this with scaling factors other then 100%. However I do have a default system font of 14pt. Not sure if that is related.
Comment 3 Bug Janitor Service 2024-01-21 04:44:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3797
Comment 4 fanzhuyifan 2024-01-21 18:06:43 UTC
Git commit 4e2db8ffaa79ed7398c43f5d603f047c17b99ba9 by Yifan Zhu.
Committed on 21/01/2024 at 18:00.
Pushed by fanzhuyifan into branch 'master'.

kcms/cursortheme: scale combox to fit largest size
FIXED-IN: 6.0

M  +20   -0    kcms/cursortheme/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/4e2db8ffaa79ed7398c43f5d603f047c17b99ba9
Comment 5 fanzhuyifan 2024-01-21 18:55:40 UTC
Git commit f11f2b719351a02bf8de27fcb8718dd255ec5dcd by Yifan Zhu.
Committed on 21/01/2024 at 19:07.
Pushed by fanzhuyifan into branch 'Plasma/6.0'.

kcms/cursortheme: scale combox to fit largest size
FIXED-IN: 6.0


(cherry picked from commit 4e2db8ffaa79ed7398c43f5d603f047c17b99ba9)

M  +20   -0    kcms/cursortheme/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/f11f2b719351a02bf8de27fcb8718dd255ec5dcd