GNOME Bugzilla – Bug 133806
Pasting filename with trailing whitespace is taken literally
Last modified: 2011-12-30 11:33:51 UTC
Hi, a Debian user reported the following bug: When specifying a file with trailing space in the GUI dialog, an error (file not found) occurs. When specifying it on the command line, just a new (empty) diagram is opened. He suggests using trim(). See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173279 Thanks for considering. bye, Roland
Using trim() straight away would be a bad idea, in case somebody really wants to end their filename with a space (how evil!), but using trim() on failure is a good idea to cover the most common cases.
Mass reassign of 0.92[-pre*] bugs to 0.92.2
To me this too much like magic, either space in filenames are allowed - or not. Setting to _questionable_ enhancement ...
Since current Desktop file chooser dialogs just give you a choice of existing files (without the possibility to enter additional spaces manually), this bug is not relevant anymore. Closing as obsolete.