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 676636 - Open file dialog defaults to recently used, even if recently used is empty
Open file dialog defaults to recently used, even if recently used is empty
Status: RESOLVED DUPLICATE of bug 658280
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.4.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2012-05-23 13:23 UTC by alex
Modified: 2012-11-16 19:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alex 2012-05-23 13:23:13 UTC
I don't like using the Recently Used list in Gnome--other people often use my user account and I want to keep the files I view private--so I disable it using:

chattr +i ~/.local/share/recently-used.xbel

That ensures that nothing can write to the recently used files list, and it's the most often recommended solution for people wishing to disable the list--which is quite a lot of people judging from all the FAQs online.

The open file dialog in Gedit 3 defaults to "recently used", which is OK I guess, except in situations like mine where there's nothing in that list.  So every time I open a file in Gedit 3, I have to click on my Home directory to get where I want to be.  This is extra annoying because the ctrl+L shortcut to edit the dialog path doesn't work when viewing recently used, so I have to move my hand to the mouse to even start picking a file--I can't use any simple keyboard shortcuts to navigate to where I want to start browsing.

I propose that in the case of the recently used list being empty, the open file dialog defaults to the user's home directory.  This would also prevent confusion for new users, who when using a system for the first time might try to open a file in Gedit only to be presented with an empty screen.  It would also be more consistent with Gedit 2, which defaulted to Home for the open file dialog.
Comment 1 Paolo Borelli 2012-09-17 21:32:47 UTC
This comes from gtk itself. Reassigning
Comment 2 Federico Mena Quintero 2012-11-16 19:46:01 UTC
Please see comment #53 in bug #658280 - there is a patch in progress to let you choose another behavior.  If people find this convenient, I'll include the patch in the mainline.

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