https://bugs.kde.org/show_bug.cgi?id=438776

            Bug ID: 438776
           Summary: When closing modal dialog and parent fades out from
                    gray, parent flashes gray after dialog closes
           Product: kwin
           Version: 5.22.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: effects-various
          Assignee: kwin-bugs-n...@kde.org
          Reporter: nyanpas...@tuta.io
  Target Milestone: ---

Created attachment 139420
  --> https://bugs.kde.org/attachment.cgi?id=139420&action=edit
Video recording of Kate flashing gray for 1 frame after closing a modal dialog

SUMMARY
If I open and close a dialog box in a Qt app, after the app's parent window
animates from darkened to normal, it flashes dark gray briefly before appearing
normal again.

STEPS TO REPRODUCE
1. Ensure compositing is turned on. In the Desktop Effects settings page,
ensure "Dialog Parent" is checked.
2. Open Kate or Okular (I think any Qt app).
3. Open the "Open" or "Configure" dialog (I think any modal dialog). I
recommend dragging the dialog aside to see the main window better.
4. Click the X button in the dialog's title bar.

OBSERVED RESULT
The main Kate window fades from gray to white, then flashes gray for one frame
before returning to white. (I'm using Breeze widgets with Breeze colors.)

EXPECTED RESULT
The flash of darkened gray does not happen.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2

ADDITIONAL INFORMATION
I discovered this bug on an Arch Linux system on a Nvidia GT 730 with
compositor set to OpenGL 2.0.

I also reproduced it on a libvirt VM running neon-user-20210610-0944.iso, in
XRender compositing mode (to make the animations run at a normal speed instead
of as quickly as possible). I only tested in Okular's open/settings dialogs
(since Kate was not installed). Slowing down KDE animations may or may not make
the flash more evident.

I think this is a recent bug that was not present a few weeks ago (5.21.90 was
probably unaffected, 5.22.0 may have been unaffected).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to