Review Request 127125: [plasmashell] Disable Qt's fallback session management

Wolfgang Bauer wbauer at
Sat Feb 20 14:51:20 UTC 2016

This is an automatically generated e-mail. To reply, visit:

Review request for Plasma and Andreas Hartmetz.

Bugs: 349805

Repository: plasma-workspace


Currently plasmashell is closing too early on logout, so if the logout is cancelled there will be no usable desktop any more.
This fixes it by disabling Qt's fallback session management that closes all application windows in response to the session management's save state request when Qt 5.6 or later is in use.


  shell/main.cpp 49ea484 



Have a kwrite window with unsaved changes open and logout.
Kwrite will warn the user about the unsaved changes.

Previously, the desktop disappeared while kwrite's warning dialog was displayed, and was gone even if the user clicked "Cancel" to abort the logout.
With the patch, the desktop stays until logout is really confirmed, and is still usable if the user clicks "Cancel".


Wolfgang Bauer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Plasma-devel mailing list