Bug 459470

Summary: Arrow too close to text in "Sort" dropdown menu button
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Justin Zobel <justin.zobel>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, aleixpol, kde, nate, noahadvs, notmart
Priority: NOR Keywords: regression
Version First Reported In: 5.98.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.99
Sentry Crash Report:
Attachments: Screenshot

Description Justin Zobel 2022-09-21 02:55:54 UTC
Created attachment 152299 [details]
Screenshot

Discover's Sorter in the top right corner has a few pixels cutoff due to the dropdown arrow.

1. Open Discover
2. Chose a category on the left sidebar
3. See pixels in g cutoff
4. Cry
5. Report bug to Aleix
Comment 1 Nate Graham 2022-09-21 02:57:32 UTC
Can confirm.
Comment 3 Aleix Pol 2022-09-21 17:33:17 UTC
Git commit a6612fb3288ecf11b596ebe777594fd5450b7c81 by Aleix Pol.
Committed on 21/09/2022 at 12:53.
Pushed by ngraham into branch 'master'.

ToolButton: Do not layout for the icon when it's not set

It shouldn't be necessary to specify the TextOnly display. Skipping
setting the icon should be enough.

M  +3    -2    org.kde.desktop/ToolButton.qml
M  +14   -0    tests/ToolButton.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/commit/a6612fb3288ecf11b596ebe777594fd5450b7c81