Ticket #216 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

don't use a status icon when the notification server supports persistence

Reported by: mccann Owned by: twaugh
Priority: minor Milestone: 1.3
Component: Main Application Version: 1.2.4
Keywords: Cc:
Blocked By: Blocking:

Description

Newer notifications servers (gnome-shell, or notification-daemon >= 0.6.0) support persistence of notifications. This means that a bubble won't just disappear after it is shown - it will stay until it is seen/addressed/acted upon. This means we don't have to rely on a status icon to provide the persistence for the message. In fact we should remove the status icons since they will provide a confusing duplication of this information.

On top of that, GNOME 3 won't really be supporting status icons at all. So this works out nicely.

You can query the server for support of the "persistence" capability like so: http://git.gnome.org/browse/libnotify/tree/tests/test-persistence.c

You'll need libnotify >= 0.6.1 too.

See http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility

Attachments

notify.patch (1.5 KB) - added by mclasen 3 years ago.
a first patch

Change History

comment:1 Changed 4 years ago by twaugh

  • Milestone changed from Needs triage to 1.3

Changed 3 years ago by mclasen

a first patch

comment:2 Changed 3 years ago by mclasen

Here is a patch that should keep s-c-printer working after we land libnotify 0.7.0. It doesn't address the statusicon removal yet.

comment:3 Changed 3 years ago by twaugh

  • Resolution set to fixed
  • Status changed from new to closed

I've added a check for persistence and committed it. Thanks.

changeset:cd377b1676849fdd65fb1b5c66d03617171ff374

Note: See TracTickets for help on using tickets.