Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better native tray support for *nix #405

Closed
totaam opened this issue Aug 8, 2013 · 5 comments
Closed

better native tray support for *nix #405

totaam opened this issue Aug 8, 2013 · 5 comments
Labels
wontfix This will not be worked on

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 8, 2013

We already have native X11 code for dealing with the system tray server side (see [/browser/xpra/trunk/src/xpra/x11/gtk_x11/tray.py xpra/x11/gtk_x11/tray.py]), but at the moment only win32 has native tray support (see [/browser/xpra/trunk/src/xpra/platform/win32/win32_tray.py 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)

@totaam
Copy link
Collaborator Author

totaam commented Aug 8, 2013

2013-08-08 06:52:13: totaam uploaded file qttray.py (0.5 KiB)

simple qt tray example

@totaam
Copy link
Collaborator Author

totaam commented Aug 8, 2013

2013-08-08 06:53:07: totaam uploaded file wxtray.py (1.1 KiB)

simple wx tray example

@totaam
Copy link
Collaborator Author

totaam commented Aug 8, 2013

2013-08-08 06:56:24: totaam uploaded file pythonicon.py (3.7 KiB)

simple gtk + xlib tray example (GPL taken from awn-extras-applets)

@totaam
Copy link
Collaborator Author

totaam commented Nov 15, 2013

win32 has this already, it would be a shame if *nix did not!

Let's try not to undo #479 when we do it.

@totaam
Copy link
Collaborator Author

totaam commented Jan 23, 2021

Won't help now that gnome doesn't support ANY system trays.. and then there's wayland.

@totaam totaam closed this as completed Jan 23, 2021
@totaam totaam added the wontfix This will not be worked on label Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant