https://bugs.kde.org/show_bug.cgi?id=509525

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/-/commit/f31ffa6 |em/dolphin/-/commit/860adbd
                   |8145884dc4798c44b3d5f25b128 |62512f11b8e046c5d64da1767aa
                   |e01ce0                      |4cb99a

--- Comment #12 from Méven <[email protected]> ---
Git commit 860adbd62512f11b8e046c5d64da1767aa4cb99a by Méven Car.
Committed on 06/09/2026 at 10:48.
Pushed by meven into branch 'release/26.08'.

dolphintabpage: set the active split pane from the view that activated

slotViewActivated() toggled m_primaryViewActive rather than looking at which
view had emitted
activated(). That is correct only while the flag and the two views' own active
states agree. They
can diverge, and from then on the toggle sets the wrong pane active: the pane
the user clicked in
loses to the other one, and DolphinMainWindow follows the flag, so Ctrl+X puts
the other pane into
selection mode instead of cutting the selection.

Set the flag from the sender instead, and do nothing when it already names that
view. Toggling was
what kept the two states diverged once they had come apart.
(cherry picked from commit f31ffa68145884dc4798c44b3d5f25b128e01ce0)

M  +7    -2    src/dolphintabpage.cpp
M  +31   -0    src/tests/dolphinmainwindowtest.cpp

https://invent.kde.org/system/dolphin/-/commit/860adbd62512f11b8e046c5d64da1767aa4cb99a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to