Version: (using KDE KDE 3.5.2)
Installed from: SuSE RPMs
Run the program. Open two tabs. Try to quit. There should be warning dialog, right? Cancel.
Now, power-off the computer. No warnings, no questions.
Nope. Only once. I checked it twice -- konsole, kspread, konqueror and kmail. Each has only one report for it.
I don't see how this can be done. For example, if the message popups with 'Quit', 'Close', 'Cancel' and the user hits Cancel, how can Konsole tell KDE/Kwin/KDesktop to stop logging out?
Also, if every app you have running (konsole,kspread,konq,kmail) pop ups a message box it will be confusing...
> I don't see how this can be done. For example, if the message popups with
> 'Quit', 'Close', 'Cancel' and the user hits Cancel, how can Konsole tell
> KDE/Kwin/KDesktop to stop logging out?
Try kate -- you'll find out (also kdevelop, kword, kpresenter, knode -- I did my homework today ;-D).
> Also, if every app you have running (konsole,kspread,konq,kmail) pop ups a
> message box it will be confusing...
a) better confusion than losing data
b) it would happen if only you have modified data in all apps
c) it wouldn't be at once
d) see (c) -- so if you would like to stop shutting down the computer you only need to cancel one app question
By "Power Off", I hope you mean K Menu -> Log Out -> Turn Off Computer.
No, sorry. The power-off button (soft power-off of course) on the computer.
Konsole should likely use queryClose from MainWindow.
1. Traverse all sessions
2. Detect if a program is running in a session, if so popup a message asking to Cancel shutdown.
3. If user cancels shutdown do not close any sessions
Git commit 3309e5b12280b27a6e632f9c5e43a38f8f0791bf by Kurt Hindenburg.
Committed on 28/01/2012 at 19:15.
Pushed by hindenburg into branch 'master'.
Open close query when logging out with >1 sessions running.
This causes the close query dialog to be display when exiting Konsole
and logging off the system.
Ideally we should be looking on what's running, not the # of sessions.
M +4 -2 src/MainWindow.cpp
Git commit 1ab2fc1b20885a9b82f6c5ca3f3c28876ec849f9 by Jekyll Wu.
Committed on 09/06/2012 at 23:40.
Pushed by jekyllwu into branch 'master'.
Do not ask for confirmation of closing when logging out.
This effectively reverts the change which was made to ask for
confirmation when powering off. That issue needs to be reworked in
next feature release, but for now just revert it since the current
implementation should cause more annoyance than benefit.
Related: bug 301458
M +8 -0 src/MainWindow.cpp
Reopen it since the previous fix is effective reverted now. This issue should be revisited and reworked for next feature release.
On konsole 20.08.1 closing it with more than one tab open prompts the user. Please confirm this is fixed so we can resolve this.