Bug 57120 - DPMS does not cause VisibilityNotify events
Summary: DPMS does not cause VisibilityNotify events
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2012-11-14 15:48 UTC by Oliver Henshaw
Modified: 2018-12-13 22:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Oliver Henshaw 2012-11-14 15:48:16 UTC
According to http://www.x.org/releases/X11R7.6/doc/libX11/specs/libX11/libX11.html#VisibilityNotify_Events "A region of a window is visible if someone looking at the screen can actually see it.". Thus it makes sense for VisibilityNotify events to be fired when the screen blanks due to DPMS. I understand VisibilityNotify events on screensaver or on window obscuration are only possible with a non-compositing window manager but some kind of event must be possible when putting the display into a DPMS mode, right?

There's some circumstancial evidence that this used to work - e.g. http://lists.kde.org/?l=kwin&m=125068441515308&w=2 - although I haven't been able to find any old fedora livecds where this works.

How to reproduce:

I used the script in http://stackoverflow.com/questions/1667525/visibility-notify-event-in-pygtk to show VisibilityNotify events. I see events when hiding the window or locking the screen with a non-compositing kwin, as expected. But I see no events with either a compositing or non-compositing kwin after 'sleep 10; xset dpms off'.

Packages affected:

Comment 1 Adam Jackson 2018-07-30 15:46:41 UTC
Whatever these bugs are, they are probably not libXext's fault.
Comment 2 GitLab Migration User 2018-12-13 22:27:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/433.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.