Bug 422912

Summary: Move focus to main view when hitting Esc key while editable location bar has focus
Product: [Applications] dolphin Reporter: Gregor Mi <codestruct>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: dolphin-bugs-null, nate
Priority: NOR    
Version First Reported In: 19.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gregor Mi 2020-06-13 12:38:27 UTC
I happen to find myself navigating through files with keys and then I would like to copy the current directory location to use it elsewhere. For this task I press Ctrl+L to focus the location bar and use Ctrl+C to copy the location string.
Later, I would like to continue navigating through the files. Currently, I see no easy way to go back to the main view using the keyboard.

WORKAROUND: use the mouse to focus the main view.

What I would expect:
- Press Esc goes from location bar edit mode to breadcrumb mode.
- Press Esc again goes from breadcrumb mode to main view focus.

Alternatively:
- Currently, Ctrl+L cycles between location bar edit mode and breadcrumb mode. Maybe, the 'main view focus' could be part of this cycle.
Comment 1 Nate Graham 2020-06-13 16:43:13 UTC
Hit the tab key. :)

But yes, moving focus back to the main view when hitting the escape key in the location bar would seem to make sense. Probably a pretty simple patch. Wanna submit one?