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 760156 - remember save location
remember save location
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: User Interface
2.8.16
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-01-05 12:18 UTC by Dirk Podolak
Modified: 2018-05-24 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dirk Podolak 2016-01-05 12:18:16 UTC
As a webdesigner I often encounter the following two situations.

I receive one large image containing all images I need. I now need to cut this one large image into several smaller pieces. But when I copy some content, create a new image from this and just want to save it, the save dialog always provides me with "/tmp/kde-podolak" as default directory. I definitively don't want to store there, so I navigate to my project's "images" directory and save.
When I create the next new image and want to save it I get redirected to the (uttlerly useless) default directory again.

Secondly, when I finished the project and create a manual for my users I heavily use screenshots. I go through my webapp and screenshot every page to illustrate the required workflow. In KDE I can send every screenshot to GIMP with just a click, which is nice as I have to slightly edit, cut and resize each screenshot. But again, everytime I save a new screenshot I get redirected to the default directory.

I am aware of other tickets like 158046, 310220 or 481002, so this is more like another request on this feature. Similar requests are more than a decade old. Is it not possible to include a checkbox "remember directory" in the save dialog? Or make it a hidden feauture to be enabled by some properties dialog or config file? 

This would help me so much.
Comment 1 Dirk Podolak 2016-01-05 12:26:32 UTC
I have to correct myself, the first scenario above *does* remember the last location. Seems only to be the case when I close GIMP inbetween.
Comment 2 Michael Natterer 2016-01-05 12:41:43 UTC
Have you considered adding a file chooser shortcut for your current
project directory? Simply drag the directory to the left pane and
done.
Comment 3 Dirk Podolak 2016-01-05 13:13:26 UTC
Somebody pointed that out to me, and I do this right now, but it is still a hack ;-)
Comment 4 gnome.vrb 2016-12-25 14:27:46 UTC
https://bugzilla.gnome.org/attachment.cgi?id=339836&action=diff is the relevant patch for rhythmbox (for remembering playlist load / save location). 

With little modifications, this should work for GIMP too.
Comment 5 Siebe 2017-01-06 09:37:23 UTC
This has been bugging me for years, so much that I've now decided to download the source and check if I could fix it myself. gimp_save_dialog_set_image() in gimpsavedialog.c will always default back to G_USER_DIRECTORY_DOCUMENTS at GIMP first start. Adding an additional option for a configurable default dir seems like a very basic, very useful feature.

The solution proposed by vrishab seems reasonable.
Comment 6 GNOME Infrastructure Team 2018-05-24 16:00:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/819.