Bug 69302

Summary: Closing a detached session re-attaches it to former parent
Product: [Applications] konsole Reporter: Dik Takken <kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: jcea
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dik Takken 2003-11-29 23:02:52 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
OS:          Linux

When you detach a Konsole session and press the close button (the one on the window-decoration), you would expect the session to be closed. Instead, it re-appears on the parent that it was previously detached from.
Comment 1 Tommi Uimonen 2003-12-07 22:50:10 UTC
And after clicking some other shell tab at the same window where the konsole was detached, konsole crashes.

Reproducible:

Start konsole. Create another shell tab (from lower left corner), detach it (RMB @ shell window -> Detach -> type exit at the detached konsole (it re-appears to the parent) -> click the other shell tab -> CRASH
Comment 2 Tommi Uimonen 2003-12-07 22:54:55 UTC
NOTE!

Clicking the close button (to attach detached konsole back) is not enough to reproduce the crash, you _must_ type exit at the detached console.
Comment 3 Stephan Binner 2003-12-18 23:25:33 UTC
The crash is fixed, and the behavior is as my mad mind invented it. :-)
Comment 4 Kurt Hindenburg 2004-09-09 01:46:47 UTC
It no longer crashes, but the behavior is odd:
1. typeing exit on a detached session -> deletes sessions
2. pressing the X on the detaches session -> reattaches the session

Strange.  If this is the desired result; close this bug.
Comment 5 Kurt Hindenburg 2004-09-09 02:00:07 UTC
Note that this is similar to Bug 59372
Comment 6 Kurt Hindenburg 2005-01-04 16:00:13 UTC
In KDE3.4, re-attaching a de-attached session is no longer possible per waba.