Bug 294674 - Exiting the embedded Konsole window should not exit Kate
Summary: Exiting the embedded Konsole window should not exit Kate
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: kpart (show other bugs)
Version: 2.7.4
Platform: Unlisted Binaries Linux
: NOR major
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 11:02 UTC by Dotan Cohen
Modified: 2012-03-05 01:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2012-02-23 11:02:06 UTC
When typing "exit" in an embedded Konsole pane, the console should close and Kate should not exit. In other words, this should have the same effect as closing the Konsole pane.

Marking as "Severity: Major" as this is a dataloss issue. Kate does not ask for confirmation of saving edited files when exiting in this case.
Comment 1 Dominik Haumann 2012-02-23 17:42:35 UTC
That's strange: when I type `exit` or press ctrl+d, the pane closes, and Kate does not exit. Is this a distribution issue? What KDE version are you using?
Comment 2 Dotan Cohen 2012-02-23 18:03:29 UTC
Kubuntu 11.10, KDE 4.7.4

For me the issue is completely reproducible.
Comment 3 Dotan Cohen 2012-02-23 18:04:14 UTC
$ kde4-config -v
Qt: 4.7.4
KDE Development Platform: 4.7.4 (4.7.4)
kde4-config: 1.0
Comment 4 Jekyll Wu 2012-02-23 18:13:29 UTC
I failed to reproduce the reported problem. And the problem sounds mysterious/impossible to me :)

Start Kate from terminal(konsole or any other emulator), see whether these is any interesting information printed when Kate "exits" due to the embedded konsolepart.
Comment 5 Dotan Cohen 2012-02-23 18:17:11 UTC
✈saturn:~$ kate
Object::connect: No such slot KateExternalToolsPlugin::viewDestroyed(QObject*)
kate(20363)/konsole Konsole::Session::run: Attempted to re-run an already running session. 
kate: symbol lookup error: /usr/lib/kde4/libkonsolepart.so: undefined symbol: _ZN7Konsole14SessionManager9saveStateEv
✈saturn:~$
Comment 6 Jekyll Wu 2012-02-23 18:38:29 UTC
Did you compile konsole from source code by yourself? The message implies that libkonsolepart.so and libkonsoleprivate.so does not match. Please check how you compiled and installed konsole.

In the code of Konsole, the name Konsole::SessionManager::saveState() is no longer there since KDE SC 4.8. But it should be still there in KDE SC 4.7.4.