Opened 9 years ago
Last modified 17 months ago
#405 assigned enhancement
better native tray support for *nix
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | minor | Milestone: | future |
Component: | client | Version: | |
Keywords: | linux | Cc: | onlyjob@… |
Description
We already have native X11 code for dealing with the system tray server side (see xpra/x11/gtk_x11/tray.py), but at the moment only win32 has native tray support (see xpra/platform/win32/win32_tray.py).
The gtk.StatusIcon
we use is too limited:
- does not let us catch hover events,
- does not let us catch individual clicks (only "
activate
" and "popup
" events)
It shouldn't be too hard to do better than that. Either with native X11 code or with another/better tookit (see #388 for Qt)
Attachments (3)
Change History (9)
Changed 9 years ago by
Changed 9 years ago by
Attachment: | pythonicon.py added |
---|
simple gtk + xlib tray example (GPL taken from awn-extras-applets)
comment:1 Changed 9 years ago by
Milestone: | future → 0.12 |
---|---|
Owner: | changed from Antoine Martin to Antoine Martin |
Status: | new → assigned |
Summary: | better native tray support for Linux → better native tray support for *nix |
win32 has this already, it would be a shame if *nix did not!
Let's try not to undo #479 when we do it.
comment:3 Changed 8 years ago by
Milestone: | 0.13 → 0.14 |
---|
comment:4 Changed 8 years ago by
Cc: | onlyjob@… added |
---|
comment:6 Changed 17 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/405
Note: See
TracTickets for help on using
tickets.
simple qt tray example