]> cloud.milkyroute.net Git - dolphin.git/commit
Always focus the view after place activation
authorFelix Ernst <felixernst@zohomail.eu>
Fri, 29 Nov 2024 17:57:37 +0000 (18:57 +0100)
committerFelix Ernst <felixernst@kde.org>
Wed, 4 Dec 2024 13:19:48 +0000 (13:19 +0000)
commitc073cd3c9ac8fc91f4aafe1aefba70ccac7905b1
tree79862cfbf73c8279f9a0c75d00eab87af682fee3
parent79a71ae1839b1a68c61f2020fdfd37175d59cf06
Always focus the view after place activation

This one-liner makes sure keyboard focus always moves to the active
view when a place in the places panel is activated. Previously
focus would remain on the places panel if the activated location
was identical to the already displayed location.

This added consistency is helpful because keyboard-only users will
get used to be able to move from the places panel to the view by
pressing the Enter key, even though this does not always work
prior to this commit.

This issue was identified in an accessibility scan done by HAN
University of Applied Science.
src/dolphinmainwindow.cpp
src/tests/dolphinmainwindowtest.cpp