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 670875 - Saving into the current working directory is difficult
Saving into the current working directory is difficult
Status: RESOLVED DUPLICATE of bug 658280
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.2.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 671272 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-27 11:13 UTC by Yeti
Modified: 2012-11-16 19:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yeti 2012-02-27 11:13:19 UTC
Scenario (using glade for specificity but many apps behave like that):

I run glade from the shell in /home/yeti/Project-Foo/subdir/somewhere, create a new project and want to save it.  The file chooser offers list `recently used' directories unrelated to the directory I am using *right now*.  I have to painfully nagivate to the current working directory to choose it (typing ./filename.glade or anything like that does not work).  Then I am finished and quit glade.

Some time later, I run glade from the shell in /home/yeti/Project-Bar/src/gui/component-baz, create a new project and want to save it.  The file chooser offers list `recently used' directories unrelated to the directory I am using *right now*.  It `helpfully' lists the directory /home/yeti/Project-Foo/subdir/somewhere I wanted to be listed there the last time but that is irrelevant now. I have to painfully nagivate to the current working directory to choose it (typing ./filename.glade or anything like that does not work).  Then I am finished and quit glade.

And so it continues.  The list of recently used directories is always completely irrelevant.  Either I need the current working directory which is never there, or I gave glade the file to open on the command line and therefore I just use Ctrl-S to save it, no need to choose a directory.

This behaviour is actively annoying.

If it is necessary to select a directory manually at all instead of displaying the current working directory of the process by default, please at least make that available in the chooser among `recently used' or elsewhere.
Comment 1 Cris 2012-03-01 02:12:02 UTC
I have the same problem using libgtk2.0-0 (2.24.9) and libgtk-3-0 (3.2.3). E.g. scite or evince.

I'd like to have option to access the current work directory (for opening and saving). I also often start programs from command line when I'm deep down somewhere in the filesystem.

Or I opened a file via file chooser (by navigating through the file system) and want later to open a 2nd file in the same directory. I have to navigate again.
Comment 2 Federico Mena Quintero 2012-03-31 03:49:06 UTC
*** Bug 671272 has been marked as a duplicate of this bug. ***
Comment 3 HennR 2012-05-05 09:15:48 UTC
Here is a report that requests an option to disable the recently used view, which I consider somewhat urgent:

https://bugzilla.gnome.org/show_bug.cgi?id=667252
Comment 4 Federico Mena Quintero 2012-11-16 19:57:55 UTC
Please see comment #53 in bug #658280 - there is a patch in progress to implement using $CWD.  If people find this convenient, I'll include the patch in the mainline.

*** This bug has been marked as a duplicate of bug 658280 ***