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

            Bug ID: 467032
           Summary: Consider not sending frame callbacks to occluded
                    Windows
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: emi...@crisal.io
  Target Milestone: ---

SUMMARY

Mutter does this, and this allows applications like Firefox to stop the
compositor and throttle timers and animations.

STEPS TO REPRODUCE
1. In the foreground Firefox window, go to the terminal and write
`setInterval(() => console.log(document.hidden), 500)`
2. Maximize a Konsole window on top of Firefox
3. Wait a bit.
4. Return to the Firefox console.

OBSERVED RESULT

Logs `false` every time.

EXPECTED RESULT

Logs true after a while while the window is occluded, then false again.

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

Reply via email to