Bug 366610

Summary: Show active shadow for new focused window without flicker under Wayland
Product: [Plasma] kwin Reporter: Matthias Fauconneau <matthias.fauconneau>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: attachment-25988-0.html

Description Matthias Fauconneau 2016-08-10 20:37:58 UTC
Opening a new window (zb an About dialog) exhibits a flickering of the shadow from inactive (black) to active (blue).
Even with Instant animation and window decorations animation disabled (not sure if those settings work correctly though because Compositor changes crashes Kwin).
No workarounds possible as it seems shadows cannot be disabled.

Reproducible: Always
Comment 1 Martin Flöser 2016-08-11 05:49:42 UTC
That's with Oxygen window decoration? I never saw it, might be due to Breeze only having a black shadow.
Comment 2 Matthias Fauconneau 2016-08-11 06:04:44 UTC
Created attachment 100535 [details]
attachment-25988-0.html

Indeed, this is only with Oxygen.
So switching to Breeze is a workaround for this bug.

On Thu, Aug 11, 2016 at 5:49 AM, Martin Gräßlin via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=366610
>
> --- Comment #1 from Martin Gräßlin <mgraesslin@kde.org> ---
> That's with Oxygen window decoration? I never saw it, might be due to
> Breeze
> only having a black shadow.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Martin Flöser 2016-08-11 07:03:09 UTC
I tried with Oxygen and sometimes saw this.
Comment 4 Martin Flöser 2016-09-15 13:32:32 UTC
I just tried again and are no longer seeing it - though it might be that it's too fast to notice.

But we also have one change in 5.8 which might have fixed it: 089059aba38cf0aab1e625ed4fdacb259aa25f97

If you still see it in Plasma 5.8 please reopen.