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 504067 - gedit doesn't use xdg dirs for saving content
gedit doesn't use xdg dirs for saving content
Status: RESOLVED WONTFIX
Product: gedit
Classification: Applications
Component: general
2.20.x
Other All
: Normal minor
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-17 16:13 UTC by Jesse Keating
Modified: 2009-11-15 18:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Jesse Keating 2007-12-17 16:13:33 UTC
We have xdg directories for saving content, gedit should default to saving things in Documents/ so that the files can be easily found again in the future, as well as be translated for local.

Other information:
Comment 1 Ignacio Casal Quinteiro (nacho) 2009-08-22 18:09:36 UTC
Gedit remembers the last folder where a document was saved, so I think this cannot be applied right now. Open the bug again if you think that the current behavior is not the one expected.
Comment 2 Martin Mai 2009-11-15 18:47:02 UTC
We had the same bug downstream a while ago ([1])and we got the following comment after I pasted your comment about why the upstream bug was closed:

>>>
How about on default install, it points to Documents directory. Right after installation of Ubuntu.
Then when the user uses gedit, it will then point to the last directory used.

Another idea would be to point to last used directory, but revert to Documents directory every 30 days.
<<<

Regarding the first issue, he is right. Right after installation, gedit suggest the /home/$(USER)/ directory to save a file instead of /home/$(USER)/Documents. I think this should be changed (if it is actually not only a problem of Ubuntu).

For the second issue it seems just to difficult to find an appropriate rule when the directory should be reverted, but if you can think of something, I wouldn't mind.

Thanks.

[1]: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/194904