GNOME Bugzilla – Bug 719762
translate_crossing_mode() assertion error since recent scrolling fixes
Last modified: 2013-12-05 02:23:07 UTC
The issue has been reported on https://launchpad.net/bugs/1257004 It's happening with the scrolling fixes that went into GTK 3.8.8 when using xorg with the patches from http://lists.x.org/archives/xorg-devel/2013-November/039220.html "Only seen after a xserver-xorg-core patched with 2 commits (https://bugs.freedesktop.org/show_bug.cgi?id=71762) is installed to fix scrolling & only when opening a *newly* created folder on the Desktop thru a double l. click with a usb mouse or a d. left click in touchpad mouse area Opening folder with either mouse thru context menu is fine as is opening with a d. tap on touchpad ... https://launchpadlibrarian.net/158110892/gdb-nautilus.txt Gdk:ERROR:/build/buildd/gtk+3.0-3.8.7/./gdk/x11/gdkdevicemanager-xi2.c:789:translate_crossing_mode: code should not be reached
+ Trace 232881
Created attachment 263505 [details] [review] x11: Handle all XI2 crossing mode values in switch This fixes potential assertions if a GTK+ app gets to receive a XINotifyPassiveGrab/Ungrab pointer crossing event, currently triggerable by XIGrabEnter passive grabs. http://bugzilla.gnome.org/show_bug.cgi?id=719762
Created attachment 263506 [details] [review] x11: Handle XINotifyPassiveGrab/Ungrab in focus events The focus handling code is shared between core and XI2 implementations, so just handle the extra XI2 types for passive grabs. Those must be dealt with in the same way than active grabs. Focus events with this crossing mode could happen currently through the XIGrabFocusIn passive grab.
Those patches fix the issue indeed, thanks Carlos!
Attachment 263505 [details] pushed as 3dbabbd - x11: Handle all XI2 crossing mode values in switch
Attachment 263506 [details] pushed as f6c9a33 - x11: Handle XINotifyPassiveGrab/Ungrab in focus events