[PATCH] Support for title in notifications

Olivier Goffart ogoffart at kde.org
Fri Apr 10 15:27:56 BST 2009


Le Fredag 10 april 2009, Aurélien Gâteau a écrit :
> 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 '*').


I think you might have convinced me.
But this is a behaviour change, and each application has to be updated.

I would even change the api and rename the 'text' as a 'body'

> # Kopete
>
> *Joe*
> Hello, how are you?
>
> (Another message arrives)
>
> *Joe*
> Hello, how are you?
> Just installed latest KDE, it rocks!

Title should be *Incoming message from Joe*





Oh, and where do you put the name of the application then?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090410/2b8d9773/attachment.sig>


More information about the kde-core-devel mailing list