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.
Created attachment 99782 [details] test program This is compatible with PyQt4 with python2.7 and python3.x
Created attachment 99783 [details] test file
Qt4 is unsupported.