Notification spec issue: Ability to assign an icon *and* an image to a notification

Lubos Lunak l.lunak at suse.cz
Thu Jun 25 07:48:24 PDT 2009


On Thursday 25 of June 2009, Aurélien Gâteau wrote:
> Note that turning org.kde.VisualNotifications into
> org.freedesktop.VisualNotifications won't help you configure the way
> notifications are presented.
> To get to configure how notifications are shown through KNotify, you
> would need to make KNotify internal DBus interface the new spec.

 Which incidentally would be a very nice outcome of this all, eventually. A 
good reason not to block the name.

> At least the bubbles would integrate better into your desktop if we make
> KDE adopt o.fd.Notifications.

 I don't have any strong argument against supporting the Galago spec in KDE as 
a sort of a legacy support. I do have issues though with this discussion 
reminding me a lot of the first discussion those years back.

> And you can (and should) complain to 
> FooApp developer for spamming you with useless notifications.

 Right. I keep forgetting that there's always also the complicated way. I'm 
sure the developer will exactly agree with me on how FooApp should work.

> >> Suppose you are using a library which provides a class named Foo. This
> >> library has been in use for 5 years, but you think the class really
> >> should have been named FooBar. Would you ask the library maintainers to
> >> break binary compatibility to get the class renamed?
> >
> >  This is such a bad analogy in practice that I even don't know where to
> > start.
>
> Care to explain why class <=> DBus interface is a bad analogy? Both
> provides an API you can call, both have backward-compatibility concerns.

 I take that back, it's actually quite a good analogy:
- in both cases, things may break if reserved symbols are used by something 
that should not use them
- in both cases, there are technical means to do the rename while keeping 
backwards compatibility
- in both cases, things often break more often than once in 5 years anyway

> >> KDE developers use the KNotification class, other developers use
> >> libnotify. They don't care about the DBus name. Why change just for the
> >> sake of change, especially since not all parties consider this change to
> >> go in the right direction?
> >
> >  If they don't care about the name, the question then should be 'Why do
> > we need this discussion at all?'.
>
> Or maybe it should be "Why do some of you want to change it and create
> more work for themselves and for others?"

 To save us from more work, of course. If this was done properly in the first 
place, we wouldn't need this discussion now. If you want to know some of the 
reasons in more detail, please just see this thread.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 084 672
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz


More information about the xdg mailing list