GNOME Bugzilla – Bug 654366
Session Saver plugin doesn't save sessions
Last modified: 2019-03-23 20:49:26 UTC
I'm using gedit-plugins 3.0.5 in Arch Linux 64 bit. After activating the plugin if I try to save the session after opening some files I found that it's not possible to write in the dialog box. If I try to save it anyway I get the following output in the terminal: (gedit:3629): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver0' to action group 'SessionSaverPluginSessionActions' Then, on the menu and the "Manage Sessions" dialog there's appear to be a saved session, though it looks like it have no name at all. You can even delete it. If you open Gedit again there's no session saved. If you can help me, telling me how can I give you more information I'd be glad to help =).
same issue on debian with version 3.0.6
saved sessions from previous version disappeared; when trying to save a session the window does not allow to enter a name. No change since version 3.0.1 cheers
/usr/lib/gedit/plugins/sessionsaver/dialogs.py:56: DeprecationWarning: object.__new__() takes no parameters cls._instance = object.__new__(cls, *args) (gedit:6411): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver0' to action group 'SessionSaverPluginSessionActions' ** (gedit:6411): CRITICAL **: gedit_commands_load_locations: assertion `(locations != NULL) && (locations->data != NULL)' failed
Created attachment 193806 [details] [review] patch
Same issue on Fedora with version 3.0.6: entering a name is not possible and previous sessions disappeared. The dialog box seems to be fixed in sessionsaver.ui. I managed to get my previous sessions back and the correct files to open by importing Gio and using file_new_for_uri.
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.