From 7da7e4856dd803ec6973e10c29a881bc93f82961 Mon Sep 17 00:00:00 2001 From: Felix Ernst Date: Mon, 4 Nov 2024 02:06:29 +0100 Subject: [PATCH] Skip splitter in Tab order When moving through Dolphin by repeatedly pressing the Tab key, there is one seemingly invisible object that catches keyboard focus. On a default toolbar it receives keyboard focus between the "Details View Mode" button and the first button of the location bar. That object is the splitter of the location bar itself, which never requires manipulation by keyboard. This commit skips this object by setting its focusProxy to the primaryUrlNavigator() instead. --- src/dolphinnavigatorswidgetaction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dolphinnavigatorswidgetaction.cpp b/src/dolphinnavigatorswidgetaction.cpp index f45589dbb..36217ed09 100644 --- a/src/dolphinnavigatorswidgetaction.cpp +++ b/src/dolphinnavigatorswidgetaction.cpp @@ -34,6 +34,7 @@ DolphinNavigatorsWidgetAction::DolphinNavigatorsWidgetAction(QWidget *parent) m_splitter->setChildrenCollapsible(false); m_splitter->addWidget(createNavigatorWidget(Primary)); + m_splitter->setFocusProxy(primaryUrlNavigator()); m_adjustSpacingTimer->setInterval(100); m_adjustSpacingTimer->setSingleShot(true); -- 2.47.3