[PATCH] Turn Powerdevil suspend notification into a dialog

Sebastian Kügler sebas at kde.org
Wed Sep 23 11:37:44 BST 2009


On Wednesday 23 September 2009 01:49:37 David Nolden wrote:
> Am Mittwoch 23 September 2009 01:25:22 schrieb Sebastian Kügler:
> > You don't want to disturb the user, because you tell him "save your stuff
> >  NOW". The last thing you want in that situation is a dialog smacked onto
> >  the center of the screen.
> 
> Actually, given disk-caches etc. on linux, saving his stuff won't
>  necessarily  save the users data anyway (in case of power-loss). That
>  means that the main sense of that notification is asking the user as fast
>  as possible, and without a chance of missing it, whether the computer
>  should really be suspended (or shut down).

Wrong, the next disturbance is not a crash, but the computer suspending (no 
dataloss), or shutting down (no dataloss for things that haven't been saved, disk 
caches are flushed). This is what happens when you don't notice the notification.

When you dismiss it ("cancel suspend") you actually run the chance of losing data due 
to a crash, but that's not the point here -- you obviously did notice the 
notification when you dismissed it. :)
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090923/73960688/attachment.sig>


More information about the kde-core-devel mailing list