GNOME Bugzilla – Bug 697432
gnome-shell throws traceback if bg menu is open when background menu changes
Last modified: 2013-04-06 14:47:31 UTC
I see this traceback if i have a background menu open when the background changes JS ERROR: !!! Exception in callback for signal: destroy JS ERROR: !!! message = '"menu is undefined"' JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/ui/popupMenu.js"' JS ERROR: !!! lineNumber = '2187' JS ERROR: !!! stack = '"PopupMenuManager<._closeMenu@/usr/share/gnome-shell/js/ui/popupMenu.js:2187 wrapper@/usr/share/gjs-1.0/lang.js:213 PopupMenuManager<.removeMenu@/usr/share/gnome-shell/js/ui/popupMenu.js:2090 wrapper@/usr/share/gjs-1.0/lang.js:213 PopupMenuManager<._onMenuDestroy@/usr/share/gnome-shell/js/ui/popupMenu.js:2170 wrapper@/usr/share/gjs-1.0/lang.js:213 _emit@/usr/share/gjs-1.0/signals.js:124 PopupMenuBase<.destroy@/usr/share/gnome-shell/js/ui/popupMenu.js:1163 wrapper@/usr/share/gjs-1.0/lang.js:213 @/usr/share/gnome-shell/js/ui/backgroundMenu.js:60 BackgroundManager<._updateBackground/newBackground.loadedSignalId</<.onComplete<@/usr/share/gnome-shell/js/ui/background.js:752 params[name]@/usr/share/gnome-shell/js/ui/tweener.js:113 _callOnFunction@/usr/share/gjs-1.0/tweener/tweener.js:202 _updateTweenByIndex@/usr/share/gjs-1.0/tweener/tweener.js:332 _updateTweens@/usr/share/gjs-1.0/tweener/tweener.js:344 _onEnterFrame@/usr/share/gjs-1.0/tweener/tweener.js:359 _emit@/usr/share/gjs-1.0/signals.js:124 ClutterFrameTicker<._onNewFrame@/usr/share/gnome-shell/js/ui/tweener.js:253 wrapper@/usr/share/gjs-1.0/lang.js:213 ClutterFrameTicker<._init/<@/usr/share/gnome-shell/js/ui/tweener.js:228 "'
Created attachment 240840 [details] [review] popupMenu: close menu on destroy This fixes a crash if a background menu is open and the background changes.
Review of attachment 240840 [details] [review]: OK.
Attachment 240840 [details] pushed as 77d3712 - popupMenu: close menu on destroy