https://bugs.kde.org/show_bug.cgi?id=354724
Thomas Lübking <thomas.luebk...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas.luebk...@gmail.com --- Comment #8 from Thomas Lübking <thomas.luebk...@gmail.com> --- I don't know whether there's a QTBUG reported, but the problem is that QGuiApplication tries to ::tryCloseAllWindows() in QGuiApplicationPrivate::commitData() This is plain wrong, since the window should NOT be closed as long as the session is running. If the session survives for some reason, you'd end up with a half-destroyed environment. => Window closing and process termination has to happen by the smserver once it's clear that the session is gonna end. What the routine *wanted* to do was to send close events to all toplevel widgets (to allow clients to perform last clean-ups, data storage etc.) and check whether all events are accepted. If not, that means some client wanted some window to remain open and that should break the session termination, but without having closed half other windows and maybe some processes before. Don't you dare to call window->closeEvent() directly, the client logic may be in some eventfilter ;-) -- You are receiving this mail because: You are watching all bug changes.