After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 702038 - Application menu stops working
Application menu stops working
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: extensions
3.8.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-06-11 19:24 UTC by Fabiano Fidêncio
Modified: 2013-07-04 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
apps-menu: don't store the hot corner at creation (2.86 KB, patch)
2013-07-04 13:47 UTC, Giovanni Campagna
committed Details | Review

Description Fabiano Fidêncio 2013-06-11 19:24:06 UTC
Log:

Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: Window manager warning: Log level 8: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!   Exception in callback for signal: updated
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     message = '"this._pressureBarrier is null"'
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/layout.js"'
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     lineNumber = '1111'
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     stack = '"(28)@/usr/share/gnome-shell/js/ui/layout.js:1111
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper(28)@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ()@/usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js:245
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper()@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ()@/usr/share/gnome-shell/js/ui/popupMenu.js:1160
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper()@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ()@/usr/share/gnome-shell/js/ui/panelMenu.js:216
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper()@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: _parent()@/usr/share/gjs-1.0/lang.js:175
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ()@/usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js:559
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper()@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: disable()@/usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js:590
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: disableExtension("apps-menu@gnome-shell-extensions.gcampax.github.com")@/usr/share/gnome-shell/js/ui/extensionSystem.js:79
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ("apps-menu@gnome-shell-extensions.gcampax.github.com",0,[object Array])@/usr/share/gnome-shell/js/ui/extensionSystem.js:296
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: disableAllExtensions()@/usr/share/gnome-shell/js/ui/extensionSystem.js:295
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: _sessionUpdated([object Object])@/usr/share/gnome-shell/js/ui/extensionSystem.js:313
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: _emit("updated")@/usr/share/gjs-1.0/signals.js:124
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ()@/usr/share/gnome-shell/js/ui/sessionMode.js:219
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper()@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ("unlock-dialog")@/usr/share/gnome-shell/js/ui/sessionMode.js:177
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper("unlock-dialog")@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: (true)@/usr/share/gnome-shell/js/ui/screenShield.js:1178
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper(true)@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: (true)@/usr/share/gnome-shell/js/ui/screenShield.js:1204
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper(true)@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ([object Object],true)@/usr/share/gnome-shell/js/ui/screenShield.js:661
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper([object Object],true)@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: _emit("prepare-for-sleep",true)@/usr/share/gjs-1.0/signals.js:124
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: ([object GObject_Object],":1.1",[object Array])@/usr/share/gnome-shell/js/misc/loginManager.js:231
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: wrapper([object GObject_Object],":1.1",[object Array])@/usr/share/gjs-1.0/lang.js:213
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: _emit("PrepareForSleep",":1.1",[object Array])@/usr/share/gjs-1.0/signals.js:124
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: _convertToNativeSignal([object GObject_Object],":1.1","PrepareForSleep",[object GObject_Boxed])@/usr/share/gjs-1.0/overrides/Gio.js:130
Jun 11 18:40:04 srv /etc/gdm/Xsession[1305]: "'
Comment 1 Fabiano Fidêncio 2013-06-11 19:26:14 UTC
And also this:

Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!   Exception was: TypeError: this._pressureBarrier is null
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     message = '"this._pressureBarrier is null"'
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/layout.js"'
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     lineNumber = '1083'
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: JS ERROR: !!!     stack = '"(0)@/usr/share/gnome-shell/js/ui/layout.js:1083
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: wrapper(0)@/usr/share/gjs-1.0/lang.js:213
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: (-1)@/usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js:237
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: wrapper(-1)@/usr/share/gjs-1.0/lang.js:213
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: ()@/usr/share/gnome-shell/js/ui/popupMenu.js:1156
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: wrapper()@/usr/share/gjs-1.0/lang.js:213
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: _parent()@/usr/share/gjs-1.0/lang.js:175
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: ()@/usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/extension.js:258
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: wrapper()@/usr/share/gjs-1.0/lang.js:213
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: ([object GObject_Object],[object GObject_Union])@/usr/share/gnome-shell/js/ui/panelMenu.js:163
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: wrapper([object GObject_Object],[object GObject_Union])@/usr/share/gjs-1.0/lang.js:213
Jun 11 21:00:33 srv /etc/gdm/Xsession[1305]: "'
Comment 2 Fabiano Fidêncio 2013-06-11 19:30:15 UTC
And also bottom window list disappeared.
Btw, I'm using Fedora 19 with gnome-shell (and extensions) on version 3.8.2-1.
Comment 3 Giovanni Campagna 2013-06-13 19:57:41 UTC
This is weird: for some reason, the pressure barrier was destroyed (I assume you're on Fedora 19, which has the xserver with input barriers) before you suspended, which crashed apps-menu on disabled and blocked the chain of enable/disable.

Were you in a special mode (like fullscreen or modal dialog) when this happened?
Comment 4 Fabiano Fidêncio 2013-06-14 11:37:19 UTC
(In reply to comment #3)
> This is weird: for some reason, the pressure barrier was destroyed (I assume
> you're on Fedora 19, which has the xserver with input barriers) before you
> suspended, which crashed apps-menu on disabled and blocked the chain of
> enable/disable.
> 
> Were you in a special mode (like fullscreen or modal dialog) when this
> happened?

Not in a special mode, but I found an "easy" way to reproduce the bug.
I'm working with a dock for my laptop. When I remove it from dock and close, the system is a bit retarded and doesn't suspend itself. So, if I open my laptop again the menu will be broken.
Comment 5 Giovanni Campagna 2013-07-04 13:47:34 UTC
Created attachment 248385 [details] [review]
apps-menu: don't store the hot corner at creation

HotCorners become invalid when the xrandr configuration changes,
so instead of storing it fetch it directly from layoutManager when
needed.
Comment 6 Florian Müllner 2013-07-04 14:05:18 UTC
Review of attachment 248385 [details] [review]:

Sure.
Comment 7 Giovanni Campagna 2013-07-04 14:07:26 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

(forgot to use git-bz :) )