GNOME Bugzilla – Bug 483277
Filechooser dialog clears the filename
Last modified: 2008-02-06 01:29:17 UTC
Please describe the problem: Try to download a file and save it to the home folder (of an user). The "save as" dialog then clears the name of file. Steps to reproduce: 1. Try to download a file and save it to home folder (of an user). 2. The "save as" dialog then clears the name of the file. 3. Actual results: The "save as" dialog then clears the name of the file. Expected results: The name of the file remains in the "save as" dialog. Does this happen every time? Yes. Other information:
I have this happen to me with every application using the standard Gnome Save-As dialog box. The most recent occurrence for me was with gedit, but it also bites me routinely in Mozilla Firefox and the GIMP. The file name is not highlighted, yet the cursor appears at the start of the input field instead of the end. Also, in the steps to reproduce this bug, all that needs to happen is to choose any directory from the breadcrumb trail directly underneath the Name box or the Places list in the left column, not necessarily the home directory. Navigating into a directory in the current directory causes the expected behavior with the added expected behavior of the file name becoming highlighted. Workaround 1: * navigate to the desired directory, * retype the complete file name in the now-empty Name box, * click on Save. Workaround 2: * highlight the file name, * right-click and choose Copy, * navigate to the desired directory, * right-click on the empty Name box, * choose Paste, * click on Save. I'm using Gnome version 2.20.1 as distributed by Ubuntu and have been experiencing this bug for several Gnome versions.
-> GTK+ The filechooser for saving files from applications is handled by GTK+ and not by Nautilus, so reassigning.
Updating summary.
I have identified a pattern for this bug, which I hope will allow someone who understands the source to zero in on the cause. This pattern was discovered while saving a JPEG image using Mozilla Firefox 2.0.0.11 on Ubuntu 7.10 (libgtk2.0-common 2.12.0-1ubuntu3). Unlike the behavior reported with gedit, the filename in the Name box was highlighted. If the displayed directory has a subdirectory, or if it does not show any files, then this bug does not manifest. The Name box keeps the name and it remains highlighted. If the displayed directory does not have a subdirectory but does show one or more files, then the bug manifests. The Name box is reset to the name of the first entry (without highlighting) an instant before being cleared, then the selected directory is loaded, filtered, and displayed.
I also get this bug on Fedora 8, gtk2-2.12.3-3.fc8.src.rpm Example: Using Firefox, right-click on an image and choose Save As... Filename is filled in and highlighted. Click on a folder in the left hand Places list Folder is opened, filename has been cleared and has to be manually entered However, if when the box is first opened I click on a parent folder in the breadcrumb trail, the filename stays filled in and highlighted as I browse to other folders, even using the Places shortcuts.
*** This bug has been marked as a duplicate of 419737 ***
Thank you. For some reason, Bug 419737 did not show up in searches for this bug. I can't wait for the fix to reach Ubuntu's software updates. :)