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

Taskbar notifications

4

Votes
4
0
Tags: None
(comma "," separated)
rku
Registered Member
Posts
9
Karma
0

Taskbar notifications

Sat Jun 11, 2016 8:24 am
Be great if we could have unread notification indicator on taskbar items. Think badge with a number much like org.kde.JobViewServer.requestView dbus call adds now, except we should be able to have our applications add those notifications at will. Optionally raising window could clear that badge with number of unseen events.

Usecases: new email count on mail application pinned to taskbar, new messages count for instant messengers, unread notifications count for browser (should you subscribe to desktop events of webpage) and so on.

Great thing is that we are already half-there with badges being implemented for file copying progress. Now we just need exposing that interface to users in a bit more friendly manner so application developers can make a dbus call and have plasma display notification count in the taskbar. At the moment we can probably call org.kde.JobViewServer.requestView with dbus-send (although i have not managed to do that yet) and have notification count increased. However it has ugly side-effect of progress bar in notifications panel (like when copying file) and raising application window does not clear it.

Edit:
Essentially i am talking about this:
Image

Which is achieved by:
Code: Select all
dbus-send --session --print-reply --dest=org.freedesktop.Notifications /DataEngine/applicationjobs/JobWatcher org.kde.JobViewServer.requestView string:"thunderbird" string:"" int32:1


Except there should be no side-effect of pending notification in "Notifications" tray applet as well as number should be cleared by raising application window or maybe manually.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]