GNOME Bugzilla – Bug 614859
Create Folder named "Type name of new folder"
Last modified: 2015-05-10 04:56:18 UTC
It is not possible to create folder named "Type name of new folder" in GtkFileChooser. When I click "Create Folder" in file chooser and would prefer to use default name ("Type name of new folder") instead of typing my own as it is much faster when I just want to save some temporary stuff in temporary folder. But this is not possible. Event if I erase one letter and type it back, I can't choose that name. I know the name is used as "placeholder" for new name, but when user chooses that name, it should be created with that name. Cancelation should be possible (lets say) with "Esc" key, not by leaving default name.
This is a bit late for April Fools' Day, isn't it?
This comes back to bug 171416.
(In reply to comment #1) > This is a bit late for April Fools' Day, isn't it? This was not meant as joke. It's quite serious problem for me. Overwriting default name is more work than just hitting enter and choose default name. And what if someone really wanted to name that folder "Type name of new folder"? Is it right to not create it? No, it's not. Or are we back in 80's when we could not use non-ASCII characters, but know it's non-"Type name of new folder" name?
I will happily review a patch that does this: 1. When you click "Create Folder", you get a new row in the file list that says "type name of new folder" - in gray italics, like the "Search" boxes common to many programs. 2. As soon as you start typing, the "type name of new folder" text disappears and gets replaced with what you typed. 3. Unfocusing and refocusing the file chooser dialog does not cause your folder to be created, nor to have the editing canceled - you can still type your folder's name. 4. You can hit Esc or the Cancel button in the dialog to cancel editing and cancel creating a folder. 5. You can hit Enter to cause the folder to be created. You should then be taken to that folder. In the meantime, I consider "not being able to create a folder called 'Type name of new folder'" to *not* be a problem.
this should be addressed with the new file popover