xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 2 years ago

Last modified 2 years 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 2 years ago by Antoine Martin

See #1688, #1375

Last edited 2 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 2 years ago by Antoine Martin

Milestone: 3.02.3
Status: newassigned

comment:3 Changed 2 years ago by Antoine Martin

Description: modified (diff)

new spec link (had gone 404)

comment:4 Changed 2 years 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 2 years 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 client (see also #1305 for why we don't use the native ones), python3 client porting work recorded here: ticket:1717#comment:4
  • win32:

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

Moving support for notification actions to #1735.

Version 3, edited 2 years ago by Antoine Martin (previous) (next) (diff)

comment:6 Changed 2 years 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 2 years ago by J. Max Mena

Resolution: fixed
Status: newclosed

Noted and closing.

comment:8 Changed 2 years 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 2 years 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.