Bug 153865 - When the shell exits in the built-in terminal, kate starts another
Summary: When the shell exits in the built-in terminal, kate starts another
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-11 20:08 UTC by Ivo Anjo
Modified: 2007-12-19 16:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivo Anjo 2007-12-11 20:08:31 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Now that the exit bug is fixed (#153646), I was able to notice this one, similar to dolphin's bug #153648, but I don't know if this can be fixed kde-wide or per-application.

When typing "exit" on the terminal pane inside kate, the pane doesn't hide, and instead starts a new shell. 
 
I think when exiting, the terminal panel should disappear (see kate and konqueror on kde3).
Comment 1 Thomas Friedrichsmeier 2007-12-12 13:30:03 UTC
Probably this will need adjustments both in katepart and per application. Hence CCing konsole-devel and Peter Penz (listed as assignee in bug #153648).

I think it's not entirely unreasonable for the konsolepart to restart when the (last) session has closed, instead of self-destructing, so this behavior could be left up to the embedding application.

If this is the desired behavior, however, what would be needed, is a signal in the konsolepart that informs the host when this happens (e.g. doingRestart() emitted as the first thing in Part::restart(), so the hosting app can decide whether to hide the terminal window or not. Of course in a second step, dolphin and kate would need to be adjusted to actually listen for and respond to this signal, which is why I'm just CCing instead of re-assigning.
Comment 2 Thomas Friedrichsmeier 2007-12-19 16:24:35 UTC
Fixed (in the konsolepart) in SVN revision 750276 by Rafael Fernández López.