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 689820 - screen-shield: disconnect from title-changed on destroy
screen-shield: disconnect from title-changed on destroy
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 695770 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-12-06 23:27 UTC by Cosimo Cecchi
Modified: 2013-03-13 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screen-shield: disconnect from title-changed on destroy (792 bytes, patch)
2012-12-06 23:27 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2012-12-06 23:27:29 UTC
This fixes an uncaught exception with this backtrace I see when unlocking sometimes

    JS ERROR: !!!   Exception in callback for signal: title-changed
    JS ERROR: !!!     message = '"obj is undefined"'
    JS ERROR: !!!     fileName = '"/home/cosimoc/Sources/Checkouts/gnome-shell/js/ui/screenShield.js"'
    JS ERROR: !!!     lineNumber = '258'
    JS ERROR: !!!     stack = '"((void 0))@/home/cosimoc/Sources/Checkouts/gnome-shell/js/ui/screenShield.js:258
wrapper((void 0))@/opt/jhbuild/share/gjs-1.0/lang.js:204
([object Object])@/home/cosimoc/Sources/Checkouts/gnome-shell/js/ui/screenShield.js:254
wrapper([object Object])@/opt/jhbuild/share/gjs-1.0/lang.js:204
_emit("title-changed")@/opt/jhbuild/share/gjs-1.0/signals.js:124
("Dropbox")@/home/cosimoc/Sources/Checkouts/gnome-shell/js/ui/messageTray.js:1110
wrapper("Dropbox")@/opt/jhbuild/share/gjs-1.0/lang.js:204
_parent("Dropbox")@/opt/jhbuild/share/gjs-1.0/lang.js:166
("Dropbox")@/home/cosimoc/Sources/Checkouts/gnome-shell/js/ui/notificationDaemon.js:632
wrapper("Dropbox")@/opt/jhbuild/share/gjs-1.0/lang.js:204
("Dropbox",1255,[object Object],":1.76",null)@/home/cosimoc/Sources/Checkouts/gnome-shell/js/ui/notificationDaemon.js:211
wrapper("Dropbox",1255,[object Object],":1.76",null)@/opt/jhbuild/share/gjs-1.0/lang.js:204
([object Array],null)@/home/cosimoc/Sources/Checkouts/gnome-shell/js/ui/notificationDaemon.js:331
([object GObject_Object],[object GObject_Object])@/opt/jhbuild/share/gjs-1.0/overrides/Gio.js:84
Comment 1 Cosimo Cecchi 2012-12-06 23:27:32 UTC
Created attachment 230935 [details] [review]
screen-shield: disconnect from title-changed on destroy
Comment 2 Jasper St. Pierre (not reading bugmail) 2012-12-07 00:00:25 UTC
Review of attachment 230935 [details] [review]:

Makes sense.
Comment 3 Cosimo Cecchi 2012-12-07 00:08:39 UTC
Attachment 230935 [details] pushed as 4df1222 - screen-shield: disconnect from title-changed on destroy
Comment 4 Rui Matos 2013-03-13 13:18:02 UTC
*** Bug 695770 has been marked as a duplicate of this bug. ***