[PATCH] Turn Powerdevil suspend notification into a dialog

Sebastian Kügler sebas at kde.org
Tue Sep 22 15:09:51 BST 2009

On Tuesday 22 September 2009 14:19:57 Aurélien Gâteau wrote:
> What do you think about this?

NAK. The notification comes from the system, the workspace (which is where powerdevil 
lives) not from an application, it's also where other notifications of system 
hardware state come from (network connected, power connected, ...) that's where it 
should stay. Having it in a notification, and thus always in the same location 
actually makes it a lot easier to find the dialog, especially when you're in a hurry.
Making it a dialog would be a step back IMO as it looks less integrated and those 
small dialog windows tend to get lost behind other windows. From my point of view, a 
dialog is a no-go here. Besides, this is the exact use case why we do have actions on 
notifications. We should not move it do dialogs at any price only to not need actions 
on notifications (like the Ayatana spec requires). I've shared my view on this 
particular piece of the Ayatana spec more than once already, and I'd rather not 
repeat it over and over.

> The second patch increases the default timeout from 10 seconds to 30 
> seconds, giving the user more time to react.

OK from my POV, but probably 20 seconds is also enough. I've never missed to cancel a 
suspend even with it being 10 seconds. (Maybe this part of the patch is a sign that 
it now takes you longer to locate the cancel action?)

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/20090922/fff3d239/attachment.sig>

More information about the kde-core-devel mailing list