Summary: | Dolphin does not handle opening files with the unicode space character in them.. | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | FF777 <yasuna> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | adaptee, arai.masao, aria, frank78ac, karl.r.ernst, perso, yasuna |
Priority: | NOR | ||
Version: | 4.9 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
See Also: | http://bugs.debian.org/613691 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | do not use QChar::isSpace() |
Description
FF777
2011-03-17 19:05:16 UTC
Thanks for the bug report, I can confirm in master. The bug is most likely not in Dolphin itself, but in kdelibs (KRun), but this needs further investigation. "kioclient exec 'abc def.txt' "" gets the same problem. So it is not a dolphin specific problem :( I think KLauncher::requestStart() is where the thing starts to go wrong. It calls KRun::processDesktopExec(), which splits that given filename into two filenames. *** Bug 304226 has been marked as a duplicate of this bug. *** *** Bug 306690 has been marked as a duplicate of this bug. *** Created attachment 82294 [details]
do not use QChar::isSpace()
Sorry, I forgot to write comments for above attachment. This bug may be caused by the usage of QChar::IsSpace() in KShell::splitArgs. The Qchar::isSpace is true not only for ' ' but also characters in Separator_* categories. The " " is included in Separator_* categories. So a filename with " " is split into two filename in KShell::splitArgs. Thanks for the patch! Could you file a review request at https://git.reviewboard.kde.org/dashboard/ for the group "kdelibs", please? It's unlikely that the people who can judge the code will see the patch here. Arai, did you find time yet to file a review request? If you need help, please ask on kde-devel mailing list. I still have this problem with Dolphin version 15.08.1 (using: KDE Frameworks 5.14.0 and Qt 5.5.0). This has been fixed today for version 5.15 of the KIO framework. *** This bug has been marked as a duplicate of bug 345140 *** Thanks for the news. :) |