This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dungeon keeper style notifications

97

Votes
107
10
Tags: plasma, notification plasma, notification plasma, notification
(comma "," separated)
User avatar
agateau
Moderator
Posts
97
Karma
0
OS

Dungeon keeper style notifications

Fri Oct 30, 2009 10:28 am
waldelf wrote:thank you very much for this information.. i think the patch for kde apps to make it possilble for them to respect the setting of the DE will be integrated sooner or later.. this is basic an essential to follow the free deskop specs i think.. correct me if im wrong..


I would like to, but I think the discussion is closed on this subject.

waldelf wrote:but since ayatana does something similar to what the "original" notifications in kde do the question remains why don't you just extend kde notifications to work with pidgin and other gnome apps.. i do not think kde needs two types of notifications.. (maybe the kde devs agree and therefore just dissed you)


Hey, I did just that :)

My work with notifications on Kubuntu was made of two parts:

1. Cross desktop notifications

I continued what the Plasma devs started: using the same notification protocol for GNOME and KDE applications. Right now if you run Pidgin on your KDE desktop, its notifications will show up using Plasma. See Kubuntu Karmic release announcement: http://www.kubuntu.org/news/9.10-release

This has been integrated upstream, so KDE4.4 will have support for cross-platform notifications on all distributions. We just backported it to KDE4.3.

2. Ayatana notifications

This is what you select in the system tray configuration dialog, but it only affects how the notification is presented. I realize now that using the term "KDE notifications" for the regular one was not a good choice.
When you select "Ayatana notifications" applications still use the KDE notification infrastructure, it only means that the system tray, which is responsible for displaying visual notifications, displays them a bit differently.
User avatar
waldelf
Registered Member
Posts
333
Karma
0
OS

Dungeon keeper style notifications

Fri Oct 30, 2009 11:40 am
i see.. so now the only problem is, that when selected to display notifications throug ayatana the kde apps will still sometimes rely on the "actions" displayed (which won't be displayed because of ayatana) so the kde apps have to be aware of the selected display method and choose anoter way to display their "action dialogs"..

but.. sorry (maybe i missed something).. i still don't get it -- why use ayatana in kde (display them a bit differently) and not the "original" ?? since there is already a notification system in kde there is no need for a new crossplattform notification.. (i agree that there is a need to support them)

isn't this kind of redundant work.. thats what i ment with extend kde notifications.. actually i ment "extend the way or the possibilities to display them" whats the problem with the original way to diplay notifications?

thx for your effords to help me understand :-) and sorry if i totally missed the point.


Kubuntu 12.04 x64 | KDE SC 4.8
Nvidia 8800 GTS | Core2Duo E6600 | 4 GB RAM
User avatar
agateau
Moderator
Posts
97
Karma
0
OS

Dungeon keeper style notifications

Fri Oct 30, 2009 1:07 pm
waldelf wrote:i see.. so now the only problem is, that when selected to display notifications throug ayatana the kde apps will still sometimes rely on the "actions" displayed (which won't be displayed because of ayatana) so the kde apps have to be aware of the selected display method and choose anoter way to display their "action dialogs"..


That's it.

waldelf wrote:but.. sorry (maybe i missed something).. i still don't get it -- why use ayatana in kde (display them a bit differently) and not the "original" ?? since there is already a notification system in kde there is no need for a new crossplattform notification.. (i agree that there is a need to support them)

isn't this kind of redundant work.. thats what i ment with extend kde notifications.. actually i ment "extend the way or the possibilities to display them" whats the problem with the original way to diplay notifications?


Ayatana is not code, it's an initiative to innovate on the Linux desktop. As such, what you see in Kubuntu Karmic is an implementation of Ayatana ideas on notification, using KDE technologies. It builds on the KDE notification system.

Notifications in KDE works like this:

KDE Application -> knotify -> plasma-widget-systemtray -> notification widget

When you enable Ayatana notifications, you just change the last step of the chain: plasma-widget-systemtray will create a passive, click-trough notification instead of an active sliding-out-from-the-widget one.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]