[kde] [Bug 479029] Improper behavior on shutdown leading to data loss

Gabriel Barros bugzilla_noreply at kde.org
Tue Dec 26 13:35:34 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=479029

--- Comment #2 from Gabriel Barros <descartavel1 at gmail.com> ---
Also noticed that on wayland I do not get a close dialog for a unsaved `kate`
buffer. I'm knew about Sessions Errata, but did I read that wrong? Does that
errata also cause loss of data on shutdown and not just failure to save/restore
open windows?

I think for Konsole I've found the root cause (and will probably quit using it
ASAP)
https://invent.kde.org/utilities/konsole/-/blob/master/src/MainWindow.cpp?ref_type=heads#L674 
```
bool MainWindow::queryClose()
{
    // Do not ask for confirmation during log out and power off
    // TODO: rework the dealing of this case to make it has its own
confirmation
    // dialog.
    if (qApp->isSavingSession()) {
        return true;
    }
```

But that still doesn't explain improper shutdown of things like Ktorrent and
Kate on my wayland/systemd system

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list