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 654366 - Session Saver plugin doesn't save sessions
Session Saver plugin doesn't save sessions
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-11 01:55 UTC by Pablo Olmos de Aguilera Corradini
Modified: 2019-03-23 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (958 bytes, patch)
2011-08-14 12:18 UTC, Pieter Provoost
committed Details | Review

Description Pablo Olmos de Aguilera Corradini 2011-07-11 01:55:02 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 =).
Comment 1 mawk 2011-07-23 11:15:27 UTC

same issue on debian with version 3.0.6
Comment 2 mawk 2011-07-23 11:23:51 UTC
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
Comment 3 mawk 2011-07-23 11:24:19 UTC
/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
Comment 4 Pieter Provoost 2011-08-14 12:18:04 UTC
Created attachment 193806 [details] [review]
patch
Comment 5 Pieter Provoost 2011-08-14 12:20:43 UTC
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.
Comment 6 Ignacio Casal Quinteiro (nacho) 2011-08-14 16:58:14 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.