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

            Bug ID: 512398
           Summary: Window contents lags one frame after the server-side
                    decorations during focus change
    Classification: Plasma
           Product: kwin
      Version First 6.5.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: decorations
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 186997
  --> https://bugs.kde.org/attachment.cgi?id=186997&action=edit
A demonstration of the quirk with kwrite

SUMMARY
When focus state changes for an app with server-side decoration, the window
contents take a frame longer than the decoration to reflect the new state. This
causes a visual discrepancy which lasts one frame.

STEPS TO REPRODUCE
1. Open an application with server-side decoration (`kwrite` is a good
example).
2. Change the focus state for a window (by clicking on the desktop, or by
focusing other windows).
3. Observe the quirk.

OBSERVED RESULT
Window contents update colours a frame after the decoration. The illusion of
the window contents and the decoration being the same surface is broken.

EXPECTED RESULT
Window contents and the decoration update uniformly on the same frame.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-10300H CPU @ 2.50GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650

ADDITIONAL INFORMATION
I'm not sure whether this is a Qt issue, a decoration issue, or something else
entirely. Perhaps this can be solved by delaying the decoration update by one
frame?

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

Reply via email to