Bug 400475 - Windows flash (flicker) when closed
Summary: Windows flash (flicker) when closed
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 5.14.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 10:04 UTC by Krešimir Čohar
Modified: 2018-10-30 10:17 UTC (History)
0 users

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


Attachments
the bug in action (1.88 MB, video/x-matroska)
2018-10-30 10:04 UTC, Krešimir Čohar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krešimir Čohar 2018-10-30 10:04:38 UTC
Created attachment 115977 [details]
the bug in action

SUMMARY
Windows exhibit a flash (short flicker) when closed and the Scale or Glide desktop effect is turned on.  

STEPS TO REPRODUCE
1. Turn on Glide or Scale in System Settings under Desktop Effects
2. Load a busy program (for my purposes it was Audacity, after loading and playing a random audio file). This bug is not always reproducible, may not even occur with Audacity in particular, is not specific to GTK or Qt, and does *not* occur in Wayland.
3. Close the window.

OBSERVED RESULT
Window renders desktop effect (Slide or Glide) properly and closes, then the window is reopened for a split second, and its contents emit a white flash before disappearing, see included attachment.

EXPECTED RESULT
Window renders desktop effect (Slide or Glide) properly and closes.

SOFTWARE VERSIONS
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Appeared in 5.14.0, still present as of 5.14.2.
Comment 1 Vlad Zahorodnii 2018-10-30 10:08:43 UTC
The cause for that is the Dialog Parent effect. It's been fixed in 5.15. We can't backport the fix to 5.14.x because the fix is quite big and we need more testing.

But for now, you could disable the Dialog Parent effect and when 5.15 is released turn it on back.
Comment 2 Krešimir Čohar 2018-10-30 10:17:19 UTC
(In reply to Vlad Zagorodniy from comment #1)
> The cause for that is the Dialog Parent effect. It's been fixed in 5.15. We
> can't backport the fix to 5.14.x because the fix is quite big and we need
> more testing.
> 
> But for now, you could disable the Dialog Parent effect and when 5.15 is
> released turn it on back.

nice!