Bug 211209

Summary: File dialogs do not work properly with filename starting with a space (ex. " foobar")
Product: [Unmaintained] kfile Reporter: BRULE Herman <alpha_one_x86>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BRULE Herman 2009-10-20 15:16:33 UTC
Version:            (using KDE 4.3.2)
Installed from:    Gentoo Packages

Hello,
I have found a big bug, for product it:
cd ~
echo "" > " RICE.pdf"
Now a file with file name start with space have been created, KDE is not able to load this file, you can try send it by email or by kopete, it not work.
Thanks to solve it.
Comment 1 Dario Andres 2009-10-20 22:26:02 UTC
I can confirm that KDE file dialogs do not work properly with a filename starting with a space. However, Dolphin can open this file properly.

Testing on:

Qt: 4.6.0 (Qt git branch 4.6 commit c5c58c2368f71c5d0067c9389c8ad04c41b66db5
        Date:   Wed Sep 9 15:09:34 2009 +0200)
KDE: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091015))
kdelibs svn rev. 1037743 / kdebase svn rev. 1037743
on ArchLinux i686 - Kernel 2.6.30.6


@BRULE Herman: are you noticing this error on any other operation ?

Thanks
Comment 2 Christoph Feck 2009-10-21 02:18:10 UTC
As a workaround, put the name in double quotes.
Comment 3 Christoph Feck 2010-10-12 17:44:33 UTC
Resolved in r1051056, but see bug 215618 for a similar problem.

WebSVN link: http://websvn.kde.org/?revision=1051056&view=revision