[konsole] [Bug 442238] Closing a DnD'd view also closes the window it came from

nsprangers at gmail.com nsprangers at gmail.com
Sat Sep 11 08:49:56 BST 2021


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

--- Comment #5 from nsprangers at gmail.com <nsprangers at gmail.com> ---
I was able trace it to this commit on 21.08 branch
https://invent.kde.org/utilities/konsole/-/commit/58d526f83b924732b8c82306fcc177f0bbe63295

AFAICT the issue is that both ViewManagers are hanging onto the session after a
dnd, so that commit is just causing both to hit empty() in sessionFinished
(kind of expected I think, but I was able to verify it).

I can see how ViewManager disconnects from sessions when *detaching* a view or
tab, but I don't see how they are supposed to be released after drag-and-drop.

Both the ViewSplitter and SessionController from the source window get deleted,
so maybe there's a missing connection to one of those signals?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list