[PATCH] Detecting notification popup server capabilities

Sebastian Trüg trueg at kde.org
Fri Aug 28 15:16:27 BST 2009


sounds like a weird solution to me. What are apps supposed to do in such a 
case? Just not add actions? That can be handled on another level I suppose.
And if they go for another solution we would soon have several apps either 
implementing their own notification system with actions or sharing one, 
essentially going back to the old ways without a spec. :P

The real solution would of course be actions in the spec but, oh well...

Cheers,
Sebastian

On Friday 28 August 2009 16:01:55 Aurélien Gâteau wrote:
> Hi,
>
> As you (may) know, KDE visual notifications (aka popup or bubbles) are
> now using FreeDesktop notification spec, this makes it possible for a
> GNOME app running on KDE to have its notifications displayed by Plasma,
> or for a KDE app running on GNOME to have its notifications displayed by
> notification-daemon (the original implementation) or notify-osd (Ubuntu
> implemention of the spec).
>
> You may also know that notify-osd is (in)famous for not supporting
> notification with actions. A side effect of this is that KDE
> applications running on a desktop which uses notify-osd now gets ugly
> dialog boxes whenever they try to show a notification with actions.
>
> The attached patches add a new static method to KNotification:
> popupServerCapabilities(). This method makes it possible for KDE
> applications to check what the notification server supports and act
> accordingly.
>
> What do you think about them? Can they go in?
>
> Aurélien


More information about the kde-core-devel mailing list