Bug 444076

Summary: First icon in icons-only task manager is distorted when forcing app that wants to block compositing to not block compositing
Product: [Plasma] kwin Reporter: David <david.cortes.rivera>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nate
Priority: NOR    
Version: 5.23.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: icon_out_of_place

Description David 2021-10-20 02:56:27 UTC
SUMMARY
If I have some application which would usually cause kwin to disable compositing, but I have this app configured with window and app rules to not block compositing, the first icon in the icons-only task manager will look distorted (see picture).

STEPS TO REPRODUCE
1. Launch some app that would usually block compositing (such as tauon music player), but set window and app rules for it to not block compositing. Perhaps restart the app if necessary for these rules to kick in.
2. Start launching apps so that the icons-only task manager gets more icons until it needs to shrink them.
3. Watch the first icon in the task manager.

OBSERVED RESULT
Icon is distorted (only the first one, rest are Ok).

EXPECTED RESULT
Icon should render normally.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10

ADDITIONAL INFORMATION
Comment 1 David 2021-10-20 03:03:42 UTC
Created attachment 142649 [details]
icon_out_of_place

Example of distorted icon. As soon as I close the app with rules, this icon suddenly becomes normal.
Comment 2 David 2021-10-20 04:42:04 UTC
As yet another issue, the top corners of system notification pop-ups are not rounded while there's a running app with these rules. The issue with the first icon and with non-rounded notification corners will BTW persist even if said app does not have a window (just minimized in the system tray).
Comment 3 David Edmundson 2023-09-06 10:38:41 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.