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

Pan Zhang <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/66e66b7
                   |                            |c2881cfb182ec4bf0b18a959371
                   |                            |748300
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Pan Zhang <[email protected]> ---
Git commit 66e66b7c2881cfb182ec4bf0b18a959371748300 by Pan Zhang.
Committed on 11/05/2026 at 10:05.
Pushed by meven into branch 'master'.

dolphintabpage: drop swapActiveView in RightView close path

The RightView case in setSplitViewEnabled(false) called swapActiveView() when
the secondary (right) pane was active. After the swap, m_primaryViewContainer
pointed to the right pane—the same object already stored in view—so the
subsequent m_primaryViewContainer->setActive(true) activated the pane about to
be removed, leaving the left pane orphaned as secondary.

Since the left pane is always the surviving view and already the primary, no
pointer swap is needed. Remove the conditional swap so that closing the right
pane always leaves m_primaryViewContainer pointing at the left pane, regardless
of which pane was active.

M  +0    -3    src/dolphintabpage.cpp

https://invent.kde.org/system/dolphin/-/commit/66e66b7c2881cfb182ec4bf0b18a959371748300

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

Reply via email to