Bug 488492 - Panel and windows constantly flicker when using a specific tinted color scheme and wallpaper
Summary: Panel and windows constantly flicker when using a specific tinted color schem...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.11
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 09:35 UTC by Peter Fajdiga
Modified: 2024-06-14 16:35 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fajdiga 2024-06-14 09:35:34 UTC
SUMMARY
This bug is related to the color scheme option "Tint all colors with accent color" and using accent color from current wallpaper (a very nice feature, btw).

Panels and windows constantly flicker. This is the same kind of flicker that happens when changing the accent color, except that instead of a single flicker, it flickers continuously.

This is a very finicky bug that happens only with a specific color scheme, wallpaper, and even display settings (details below).

STEPS TO REPRODUCE
1. Set display resolution to 3440x1440.
2. Make sure the display is either the only display or is set as the primary display.
3. Create a new color scheme based on Breeze Light, but with the option "Tint all colors with accent color" checked.
4. Apply the new color scheme.
5. Select and apply the option "Use accent color: From current wallpaper".
6. Set the display's wallpaper to Fallen Leaf by Martin Klapetek (shipped with Plasma).
7. Make sure wallpaper Positioning is set to "Scaled and Cropped".

Note: the order of the steps is not important.

OBSERVED RESULT
The panel and windows start to flicker continuously, as if constantly reapplying the color from the wallpaper.

EXPECTED RESULT
The panel and windows should flicker only once as the color from the wallpaper gets applied.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Graphics Platform: X11

ADDITIONAL INFORMATION
3440x1440 is the native resolution of my external display. If I use any other resolution (larger or smaller, even with the same aspect ratio), the bug isn't triggered. Refresh rate doesn't seem to matter. The bug also doesn't trigger when my laptop's built-in screen is set as the primary one, regardless of the resolution set there (it doesn't support 3440x1440, though).

The accent color is picked from the primary monitor's wallpaper, and it seems that if that wallpaper is Fallen Leaf scaled and cropped to 3440x1440, the bug triggers.
Comment 1 Nate Graham 2024-06-14 16:35:04 UTC
I'm using a screen with a resolution of 3840x2160 rather than 3440x1440, but other than that I've replicated this setup (in fact it's what I normally use on my daily driver) and I can't reproduce the issue in current git master. I think it's safe enough to assume it's been fixed in Plasma 6, as there were numerous changes to the wallpaper color extraction code there.