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

Wayland: Tray Applet dont get loaded? #395

Open
LinuxDonald opened this issue Dec 27, 2021 · 3 comments
Open

Wayland: Tray Applet dont get loaded? #395

LinuxDonald opened this issue Dec 27, 2021 · 3 comments
Labels
bug Faults with Polychromatic itself tray applet Specific to the tray applet application

Comments

@LinuxDonald
Copy link

Details about the problem

Tray Applet is not visible on KDE Plasma Wayland

Operating System / Desktop Environment / Version(s)

Manjaro KDE Wayland with OpenRazer 3.2.0 and
polychromatic latest git.

@LinuxDonald LinuxDonald added the bug Faults with Polychromatic itself label Dec 27, 2021
@lah7 lah7 added the tray applet Specific to the tray applet application label Dec 27, 2021
@lah7
Copy link
Member

lah7 commented Dec 27, 2021

Can confirm under Wayland that it doesn't appear initially at boot, but it works when ran from a terminal later:

polychromatic-tray-applet -v

There is some weirdness with KDE Plasma and a GTK tray applet starting at login. Adding a delay seems to work:

  • In the main application: Edit → Preferences → Tray Applet → Autostart Delay → Set to 4 seconds
  • If you prefer to edit by hand instead, change autostart_delay in ~/.config/polychromatic/preferences.json

@LinuxDonald
Copy link
Author

With restart Tray Applet it show it. But not terminal it get this warning:

polychromatic-controller  ✔
/usr/bin/polychromatic-tray-applet:224: DeprecationWarning: Gtk.ImageMenuItem.set_image is deprecated
item.set_image(img) # GTK3: Deprecated, no replacement!

@lah7
Copy link
Member

lah7 commented Dec 30, 2021

The DeprecationWarning is expected and no cause for concern. 👍🏼 GTK4 dropped support for the tray icons12

This application will port the tray applet to Qt in future as another option, which should integrate better with KDE (and possibly Wayland).

Footnotes

  1. https://discourse.gnome.org/t/what-to-use-instead-of-statusicon-in-gtk4-to-display-the-icon-in-the-system-tray/7175)

  2. https://blogs.gnome.org/aday/2017/08/31/status-icons-and-gnome/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Faults with Polychromatic itself tray applet Specific to the tray applet application
Projects
None yet
Development

No branches or pull requests

2 participants