Add a timeout to the reboot/poweroff ... confirmation dialog#315
Add a timeout to the reboot/poweroff ... confirmation dialog#315kreijack wants to merge 1 commit into
Conversation
Add a timeout to the confirmation dialog for - poweroff - shutdown - logout - hibernate - suspend If the timeout expires, it is considered like the user pressed Ok. The timeout is set on the basis of the "timeout_confirmation" settings: - -1 -> not timeout at all - 0 -> is like the dialog is not showed at all - 1... -> the dialog closes itself after the timeout set
|
Btw I think this message could be changed as it's not true anymore, with many applications which have crash recovery nowadays. |
Well it's worse to hope app recover and then they don't do it properly. At least user will double check. Anyway I like this change, only I don't have much time to review it now unfortunately. |
I don't like a timeout. |
It isn't only about crashes. An editor may or may not save changes on being terminated without prompt. Actually, some devs (like me) may believe that such a saving isn't good because there's no guarantee that the user wants to save a change to a document that he considers good, and saving to files with strange names might be confusing. |
Others do I guess. I don't use it either but it would not hurt. Default could still be 0. |

Add a timeout to the confirmation dialog for
The timeout is set on the basis of the
timeout_confirmationsettings:This patch is inspired to the current behavior in mate-desktop, where the confirmation dialogs have a timeout.
Also this patch correct a bug where the method
MessageBox::warningignorestitleandtext