[PATCH] Turn Powerdevil suspend notification into a dialog

Ingo Klöcker kloecker at kde.org
Wed Sep 23 23:40:10 BST 2009


On Tuesday 22 September 2009, Aurélien Gâteau wrote:
> In case you missed it, an earlier discussion about notification
> capabilities on this list diverged a bit on Powerdevil suspend
> notification. I am referring to the notification which appears when
> your laptop is running out of battery. Powerdevil shows a
> notification to tell you it will suspend the machine in a few
> seconds, unless you click the "Cancel" button of the notification.
>
> I believe this is one of the few cases where using a dialog is more
> appropriate than using a notification because the system is about to
> do something very drastic, so it should ensure the user does not miss
> it.
>
> The dialog approach has a drawback though: it can steal the focus,
> resulting in the user accidentally triggering one of the dialog
> buttons if the dialog receive a keystroke intended for the previously
> active window.

I haven't read all messages in this thread, so maybe this has already 
been asked by someone else:
How does Mac OS X notify the user when her laptop is running out of 
battery?
How does Windows Vista or Windows 7 notify the user when his laptop is 
running out of battery?

If neither Mac OS X nor Windows use a dialog then I'd say that this is a 
strong indication that a dialog is not the right solution for the 
problem.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090924/3848d8ee/attachment.sig>


More information about the kde-core-devel mailing list