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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/f31ffa6
                   |                            |8145884dc4798c44b3d5f25b128
                   |                            |e01ce0
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Méven <[email protected]> ---
Git commit f31ffa68145884dc4798c44b3d5f25b128e01ce0 by Méven Car.
Committed on 06/09/2026 at 07:27.
Pushed by meven into branch 'master'.

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.

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

https://invent.kde.org/system/dolphin/-/commit/f31ffa68145884dc4798c44b3d5f25b128e01ce0

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

Reply via email to