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

--- Comment #4 from Waqar Ahmed <[email protected]> ---
Git commit b101c5d0c717177c9fbb35bfa52b3e2f72bdaffd by Waqar Ahmed.
Committed on 15/10/2026 at 07:36.
Pushed by waqar into branch 'master'.

Return widgets without a tab from KateViewSpace::widgets()

With a tab limit, widgets can live in a view space without having a tab.
widgets() only looked at the tab bar, so closing a view space deleted
these widgets without emitting widgetRemoved. The tab switcher kept the
dangling pointers and crashed on the next Ctrl+Tab. The same list is used
to ask widgets whether they can be closed and to remove widgets on
session switch.

Use the registered documents of the view space instead.

M  +55   -0    apps/lib/autotests/kate_view_mgmt_test2.cpp
M  +3    -3    apps/lib/kateviewspace.cpp

https://invent.kde.org/utilities/kate/-/commit/b101c5d0c717177c9fbb35bfa52b3e2f72bdaffd

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

Reply via email to