diff options
| author | Felix Ernst <[email protected]> | 2026-06-16 22:08:24 +0200 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2026-06-16 22:08:24 +0200 |
| commit | 12b4a8a91e0b9b8dd00816b5fb84e8e09000afcd (patch) | |
| tree | ce2d2a94849f33dacbbb0fe484387b107aab59b0 /src/dolphintabwidget.h | |
| parent | 64d3f0756f096bb3632248b1535cb58767b2d1b0 (diff) | |
Add "Focus Other View" action
Replace the setting "Switch between views with Tab key" with a
dedicated "Focus Other View" action (which can be bound to the Tab key
if the user wants to).
The "Focus Other View" action moves the keyboard focus to the inactive
split view. When there is no other view, split view is triggered
instead. The action is located in `Menubar>View`.
### Motivation
The Tab key is essential for keyboard navigation within an application.
The old "Switch between views with Tab key" setting forces users to
give up on the intended purpose of the Tab key, which means many
keyboard-bound users currently do not have a way to switch between
views when using the "Split" feature. The dedicated "Focus Other View"
action gives users more control, and they can change the keyboard
shortcut as they are used to.
Diffstat (limited to 'src/dolphintabwidget.h')
| -rw-r--r-- | src/dolphintabwidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index ca101e2db..5d3e84c0a 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -196,6 +196,9 @@ public Q_SLOTS: /** Moves all selected items to the inactive view. */ void moveToInactiveSplitView(); + /** Moves keyboard focus to the inactive view, making it the active view. */ + void focusInactiveSplitView(); + private Q_SLOTS: /** * Opens the tab with the index \a index in a new Dolphin instance and closes |
