Bug 436714

Summary: Badge overlay is positioned differently than the sound overlay
Product: [Plasma] plasmashell Reporter: Felipe Kinoshita <kinofhek>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: minor CC: bharadwaj.raju777, nate, plasma-bugs-null
Priority: LO Keywords: junior-jobs
Version First Reported In: master   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.22
Sentry Crash Report:
Attachments: left is the sound overlay, right is the badge overlay

Description Felipe Kinoshita 2021-05-07 00:10:08 UTC
Created attachment 138206 [details]
left is the sound overlay, right is the badge overlay

STEPS TO REPRODUCE
1. make the badge overlay visible (e.g download something from a web browser)

OBSERVED RESULT
Badge overlay is slightly miss positioned.

EXPECTED RESULT
Badge overlay should be on the same position as the sound overlay

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-05-07 19:28:59 UTC
I'm having trouble seeing the problem in your screenshot. Can you describe in more detail what's wrong?
Comment 2 Felipe Kinoshita 2021-05-07 19:35:19 UTC
When comparing the position of the two overlays the badge overlay is some pixels closer to the top and the left, they're not in the same position.
Comment 3 Nate Graham 2021-05-07 19:45:02 UTC
Gotcha. This is probably because the badge overlay is in the top-right corner of the icon, while the playing icon is in the top-right corner of the parent frame around the icon.

Should be a fairly simple fix in the Task Manager code. Would you like to give it a try?
Comment 4 Felipe Kinoshita 2021-05-07 19:46:54 UTC
Sure!