Bug 434129 - IOTM icon background glitshes out at random when cursor is over a Flatpak Teams window
Summary: IOTM icon background glitshes out at random when cursor is over a Flatpak Tea...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.21.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 07:31 UTC by Reiddragon
Modified: 2021-04-21 10:21 UTC (History)
2 users (show)

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


Attachments
screenshot showing the glitch in action (5.20 KB, image/png)
2021-03-08 07:32 UTC, Reiddragon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reiddragon 2021-03-08 07:31:43 UTC
SUMMARY
IOTM background glitches out at random, seems to be tied to Teams, possibly other flatpaks too (however I haven't been able to reproduce it with Discord or Telegram so Teams seems the most likely trigger)
Also seems to only happen in themes that support the 5.21 margins as I haven't seen this when using old themes that don't support the new margins
(No foolproof way to reproduce it unfortunately, just some possible triggers and conditions to let the bug happen)

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
check attachment

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Reiddragon 2021-03-08 07:32:20 UTC
Created attachment 136477 [details]
screenshot showing the glitch in action
Comment 2 Nate Graham 2021-03-08 20:11:47 UTC
Whoa, that is weird. Seems like a cache corruption issue.

Does the issue disappear completely if you clear your plasma cache with `rm ~/.cache/plasma*`?
Comment 3 Reiddragon 2021-03-09 13:05:44 UTC
(In reply to Nate Graham from comment #2)
> Whoa, that is weird. Seems like a cache corruption issue.
> 
> Does the issue disappear completely if you clear your plasma cache with `rm
> ~/.cache/plasma*`?

unfortunately it's not particularly consistent, and might not be related to the cached Plasma theme getting corrupted as last time I managed to trigger the bug it was tied to a single virtual desktops, all others were completely fine
Also not sure if it will help much but disabling and reenabling the compositor fixes it for whatever reason (or maybe that was just a coincidence, I don't know as I haven't been able to find a consistent way to reproduce it in order to triage it properly and see what exactly is the trigger
So far pretty much the only constant I managed to find is Teams always being around when the bug glitch in
Comment 4 Nate Graham 2021-03-09 15:54:36 UTC
OK so compositing being enabled is a factor. That makes me suspect cache issues even more, since different SVGs are used depending on the compositing status. Please try clearing the plasma cache and restarting plasmashell the next time it happens. Thanks!
Comment 5 Reiddragon 2021-03-10 08:57:23 UTC
(In reply to Nate Graham from comment #4)
> OK so compositing being enabled is a factor. That makes me suspect cache
> issues even more, since different SVGs are used depending on the compositing
> status. Please try clearing the plasma cache and restarting plasmashell the
> next time it happens. Thanks!

Just managed to reproduce it, turns it out's not related to compositing after all as I disabled the compositor and it's still there
Wiping the cache didn't help either
Comment 6 Nate Graham 2021-03-10 14:14:21 UTC
Cool, thanks for the update. What kind of graphics hardware are you using?
Comment 7 Reiddragon 2021-03-10 20:45:13 UTC
(In reply to Nate Graham from comment #6)
> Cool, thanks for the update. What kind of graphics hardware are you using?

Intel UHD
Comment 8 Nate Graham 2021-03-11 18:20:49 UTC
Thanks. Are you using a non-default Plasma theme? Any other non-default settings at all?
Comment 9 Reiddragon 2021-03-12 18:49:42 UTC
(In reply to Nate Graham from comment #8)
> Thanks. Are you using a non-default Plasma theme? Any other non-default
> settings at all?

added a sticky note and memory usage plasmoid, removed the show desktop plasmoid, and using a custom colorscheme, otherwise it's completely stock
Comment 10 Reiddragon 2021-04-21 10:21:38 UTC
New update: seems to happen pretty consistently on all but the first virtual desktop, meanwhile Teams seems to not be related with any of it, at least not anymore