[PATCH] Support for title in notifications

Aurélien Gâteau aurelien.gateau at canonical.com
Fri Apr 10 15:06:04 BST 2009


Olivier Goffart wrote:
> Le Torsdag 9 april 2009, Aurélien Gâteau a écrit :
>> Here is an updated version of the kdelibs patch, which features "@since
>> 4.3" marker and an attempt at an explanation regarding the use of titles.
>>
>> If you agree on this, I can also add support for title to the "log to
>> file" notification.
> 
> I still think the documentation is not explicit enough to make it clear that 
> this should not be used unless it is really needed.

I believe it should be used when it is helpful, not "only when really
needed". It helps the user by providing a short summary. Notifications
should aim at being as little annoying as possible. If the user can
"treat" the notification just by reading the title, it's a win for him.
 If it is not enough, he can read the full text.

> Can you tell me which application should change the title?

Here are a few examples, (title is enclosed with '*').

# Battery monitor

*Battery fully charged*
You have 3 hours autonomy left.

*Battery low*
Only 30 minutes left.

*Battery critical*
Only 2 minutes left.


# Network monitor

*Connected to FooBar network*

*Could not connect to FooBar network*
Please check this or that.

# Update monitor

*Updates availables*
32 packages can be updated

# Kopete

*Joe*
Hello, how are you?

(Another message arrives)

*Joe*
Hello, how are you?
Just installed latest KDE, it rocks!


# KDevelop

*Building project Foo failed*
bar.cpp:120: x is not a string

(would be mainly useful for continuous integration monitors)

# KOrganizer

*Release Meeting*
At 10:24, room 56

Aurélien




More information about the kde-core-devel mailing list