I often need to use editable location. After using that, I forget to press a ESC and explore files in file panel. But then, I want to cancel the editable location, I need either press F6 or <C-L>+<ESC>. That's not very convenient. I hope I can press <ESC> to cancel that. Under other environment such as windows 7, the editable location is automatically canceled when lose focus. I prefer that behavior though. I do not need to press any key! Reproducible: Always
Note that it switches back to breadcrumb mode if you leave the location bar by pressing "Enter" (at least in Dolphin 4.11.0 and later).
Frank, if the URL navigator no longer has focus, you cannot close it by pressing Enter. This cannot be fixed in kfile. See also bug 323960 comment #2.
Thanks for the response! To state the problem more clearly, I hope 1. Add a option for 'swiches back to breadcrumb mode whenere URL navigator has no focue'. 2. If (1.) seems too intrusive even for an option, then it will be better if there exists a shortcut to exit even when URL navigator do not has focus. I think the editable location is not very useful when it does not have focus: in order to edit it, you still need to click a mouse or press <C-L> to get focus. Then why not just automacally exit editable location when losing focus?
(In reply to comment #1) > Note that it switches back to breadcrumb mode if you leave the location bar > by pressing "Enter" (at least in Dolphin 4.11.0 and later). That's great! Unfortunately KDE 4.11 my distro hasn't been marked as stable. I have to wait some time. But still, this wish is meaningful. Sometime people enter editable location may be just for copying URL, or part of URL if bug 323960 is fixed. In this situation, they do not press enter. Then user still needs a way to exit editable model "quickly".
(In reply to comment #2) > This cannot be fixed in kfile. Well, I guess the KUrlNavigator could switch back to breadcrumb mode when it receives a FocusOut event. But this would probably be very annoying for people who use the "editable" mode as default in Dolphin. The review request which implemented the "switch back to breadcrumb" thing when pressing Enter (https://git.reviewboard.kde.org/r/107748/) originally suggested to do it also when the location bar loses focus. However, I was afraid that this could cause some new annoying problems. To quote from my comment there: "However, I see a problem: when editing the URL and then switching to another application (maybe to look up a directory name), the URL navigator switches back to 'breadcrumb' mode. What's worse, if you un-focus the URL navigator while you're in the middle of entering something, the input is lost."
That seems reasonable since <Enter> should work in most situation. Then how about the original way: <ESC> to change it back even bar no longer has focus?
(In reply to comment #6) > Then how about the original way: <ESC> to change it back even bar no longer > has focus? It would be doable (provided the user has not set "editable location" as the default, of course). However, please note that Esc already does two different things (clear the selection, and cancel the current keyboard search), and that it has been suggested to make it also cancel the loading of the current folder (which probably makes sense). If Esc also switches the location bar back to breadcrumb mode, then pressing this key would have four different effects. I'm not sure if that would be good from a usability point of view.
Well, I'm the advocate to make both of the change. One can say that when people press ESC, they hope that the software will make everything back to default state and of course stop anything it is doing.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Can reproduce it. Operating System: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.7-arch1-1 (64-bit) Graphics Platform: Wayland