SUMMARY When editing the Location/URL Bar present in Dolphin, pressing Enter/Return or using the checkmark icon to exit the state returns the full path. Canceling the edit with the Escape key truncates the path to only show the current directory, until clicked into and then "Saved" with Enter. STEPS TO REPRODUCE 1. Open Dolphin and navigate to any folder two or three levels down 2. Click into the URL/Location bar to edit, then immediately apply the change with the Enter/Return key 3. Click into edit mode again, but this time exit using Escape key OBSERVED RESULT The displayed path truncates to only show the current directory when exiting edit mode with Escape. Exiting with Return or mouse click displays the full path properly. EXPECTED RESULT The path should fully resolve in all cases. SOFTWARE/OS VERSIONS KDE Plasma Version: 6.3.3 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION Not sure precisely how old this bug is (unrelated to recent styling changes in frameworks 6.12). I believe this is due to Key_Escape not being defined as a mapped option in `KUrlNavigatorButton::keyPressEvent`. A preliminary test didn't alter the behavior though.
Confirmed on 6.3.3 as well as git-master
Can confirm, and will be fixed by https://invent.kde.org/frameworks/kio/-/merge_requests/1842.
MR https://invent.kde.org/frameworks/kio/-/merge_requests/1842 is actually unrelated to this one. The bug has been present for some time, not new to frameworks 6.12.0. I suspect it's simply because `Key_Escape` is not defined.
So you can still reproduce it with that merge request? I could not when I tested it.
*** Bug 500254 has been marked as a duplicate of this bug. ***
> So you can still reproduce it with that merge request? Yes, this is built against latest commit in that MR and I can reproduce. Gif attached to better illustrate. Wasn't aware there was a bug open already btw, sorry!
Created attachment 179640 [details] Location bar path truncation
I'm also able to reproduce this with Dolphin from git-master and kio built from https://invent.kde.org/frameworks/kio/-/merge_requests/1842.