Bug 405153

Summary: "Cancel" button is cut off when fractional display scaling is used
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.15.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.16.0
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2019-03-06 20:31:50 UTC
Created attachment 118607 [details]
screenshot

STEPS TO REPRODUCE
1. open system settings > display and monitor > scale display and set display scaling factor to 1.2 
2. restart plasma
3. open discover, click on some app category in the side bar
4. click on "Install" button of some app listed

OBSERVED RESULT
while the package is downloaded, we can see a button named "Cance" instead of "Cancel" and its icon is cut off. See the screenshot please.

EXPECTED RESULT
button named "Cancel", its icon is not cut off.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 1 Patrick Silva 2019-05-17 16:37:37 UTC
I can't reproduce with Plasma 5.16 beta.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0 beta3
Comment 2 Nate Graham 2019-05-17 16:44:05 UTC
Yep, we fixed this.