GNOME Bugzilla – Bug 638158
Error: Bad method name "Gdk.Display.get_device_state"
Last modified: 2010-12-28 12:54:00 UTC
arch - x86_64 os - Ubuntu 10.10 Just updated by gnome-shell and tried to start gnome-shell, got the following error, satheesh@dhcp-maa-125-17-130-186:/d2/gnome-shell/install/bin$ ./gnome-shell --replace Panel leaving: a new panel shell is starting. (gnome-panel:29391): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion `global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed JS ERROR: !!! Exception was: Error: Bad method name "Gdk.Display.get_device_state" JS ERROR: !!! lineNumber = '43' JS ERROR: !!! fileName = '/d2/gnome-shell/install/share/gnome-shell/js/ui/environment.js' JS ERROR: !!! stack = 'Error("Bad method name \"Gdk.Display.get_device_state\"")@:0 _blockMethod("Gdk.Display.get_device_state","global.get_pointer","gjs's handling of Gdk.ModifierType is broken. See bug 597292.")@/d2/gnome-shell/install/share/gnome-shell/js/ui/environment.js:43 init()@/d2/gnome-shell/install/share/gnome-shell/js/ui/environment.js:92 start()@/d2/gnome-shell/install/share/gnome-shell/js/ui/main.js:91 @<main>:1 ' JS ERROR: !!! message = 'Bad method name "Gdk.Display.get_device_state"' Window manager warning: Log level 32: Execution of main.js threw exception: Error: Bad method name "Gdk.Display.get_device_state"
Created attachment 177136 [details] [review] Fix error from blocking removed Gdk.Display.get_device_state. Gdk.Display.get_device_state() was removed in favor of a non-GdkModifierType returning Gdk.Device.get_position(). But block Gdk.Device.get_state() which does return a GdkModifierType mask.
Attachment 177136 [details] pushed as 2763d8d - Fix error from blocking removed Gdk.Display.get_device_state.