Version: unspecified (using KDE 4.4.4) OS: MS Windows I've tried to change Konqueror to Firefox as default browser via systemsettings. I've entered full path to firefox.exe (C:/Program Files/Mozilla Firefox/firefox.exe) but systemsettings rejected it: 'C:/Program' not found, please type a valid program name. Replacing spaces with %20 or escaping path with "" does not help. Reproducible: Always Windows 7 32bit KDE 4.4.4
I can confirm this behaviour in KDE 4.5.4. However using quotes does work. * I imagine the fix would be to treat addresses as if they have the quotes in it all of the time. * Instead of getting "'C:/Program' not found (...)" I get "'C:/Program Files/SomeGroup/SomeProgram.exe' not found", although this might be another bug altogether.
For the bug I was talking about, see https://bugs.kde.org/show_bug.cgi?id=183153 This is a separate issue though.
I just tried opening a PDF file from C:\Program Files\ in Okular and few files from C:\Program Files in Konqueror, they are all opening fine. I think this issue is solved now. I am using KDE 4.7.0 on Windows XP SP3
Please excuse me for my late reply, I haven't been watching this recently. I can still reproduce what I did in KDE 4.7.0. Here's what I did previously which caused this bug: 1. Go into File Associations 2. Select a MIME-type 3. Click Add in the Application Order Preference section 4. Click the Open file dialog and choose a program with a space in the pathname I get the error when selecting a program: 'C:/Program' not found, please type a valid program name. If I add double-quotes around the whole file path/name, I get the error: 'C:/Program Files/OpenOffice.org 3/program/scalc.exe' not found, please type a valid program name. On a side note, when I use Okular it does work fine with spaces, ie. I can reproduce the same results as what Aqeel Zafar reported.
*** This bug has been marked as a duplicate of bug 183153 ***