Konsole with multiple tabs pops up an N open terminals warning on logout or shutdown.
STEPS TO REPRODUCE
1. Start a konsole and create more than one terminal/tab.
2. Logout or shutdown
Konsole raises a popup with "There are N open terminals in this window. Do you still want to quit?" It is impossible to respond sensibly because it is too late in the logout/shutdown sequence of activities.
Previous behavior did not bring up any dialog which seems to make sense given there is no way to respond sensibly.
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Seems similar to old Bug 127194 but it only just started happening this week. Does not happen if there is only one tab open.
That's not a bug in konsole though, IMHO.
IIRC, it started with the upgrade to Qt 5.14.0, and also affects other applications like Konqueror.
It's caused by this change in Qt 5.14:
(I built and installed Qt 5.14.1 with this change reverted, and the problem was gone)
What happens is that KMainWindow::tryClose() is called twice on logout now.
The first time qApp->isSavingSession() is true (and so konsole doesn't show the warning dialog), but the second time qApp->isSavingSession() is false (this didn't happen earlier, it causes the dialog to be shown now, but doesn't block the logout).
I suppose kxmlgui would need to be adjusted to that Qt change...
(In reply to Wolfgang Bauer from comment #2)
> What happens is that KMainWindow::tryClose() is called twice on logout now.
I mean KMainWindow::queryClose()...
*** Bug 418885 has been marked as a duplicate of this bug. ***
So it is a change in what plasma does when logging out?
(In reply to Allan Sandfeld from comment #5)
> So it is a change in what plasma does when logging out?
Ah right, read the comments again. So a change in how Qt closes applications.
Should be fixed by https://phabricator.kde.org/D29873
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/10
Fixed with https://invent.kde.org/frameworks/kxmlgui/-/commit/ab73c532cbcb16d9a3912670f021477dc25634fc in Frameworks 5.75!