After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696341 - csd: consider reparenting content
csd: consider reparenting content
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-03-21 22:32 UTC by Matthias Clasen
Modified: 2013-03-24 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2013-03-21 22:32:46 UTC
Updating the cursor on motion events only works if we actually get motion events. Widgets may consume them, and then we may end up stuck with the wrong cursor. One way to produce this problem is in gtk-demo: first hover over the window edge to get a resize cursor, then quickly move over the treeview. If you move fast enough, you will end up with a stuck resize cursor until you move over some other widget that sets a different cursor (or back to the window frame).

One way to avoid this would be to introduce another gdk window that we reparent the content into, and on which we can explicitly set the left_ptr cursor that the content can then inherit.
Comment 1 Matthias Clasen 2013-03-23 14:11:27 UTC
reparenting will also help for the problem that some apps assume they can draw on the full window - see the alpha window example in testgtk, or the video-timer test.
Comment 2 Matthias Clasen 2013-03-24 17:25:27 UTC
Reparenting is done now. The cursor problems are fixed; the overdraw problems remain.