GNOME Bugzilla – Bug 367427
Retain Existing (default) Filename in GtkFileChooser
Last modified: 2007-11-30 18:50:23 UTC
When choosing a filename to save as in a GtkFileChooser, you can press Ctrl+L to enter a path to save as. In gtk+ <2.10 pressing Ctrl+L allowed you to enter a directory. Pressing Enter after entering a directory took you to that directory, but left the filename as it was. This was very useful as a fast way to switch directories without the mouse, but not change the filename. Starting with gtk+ 2.10, pressing Ctrl+L wipes out the existing filename, and lets you enter a directory as before. Unfortunately, you must either remember the filename that was there, or choose a new one. I am suggesting that if the user presses Ctrl+L (or the "/" or "~" variants) that the filename is saved. If the user presses Enter after typing a directory into the textbox, then append the filename that was originally there to the user's entry. This improves usability greatly for me, since I often want to change directories in the file chooser, but not the filename. Other information:
I'm going to mark this as a duplicate of the bug about not being able to do filename completion when the text cursor is not at the beginning of the location entry. If that were working, you would have this (% is the cursor) Name: [%suggested-filename.txt_________________________________] Then you could simply type the directory name *there* using Tab to complete path components, and eventually get Name: [~/the/directory/I/want/%suggested-filename.txt__________] (Note that pressing Control-L doesn't wipe the filename anymore.) *** This bug has been marked as a duplicate of 314873 ***