Folders ending with a space in their name are not retrieved from Folder View Reproducible: Always Steps to Reproduce: 1. Create a folder on your Folder View or Desktop. 2. Rename it including a space as the ending character, e.g. "Test ". 3. Try to open it, e.g. click on it. Actual Results: Dolphin (or any file manager) doesn't open the folder, because it is looking for the folder *without* the ending space in its name. Expected Results: Dolphin opens the folder.
I think this may be a bug in KRun. The QUrl that I hand to KRun includes the space (but no trailing slash), and is then passed the following way: new KRun(url, 0); David?
Bug in QUrl, actually. qDebug() << "in:" << urlArg; QUrl url = QUrl::fromUserInput(urlArg, QDir::currentPath()); qDebug() << "out:" << url; in: "/home/dfaure/bugs/trailing space " out: QUrl("file:///home/dfaure/bugs/trailing space") I'll keep digging and I'll fix it in Qt.
https://codereview.qt-project.org/186246
The fix is in (for Qt 5.8.1 if there's one, otherwise 5.9)