Bug 455812 - "Use accent color from current wallpaper" causes visual glitches when the wallpaper is automatically changed by a slideshow
Summary: "Use accent color from current wallpaper" causes visual glitches when the wal...
Status: RESOLVED DUPLICATE of bug 467381
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_colors (other bugs)
Version First Reported In: 5.25.0
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 21:16 UTC by Keith
Modified: 2024-09-17 09:51 UTC (History)
10 users (show)

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


Attachments
Visual glitches in the header (tab) bar of Brave web browser with system GTK+ theme (17.66 KB, image/jpeg)
2022-09-30 13:51 UTC, Sadi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keith 2022-06-22 21:16:33 UTC
SUMMARY
When combining a slideshow wallpaper with the "Use accent color from current wallpaper" option, panels and windows stutter and flash every time a wallpaper change occurs, and don't apply the new accent color in certain cases.

STEPS TO REPRODUCE
1. Go to "Configure Desktop and Wallpaper..." and set the wallpaper type to "Slideshow".
2. Under Appearance - Colors, tick "Use accent color from current wallpaper".
3. Open various applications (particularly ones which show icons that inherit the current accent color) and watch.

OBSERVED RESULT
Every time the wallpaper changes, the panel and dock flash opaque, the window shadow becomes far darker for a moment, and various other graphical glitches occur. Additionally, certain icons (in this case, folder icons with thumbnails) don't update to reflect the new accent color, while others do.

See https://ttm.sh/wGR.mp4 (the video is too large to be uploaded here)

EXPECTED RESULT
The entire UI transitions seamlessly to the new accent color, with no visual jankiness in between. (To the extent possible - I imagine it'd be difficult to get GTK interfaces, for instance, to work with this.)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux
(available in About System)
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-06-23 13:58:15 UTC
> Every time the wallpaper changes, the panel and dock flash opaque, the window shadow
> becomes far darker for a moment, and various other graphical glitches occur
I have a feeling something is refreshing KWin when the wallpaper changes. Does the issue happen when Latte Dock isn't running? If not, then the issue is caused by Latte Dock manually refreshing KWin when the wallpaper changes.

> Additionally, certain icons (in this case, folder icons with thumbnails) don't update to reflect
> the new accent color, while others do.
This is a separate bug; see Bug 454049.
Comment 2 Keith 2022-06-23 15:27:11 UTC
(In reply to Nate Graham from comment #1)
> > Every time the wallpaper changes, the panel and dock flash opaque, the window shadow
> > becomes far darker for a moment, and various other graphical glitches occur
> I have a feeling something is refreshing KWin when the wallpaper changes.
> Does the issue happen when Latte Dock isn't running? If not, then the issue
> is caused by Latte Dock manually refreshing KWin when the wallpaper changes.

Yep, I just tested it without Latte Dock and that refresh is still occurring on every wallpaper change. (Also, as I'm writing this, I *just* noticed that the refresh also freezes the window contents for a moment before fading into the new content. I didn't catch that initially, but it's worth mentioning as it makes the transition extremely jarring and disorienting.)

> > Additionally, certain icons (in this case, folder icons with thumbnails) don't update to reflect
> > the new accent color, while others do.
> This is a separate bug; see Bug 454049.

Ah - my bad, I thought this might be a system-wide issue, as it also happens in the Plasma desktop folder view. But I guess that's handled by the same code Dolphin uses?
Comment 3 Bug Janitor Service 2022-07-08 04:36:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Nate Graham 2022-07-12 16:33:53 UTC
(In reply to Keith from comment #2)
> Ah - my bad, I thought this might be a system-wide issue, as it also happens
> in the Plasma desktop folder view. But I guess that's handled by the same
> code Dolphin uses?

The code is actually different.

Is this still happening in Plasma 5.25.3?
Comment 5 Keith 2022-07-15 23:40:55 UTC
(In reply to Nate Graham from comment #4)
> (In reply to Keith from comment #2)
> > Ah - my bad, I thought this might be a system-wide issue, as it also happens
> > in the Plasma desktop folder view. But I guess that's handled by the same
> > code Dolphin uses?
> 
> The code is actually different.
> 
> Is this still happening in Plasma 5.25.3?

Yes - I just emerged the 5.25.3 update and can confirm that the bug is still present, with or without Latte Dock running. The only thing that has gone away is the header bar colour not matching the rest of the UI (which I believe was reported in a separate bug).
Comment 6 Nate Graham 2022-07-18 20:35:29 UTC
Ultimately we should probably turn off the Blend effect when using slideshow wallpapers, as it causes other problems too. That would fix this.
Comment 7 Nate Graham 2022-07-18 20:35:39 UTC
*** Bug 455501 has been marked as a duplicate of this bug. ***
Comment 8 Sadi 2022-09-30 13:50:50 UTC
I don't know if this could be related to bug 414097 which is about the icon color of some folders in Dolphin not automatically changing with accent color changes.
Other than that, I also experience visual glitches in the header (tab) bar of Brave web browser with system GTK+ theme.  Sometimes its color changes only partially, sometimes it doesn't change at all, until I click on it. Hovering on it also causes a similar partial change, again until I click on it (as seen in the screenshot attached). This doesn't happen in other apps using GTK theme like LibreOffice, Thunderbird, Palemoon web browser, etc.
Note: I would very much prefer living with these minor visual glitches to losing this very attractive dynamic accent color feature though. ;-)
Comment 9 Sadi 2022-09-30 13:51:38 UTC
Created attachment 152523 [details]
Visual glitches in the header (tab) bar of Brave web browser with system GTK+ theme
Comment 10 Nate Graham 2022-09-30 15:19:48 UTC
That's a separate issue; see Bug 456874.
Comment 11 Clay Weber 2022-10-29 21:11:04 UTC
I see similar stutters using accent colors and slideshows on Plasma 5.26, on KDE neon. It is noticeable as Video playback monetarily pauses/skips during wallpaper changes.

I don't have Latte Dock installed

Disabling accent color from current wallpaper stops the behavior.
Comment 12 Nate Graham 2022-12-17 19:52:36 UTC
This was fixed for the case of full-screen video by not playing the transition effect for full-screen windows.

Still a (now more minor) issue for other things.
Comment 13 Felix Fischer 2023-10-18 16:17:00 UTC
Just encountered this issue myself, running Arch Linux with KDE Plasma 5.27.8 on X11.

Since the original video link does not work any more, I recorded mine here: https://nc.felixf.eu/s/RKH9BYFf95QdLeo.
I am simply cycling back and forth between two wallpapers. You can also see my system load and a video running in the corner (firefox), which visibly stutters when the orange wallpaper is set. CPU load increases dramatically, even from applications like vorta (backup, not running) that should not be doing anything.

I am also using the "Use accent colour from current wallpaper" option, however it only happens on certain wallpapers (I use variety to cycle them on every reboot or manually like in the video). 
This is the wallpaper causing the issue: https://nc.felixf.eu/s/JnjJLZraiZCFCff
This one works fine: https://nc.felixf.eu/s/HzjaENc3RXq95oS
Comment 14 David Edmundson 2024-09-17 09:51:56 UTC

*** This bug has been marked as a duplicate of bug 467381 ***