xpra icon
Bug tracker and wiki

Opened 13 months ago

Closed 3 months ago

Last modified 3 months ago

#1492 closed enhancement (fixed)

notification enhancements: icons, etc

Reported by: Antoine Martin Owned by: J. Max Mena
Priority: major Milestone: 2.3
Component: core Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

See desktop notification specification.

The icons could be png encoded.
The actions would require us to check that the client supports the feature before we expose the server-side capability.

Change History (9)

comment:1 Changed 5 months ago by Antoine Martin

See #1688, #1375

Last edited 4 months ago by Antoine Martin (previous) (diff)

comment:2 Changed 5 months ago by Antoine Martin

Milestone: 3.02.3
Status: newassigned

comment:3 Changed 3 months ago by Antoine Martin

Description: modified (diff)

new spec link (had gone 404)

comment:4 Changed 3 months ago by Antoine Martin

Important bug fix in r17933: send icon data not path (which is often at best meaningless for a remote client).
Minimal backport in r17934.

comment:5 Changed 3 months ago by Antoine Martin

More related changes:

To test:

notify-send 'Hello world!' 'This is an example notification.' \
    --icon=/usr/share/xpra/icons/xpra.png

Already tested with:

  • gnome shell, with both the python2 and the python3 client
  • html5 client
  • macos python2 and python3 clients (see also #1305 for why we don't use the native ones), python3 client porting work recorded here: ticket:1717#comment:4
  • win32: python2 and python3

Note: some specific desktop environment may decide to block or hide the notifications..

Moving support for notification actions to #1735.

Last edited 3 months ago by Antoine Martin (previous) (diff)

comment:6 Changed 3 months ago by Antoine Martin

Owner: changed from Antoine Martin to J. Max Mena
Status: assignednew

@maxmylyn: mostly a FYI, see comment:5.

comment:7 Changed 3 months ago by J. Max Mena

Resolution: fixed
Status: newclosed

Noted and closing.

comment:8 Changed 3 months ago by Antoine Martin

Summary: notification enhancements: icons, actions, etcnotification enhancements: icons, etc

r17973 (+r17974): the macos python3 client can now use the gtk notifier

(edit ticket title since "actions" have been moved to #1735)

comment:9 Changed 3 months ago by Antoine Martin

r18195: when we need to show actions or when we don't have a native tray to bind to, fallback to using the gtk notifier.

This helps with #1688

Note: See TracTickets for help on using tickets.