GNOME Bugzilla – Bug 481073
allow "visibility-notify-event" signal to work when composited
Last modified: 2014-03-05 23:16:57 UTC
It seems like the "visibility-notify-event" signal doesn't work when the the window is composited. Might be nice if we can find a way to make it work. Have the CM set a property or something. http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkWidget-visibility-notify-event
I think it's preferable to deprecate this event and mention in the docs that it most likely won't work. It's essentially impossible to support with transparency and nobody has cared about this in almost 7 years.
Created attachment 270856 [details] [review] Deprecate GdkEventVisibility and ::visibility-notify-event These don't really work anymore in a composited world. Lets make it official.
Comment on attachment 270856 [details] [review] Deprecate GdkEventVisibility and ::visibility-notify-event I think I'd get rid of the "more or less". It adds confusion and "it's impossible to track reliably" is clear enough in that yes, the event is still emitted, but it doesn't do what you want it to.