GNOME Bugzilla – Bug 658598
Main.keyboard.actor is null
Last modified: 2011-09-22 12:02:07 UTC
I'm getting this error when clicking on the summary item to bring the summary notification down or clicking on the top panel when the onscreen keyboard is not enabled. It's probably just a matter of checking if Main.keyboard.actor is not null before calling a function on it. JS ERROR: !!! Exception was: TypeError: Main.keyboard.actor is null JS ERROR: !!! lineNumber = '287' JS ERROR: !!! fileName = '"/home/mazik/gnome-shell/source/gnome-shell/js/ui/messageTray.js"' JS ERROR: !!! stack = '"([object _private_Clutter_Stage],[object _private_Clutter_Event])@/home/mazik/gnome-shell/source/gnome-shell/js/ui/messageTray.js:287 "' JS ERROR: !!! message = '"Main.keyboard.actor is null"'
Created attachment 196037 [details] [review] messageTray: don't worry about the osk when it's not there
Created attachment 196115 [details] [review] messageTray: fix a warning Check for click in keyboardBox rather than Main.keyboard.actor, since the latter won't exist when the keyboard is hidden. ==== simpler fix
Review of attachment 196115 [details] [review]: Makes sense.
Attachment 196115 [details] pushed as fd25cf3 - messageTray: fix a warning