After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597124 - Should make better use of libnotify actions
Should make better use of libnotify actions
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Notifications
unspecified
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
Depends on: 589408
Blocks:
 
 
Reported: 2009-10-02 14:48 UTC by Guillaume Desmottes
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/notif-buttons-597124 (5.40 KB, patch)
2010-07-06 12:50 UTC, Guillaume Desmottes
reviewed Details | Review

Description Guillaume Desmottes 2009-10-02 14:48:01 UTC
Bug #589408 added a "Respond" button to all libnotify bubbles (when supported by the notifications daemon).
This works fine with chat events but not really for others kinds of events. For example, if you receive a audio/video call event, clicks on the "Respond" button, the call isn't accepted; instead another dialog is displayed asking if we wants to accept or decline the call.
The libnotify bubble should have a "Accept" and "Decline" buttons and display the dialog only if those buttons have not been pressed.

Marking this as a blocker for 2.30 as that's an important UI issue.
Comment 1 Xavier Claessens 2009-10-05 07:11:43 UTC
Activating a notification does not accept anything. If the even needs an accept to join a chatroom, or accept an auth request, you'll get a dialog asking yes or no... If you activate an even, you just get the chat window, you can still just close it.

On windows clicking the bubble activate the even AFAIK. The only reason empathy does not do that already, is because the needed API to know if it was closed because of timeout or because of user click was too recent in libnotify... and I made a crap #ifdef that obviously does not work...
Comment 2 Guillaume Desmottes 2009-10-05 11:11:45 UTC
I'm not convince that poping a chat window to the user when clicking on the bubble is the right things to do.

Anyway, as said in this, we plan to add more specific buttons to the notifications depending on its type.
Comment 3 Michael Monreal 2009-10-21 20:51:02 UTC
(In reply to comment #0)
> The libnotify bubble should have a "Accept" and "Decline" buttons

IMHO this is exactly what it should _not_ have... anyway, this seems like a thing that needs gnome-shell integration and should therefore be discussed with the gnome-shell designers for 3.0?
Comment 4 Oscar RdG 2009-10-23 17:03:34 UTC
I agree with Michael.

That feature should be integrated with gnome-shell, not just with the notifications bubbles, as for example ubuntu's notify-osd is not using actions on notifications (something that i like, btw).

Just my 2 cents...
Comment 5 André Klapper 2009-10-28 17:16:45 UTC
Currently 17 Empathy tickets are set as GNOME 2.30 blockers, hence mass-removing.
Guillaume: Please use normal Target Milestones instead. If you really think that this specific issue here is a 2.30 blocker then please restore the GNOME target and set corresponding importance values.
Comment 6 Guillaume Desmottes 2010-02-16 13:35:04 UTC
*** Bug 610032 has been marked as a duplicate of this bug. ***
Comment 7 Guillaume Desmottes 2010-07-06 12:50:55 UTC
Created attachment 165355 [details] [review]
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/notif-buttons-597124

 src/empathy-event-manager.c |   31 +++++++++++++++++++-
 src/empathy-event-manager.h |    5 ++-
 src/empathy-status-icon.c   |   65 +++++++++++++++++++++++++++++++++++-------
 3 files changed, 87 insertions(+), 14 deletions(-)
Comment 8 Danielle Madeley 2010-07-07 03:38:47 UTC
Review of attachment 165355 [details] [review]:

++
Comment 9 Guillaume Desmottes 2010-07-07 08:04:15 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.