Summary: | "Invalid protocol" message on tilde (~) prefixed non-existent directory | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Gregor Mi <codestruct> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, elvis.angelaccio, kde, kdelibs-bugs, simonandric5 |
Priority: | NOR | ||
Version: | 5.37.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.42 | |
Sentry Crash Report: |
Description
Gregor Mi
2016-11-22 21:37:47 UTC
Hi Gregor, I can reproduce but I think the bug might be in KIO The bug lies in KUrlNavigator. While KUrlCompletion in the combobox does tilde expansion, the uncomittedUrl() which is used when pressing enter does not. This results in an invalid URL ending up in Dolphin which rightfully complains. Re-assigning to KIO. One could slam a KShell::tildeExpand in there somewhere but I have no idea how KUriFilter works and when to do that, ie. before filterUri or afterwards. Possible fix: https://phabricator.kde.org/D9217 |