Bug 160997

Summary: Exiting detached view exits other windows as well
Product: [Applications] konsole Reporter: Henrik Pauli <henrik.pauli>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Henrik Pauli 2008-04-19 02:18:19 UTC
Version:           2.0 (using KDE 4.0.3)
Installed from:    Ubuntu Packages

When I type exit in a detached view, and the session closes — the other window will close all sessions as well and exit.  There’s also no confirmation dialog, as in the new window there’s only one session open.

In fact, if I start Konsole a few times, and exit one of them, the rest will quit too!
Comment 1 Robert Knight 2008-04-19 12:34:43 UTC
I couldn't reproduce this here.  Can you run Konsole from another terminal, with no other Konsole windows open and see if any debugging messages are printed when it closes unexpectedly.
Comment 2 Henrik Pauli 2008-04-19 15:54:17 UTC
ralesk@eretnek:~$ /usr/lib/kde4/bin/konsole
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
konsole(6886) KShortcut::KShortcut: unusable primary shortcut sequence  ""
ASSERT: "view != 0" in file /build/buildd/kdebase-kde4-4.0.3/apps/konsole/src/ViewManager.cpp, line 347
konsole(6886) Konsole::SessionManager::setDefaultProfile: setting default session type to  "Shell.profile"
Comment 3 Dario Andres 2008-12-21 21:01:06 UTC
Can you still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / 4.2svn) ?  Thanks :) 
Comment 4 Henrik Pauli 2008-12-22 00:13:28 UTC
(In reply to comment #3)
> Can you still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 /
> 4.2svn) ?  Thanks :) 
> 

Though this is a different distro I'm doing this on now (Opensuse as opposed to the Ubuntu when I reported the bug), I can say that the 4.1.82 I have doesn’t do this anymore.