GNOME Bugzilla – Bug 691750
search provider crashes search in gnome-shell
Last modified: 2013-01-15 00:44:14 UTC
When I just type 'e' in the gnome-shell search, a few results pop up for a second and then they all disappear again, leaving me with an empty results page. I disabled a few search providers in the control center and found that this only happens when gnome-document is enabled as a search provider. When I press 'e' in the shell overview (gnome-documents search enabled), session.log says: JS ERROR: !!! Exception was: Error: Expected type utf8 for Argument 'str' but got type 'undefined' (nil) JS ERROR: !!! message = '"Expected type utf8 for Argument 'str' but got type 'undefined' (nil)"' JS ERROR: !!! fileName = '"/home/gnomedev/jhbuild-gnome/install/3.8/share/gnome-shell/js/ui/remoteSearch.js"' JS ERROR: !!! lineNumber = '202' JS ERROR: !!! stack = '"(64,[object Object])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gnome-shell/js/ui/remoteSearch.js:202 wrapper(64,[object Object])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:204 (64)@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:116 ([object Object],[object Object],[object Array])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gnome-shell/js/ui/searchDisplay.js:68 wrapper([object Object],[object Object],[object Array])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:204 ([object Object],[object Object],[object Array])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:145 ([object Object],[object Object],[object Array])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:239 ([object Array])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gnome-shell/js/ui/searchDisplay.js:213 wrapper([object Array])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:204 ([object Array])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gnome-shell/js/ui/searchDisplay.js:488 ([object Array],null,function () {[native code]})@/home/gnomedev/jhbuild-gnome/install/3.8/share/gnome-shell/js/ui/remoteSearch.js:253 wrapper([object Array],null,function () {[native code]})@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:204 ([object Array],null)@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/lang.js:116 ([object GObject_Object],[object GObject_Object])@/home/gnomedev/jhbuild-gnome/install/3.8/share/gjs-1.0/overrides/Gio.js:91 "'
-> gnome-shell This is a regression from a recent gnome-shell commit.
Created attachment 233488 [details] [review] remoteSearch: fix a typo in createIcon 428876123579589a228770faab57887169fea343 changed the method to always create a GIcon, but didn't pass it down to the StIcon constructor.
Review of attachment 233488 [details] [review]: LG
Attachment 233488 [details] pushed as 16a9391 - remoteSearch: fix a typo in createIcon