https://bugs.kde.org/show_bug.cgi?id=364975
Bug ID: 364975 Summary: KDE file selector return files with two consecutive spaces as '%20 ' Product: kdelibs Version: 4.14.0 Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: kdeui Assignee: kdelibs-b...@kde.org Reporter: h...@urpla.net I encountered a strange behaviour tonight within a PyQt4 program, that boils down to: with Qt4's KDE integration, the usual file selector dialogs are replaced with KDEs (all for good!). Using QtGui.QFileDialog.getOpenFileNames to select a single file containing two consecutive spaces is fine, but if at least two files are selected and one contains two consecutive spaces, the first space is replaced with %20. Reproducible: Always Steps to Reproduce: 1. install python-qt4 or python3-qt4 2. put both attached files in a directory 3. run python{,3} ./fileselector-test.py 4. select the 'file with two spaces.txt' file: all is well 5. select both files, result is: Selected files: /home/hp/tmp/filselector-test/fileselector-test.py /home/hp/tmp/filselector-test/file%20 with%20 two%20 spaces.txt Actual Results: The filenames are mangled under described conditions, and therefore inaccessible Expected Results: The filenames should come out unchanged and accessible I think, that this is pretty severe as a bug in a core component, but refrain from raising severity. Nevertheless, this should be fixed soon. -- You are receiving this mail because: You are watching all bug changes.