Bug 488677 - User icon is corrupted in application launcher until refreshed
Summary: User icon is corrupted in application launcher until refreshed
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 6.0.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-18 17:01 UTC by Justin Wayland
Modified: 2024-06-20 15:52 UTC (History)
5 users (show)

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


Attachments
Example of garbled user icon (2.27 MB, image/png)
2024-06-18 17:01 UTC, Justin Wayland
Details
Showing the garbled user icon in particular (2.24 KB, image/png)
2024-06-18 17:03 UTC, Justin Wayland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Wayland 2024-06-18 17:01:41 UTC
Created attachment 170600 [details]
Example of garbled user icon

SUMMARY
User icon seems corrupted in application launcher until the user icon is changed

STEPS TO REPRODUCE
1. Reboot
2. Open the application launcher

OBSERVED RESULT
See attachment.

EXPECTED RESULT
Icon should be a smaller version of the one seen in the System Settings

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.4-1
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
Using an AMD iGPU
Comment 1 Justin Wayland 2024-06-18 17:03:43 UTC
Created attachment 170601 [details]
Showing the garbled user icon in particular
Comment 2 Nate Graham 2024-06-19 20:22:01 UTC
This looks to me like GPU driver issue, but we've also seen cache issues with the Kickoff user icon before. CCing some folks with some familiarity with the issue.
Comment 3 ratijas 2024-06-20 05:26:23 UTC
IIRC it is an upstream issue with QtQuick not refreshing the texture buffers after waking up from sleep. Textures would contain a garbage data and need to be redrawn, but QtQuick doesn't realize that and keeps it cached that way until the Item source is changed in a way that requires redrawing it.

This is why KWin has "graphical effects have been reset" notification — to fix the same bug on a window manager level, so that the whole window surfaces and effect's texture won't stay garbled.

So, probably RESOLVED UPSTREAM, but I'll let KWin wizards say it for sure.
Comment 4 Justin Wayland 2024-06-20 15:46:02 UTC
It was, in fact, a GPU driver issue.  I was on Tumbleweed, which has been having issues with the Mesa driver.  A fix was just pushed out that resolved this issue.