On phone, alarms being shown without dismiss/show buttons
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-datetime (Ubuntu) |
Fix Released
|
Undecided
|
Charles Kerr | ||
unity-notifications (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Reported by Popey @ http://
Part of the cause for this is fairly straightforward. The code that generates the snap decision is shown at http://
The relevant bit is that the two actions are added to the notification only if (mode == NOTIFY_MODE_SNAP):
> auto nn = notify_
> if (mode == NOTIFY_MODE_SNAP)
> {
> ...
> notify_
> notify_
> ...
> }
> ...
> notify_
Where the mode is chosen based on this:
i.e., if the notification server doesn't say that it supports actions, we fall back to bubble notification instead. That also may explain the reports of no sound being played, since we don't play sounds unless the popup can be dismissed.
(This no-buttons-
I see a TODO item in indicator-datetime would be to add some debugging information here so that we can report exactly what server caps we got back from libnotify. In addition, since this is being reported at the same time that davmor2 is reporting bug #1295237, I think it makes sense to pull unity-notifications into this for more pairs of eyes.
Related branches
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 20 lines (+8/-0)1 file modifiedsrc/snap.cpp (+8/-0)
Changed in indicator-datetime (Ubuntu): | |
status: | New → Triaged |
description: | updated |
This bug was fixed in the package indicator-datetime - 13.10.0+ 14.04.20140321- 0ubuntu1
--------------- 0+14.04. 20140321- 0ubuntu1) trusty; urgency=low
indicator-datetime (13.10.
[ Charles Kerr ] notification_ show() fails, we shouldn't play the alarm tions. So the
* If we notify_
sound. The alarm sound loops until the user dismisses it, which will
never happen if we can't talk to unity-notiifica
outcome in this error case is that the alarm plays forever and can't
be dismissed by the user. (LP: #1295237)
* Add debug logging of what capabilities the notification server said
it supports. (LP: #1295271)
-- Ubuntu daily release <email address hidden> Fri, 21 Mar 2014 05:23:04 +0000