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

--- Comment #5 from Igor Kushnir <igor...@gmail.com> ---
When DocumentController::openDocumentsWithSplitSeparators() calls
Area::addView() during the steps to reproduce, it first splits a view, then (in
a recursive call to itself) inserts a new view at an index with zero views.
Usually a new view is inserted at an index with at least one other view. When
the user splits views via the tab bar context menu, another overload of
Area::addView() is called (with a viewToSplit paramater). Only
loadToAreaPrivate() in workingset.cpp appears to do something similarly
complicated as openDocumentsWithSplitSeparators(). Christoph Roick overhauled
that workingset code 2 years ago in
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/213. Perhaps similar
fixes are needed in openDocumentsWithSplitSeparators().

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

Reply via email to