GNOME Bugzilla – Bug 709597
No notification about required logout / reboot
Last modified: 2017-05-29 23:32:47 UTC
gnome-tweak-tools is supposed to give a notification if it's necessary to restart the session. Unfortunately, this seems not to happen. Some steps to reproduce, that should trigger it: * Start g-t-t * Browse to Keyboard & Mouse * Switch 'Show All input Sources" (on/off) doing so, results in the followint stack trace on the console: Traceback (most recent call last):
+ Trace 232585
self.notify_logout()
self._logoutnotification = LogoutNotification()
instances[cls] = cls()
self._logout, None, None)
(not sure where this code finds 6 arguments.. I only see 5 in the code).
The 'offending' code is: self.notification.add_action( "restart", "Restart Session", self._logout, None, None) If I change that to self.notification.add_action( "restart", "Restart Session", self._logout, None) Then *I* can only see 4 arguments, but the code is happy and shows me notifications...
What is your distro?
openSUSE 13.1; but I've seen an equal report in the Fedora bug tracker (https://bugzilla.redhat.com/show_bug.cgi?id=1010509), so I don't think that makes any difference.
except on ubuntu saucy, which I run, where it does not occur...
(In reply to comment #4) > except on ubuntu saucy, which I run, where it does not occur... Hmm. 'THAT' is interesting :) Maybe some 'versioning' can help: | Name | Type | Version | Arch | Repository --+------------------------+---------+-----------------+--------+------------------ i | libnotify-tools | package | 0.7.6-48.1 | x86_64 | GNOME:Factory i | libnotify4 | package | 0.7.6-48.1 | x86_64 | GNOME:Factory i | python-notify | package | 0.1.1-44.1 | x86_64 | GNOME:Factory i | typelib-1_0-Notify-0_7 | package | 0.7.6-48.1 | x86_64 | GNOME:Factory
and your versions for gobject-introspection, or python-gi (or whatever the package is called there)?
(In reply to comment #6) > and your versions for gobject-introspection, or python-gi (or whatever the > package is called there)? Fully updated GNOME 3.10 stack; thus: * gobject-introspection-1.38.0 * python-gobject-3.10.0
Libnotify 0.7.6 seems to be the 'issue' with a different API. gnome-music verifies at runtime what to do: https://git.gnome.org/browse/gnome-music/commit/gnomemusic/notification.py?id=f204cd496ba460892b63d303e5fb2e2bfece4d7d Apparently, ob ubuntu they reverted an upstream commit from libnotify; which might not be the smartest move in the long run (see https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1223401 )
Amazing work tracking this down! Thanks so much.
Interestinglly, nothing seems to have changed on gnome-tweak-tool but on GNOME 3.11.91 I no longer see the issue. So unless you consider doing anything with this, I'd suggest to close this bug as well.
I'm closing this bug since you have reported that you can no longer reproduce the issues after installing updates. Feel free to close your own bugs!