Bug 436714 - Badge overlay is positioned differently than the sound overlay
Summary: Badge overlay is positioned differently than the sound overlay
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: master
Platform: openSUSE Linux
: LO minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2021-05-07 00:10 UTC by Felipe Kinoshita
Modified: 2021-05-18 16:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22
Sentry Crash Report:


Attachments
left is the sound overlay, right is the badge overlay (2.76 KB, image/png)
2021-05-07 00:10 UTC, Felipe Kinoshita
Details

Note You need to log in before you can comment on or make changes to this bug.
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!