SUMMARY In Dolphin, when you type in part of the address in your home dir without providing '~', dolphin suggests correct paths (like .local, .config, Downloads, etc) but if you try to use these suggestions, it fails to go there with "Invalid protocol" error if you aren't in home dir already. STEPS TO REPRODUCE 1. Go to folder other than $HOME 2. Type .con 3. Go to .config/ suggestion OBSERVED RESULT .config/ folder is opened EXPECTED RESULT "Invalid protocol" error SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 Kernel Version: 6.1.32-1-lts (64-bit) Graphics Platform: X11
I investigated this a bit, and it looks like the completion of directories in $HOME was never intended. Normally, the path in the editor is absolute and completion works. If you delete the prefix and it isn't anymore, things break: The component offering completion suggestions (KUrlCompletion) falls back to $HOME. The line editor itself (KUrlComboBox) tries to look for the entered path in the current working directory. If it can't find it there, it makes it into a QUrl, which in turn defaults to the http protocol. This also means typing in a path in the current working directory works, but isn't autocompleted.
I'd rather have it working than not to have it at all tbh. But it's better to not have it at all than having it broken.