[PATCH] Turn Powerdevil suspend notification into a dialog

David Nolden zwabel at googlemail.com
Thu Sep 24 21:03:38 BST 2009

Am Donnerstag 24 September 2009 21:44:35 schrieb Matthew Woehlke:
> Alex Merry wrote:
> > On Wednesday 23 September 2009 23:24:43 you wrote:
> >> David Nolden wrote:
> >>> Better would be priorities like: Minor, Major, Critical, where plasma
> >>> should make sure that 'Critical' notifications are _always_ noticed be
> >>> the user, in whatever ways, and the others could be configurable. Major
> >>> could be something like "Got message from ..." in kopete, and minor
> >>> could be something like "Person ... went online".
> >>
> >> I would think more categories than that. I'd expect a network error to
> >> be higher importance than an incoming message, yet it isn't critical.
> >> (I'd like to reserve 'critical' for things that really are, e.g. system
> >> is about to turn off :-).)
> >
> > The problem with adding too many classifications is that developers don't
> > know how to classify any given notification.  Is Frobbling a Quite Major
> > or Very Major (or only Moderately Major) notification?
> >
> > Maybe making them more semantic would be better.  Informational (eg: user
> > came online), Alert (eg: user is chatting to you), Error (eg: can't
> > connect to the network), Critical Error (your computer is about to go
> > bang).
> Those work. I was thinking of something similar, but didn't come up with
> a suggestion I liked sufficiently to share. And yes, the "levels" should
> be limited to about five... just so there are more than three :-).

But those again don't make clear how important they are. Is it an unimportant 
information a la "KWeather: It's windy in Peking" or an important information 
a la "KMyMoney: Invested in Microsoft, all money gone"..

And if you have 5 priorities, what do those mean, why are they needed? It 
doesn't make sense to have different priorities that are treated the same, and 
I can only think of 3 useful priority treatments:
- Priority 0: Only show a popup if the user has configured it, else just 
indicate in the icon that something happened
- Priority 1: Show a popup, except when in "Presentation" mode
- Priority 2: Show a popup, blink, beep, whatever, make sure the user notices 

Greetings, David

More information about the kde-core-devel mailing list