Check Notification Server Abilities before sending Actions

Bug #1473185 reported by John Steeves
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Noise
Confirmed
Wishlist
Unassigned

Bug Description

I have installed Noise from the elementary OS trusty ppa (Stable) in Ubuntu 15.04, and the libsqlheavy as a .deb from the Utopic repositories (from here: http://packages.ubuntu.com/utopic/amd64/libsqlheavy0.1-0/download).

When using Noise in Unity, everything works perfectly except the notifications. Instead of showing up as a notification in the notify-osd popup (in the top-right corner), all notifications from Noise show up as warning dialogs. So any time music has been imported into the library or when a song changes while the Noise window is not in focus, a dialog (with OK and Cancel buttons) with a warning sign (exclamation mark) appears.

Changed in noise:
milestone: none → loki-beta1
no longer affects: ubuntu
Revision history for this message
Serito Senpai (mistape13-pc) wrote :

↑ Sorry for this ↑

Same problem in Ubuntu 15.10. I think it's all because Noise uses pantheon-notify for display notifications, but Unity uses notify-osd as default.

Cody Garver (codygarver)
Changed in noise:
importance: Undecided → Medium
Revision history for this message
Fabian Thoma (fabianthoma) wrote :

I believe this is because ubuntu ignores part of the notifications spec which specifies that

>The actions send a request message back to the notification client when invoked.
> This functionality may not be implemented by the notification server, conforming
> clients should check if it is available before using it (see the GetCapabilities message
> in Protocol). An implementation is free to ignore any requested by the client. As an
> example one possible rendering of actions would be as buttons in the notification popup.

They basically state that to not break legacy applications they show that ugly pop up, where they really should just ignore the actions. You can read more about this here: https://wiki.ubuntu.com/NotificationDevelopmentGuidelines#Avoiding_actions

We should probably check for this, but really it's only ubuntu that ignores this spec, so it's kind of low priority right now.

Changed in noise:
importance: Medium → Wishlist
milestone: loki-beta1 → feature-future
status: New → Confirmed
summary: - Dialogs appear instead of notifications
+ Check Notification Server Abilities before sending Actions
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.