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
Tray Icons don't appear under Wayland when using libappindicator-gtk3 #1638
Comments
Does Solaar complain when running with libappindicator-gtk3? Please run |
The tray icon seems to show up when running it manually either via terminal or application menu. Those GTK errors mentioned above appear on boot/login. Nothing seems to pop out, here's the output of
|
In docs/installation.md there is the comment that Solaar installation in KDE you need to have ayatanaappindicator3 installed. The wording there is confusing so improving it would be useful. What exactly did you install or remove? Do you have any suggestions on what this should read? |
It may be that running Solaar at startup needs to be done carefully so that required resources are available when Solaar starts. How do you arrange for Solaar to be run at startup? |
The flag |
I removed I have a .desktop file at |
I'm updating the installation documentation to say: Solaar needs a library to interact with the system tray. The library that provides this interaction depends on the distribution and window system. If ayatana appindicator is available then it is best to have this library installed, e.g., by installing Does this match your understanding of what is required? |
Looks clear and concise to me. It will save everyone the hassle trying to troubleshoot the tray icons not appearing without the additional libraries installed when using Wayland. |
Information
Solaar version (
solaar --version
orgit describe --tags
if cloned from this repository): solaar 1.1.4rc1Distribution: Arch Linux
Kernel version (ex.
uname -srmo
):5.18.6-arch1-1
Output of
solaar show
:~/.config/solaar/config.yaml
(or~/.config/solaar/config.json
if~/.config/solaar/config.yaml
not present):Describe the bug
When using the libappindicator-gtk3 library for tray icons, the icons don't appear when auto starting solaar with the
window=hide flag
in Wayland. I have removed the package and installedlibayatana-appindicator
instead which works, but the question remains as to why it's only seemingly affecting Arch Linux on the distributions tested. It fails to execute the program when logged into a new session in the DE. I note that some distros have deprivcated the libappindicator-gtk3 package in favour oflibayatana-appindicator
, so perhaps this is the way forward regarding what dependencies are shipped and used in the repos for Solaar?To Reproduce
Steps to reproduce the behavior:
Install
libappindicator-gtk3
Reboot/restart DE and check
journalctl -b | grep solaar
Scroll down to
arch solaar[986]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
See error
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
KDE Plasma 5.25.1
The text was updated successfully, but these errors were encountered: