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 133806 - Pasting filename with trailing whitespace is taken literally
Pasting filename with trailing whitespace is taken literally
Status: RESOLVED OBSOLETE
Product: dia
Classification: Other
Component: general
0.92.2
Other Linux
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-08 16:57 UTC by Roland Stigge
Modified: 2011-12-30 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Roland Stigge 2004-02-08 16:57:44 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
Comment 1 Lars Clausen 2004-02-17 22:21:17 UTC
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.
Comment 2 Lars Clausen 2004-02-17 22:37:11 UTC
Mass reassign of 0.92[-pre*] bugs to 0.92.2
Comment 3 Hans Breuer 2004-05-20 22:27:52 UTC
To me this too much like magic, either space in filenames are allowed - or not.
Setting to _questionable_ enhancement ...
Comment 4 Roland Stigge 2011-12-30 11:33:51 UTC
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.