Open bryanlarsen opened 3 months ago
Correction: rustdesk nightly uses tray-icon 0.11.3. I'll try and build and run rustdesk master which uses 0.14.3.
correction correction: rustdesk nightly does use the master branch (with 0.14.3), not the branch labelled "nightly". :)
We use libappindicator-rs
under the hood which tries to use libayatana-appindicator
if exists and fallsback to old libappindicator
if it doesn't, I don't see why it shouldn't work but I don't use CentOS9/RHEL9 and really don't have the time to setup one to test so hopefully someone with access to these distros can help fix this.
libappindicator-rs works for us on CentOS9. It certainly could be PBKAC that prevents tray-icon from working for us on CentOS9. It also failing on rustdesk led me to suspect that the problem was with tray-icon but it's possible that both rustdesk & us are using tray-icon wrong.
tray-icon does not create tray icons on RHEL or CentOS stream 9. Not surprising, they use a version of GNOME that doesn't support tray icons out of the box, so at first glance this seems like an obvious WONTFIX.
Electron apps such as slack support tray icons on Stream9 though. They have a dependency on "libappindicator-gtk3" like tray-icon does. That's not in the base repository but if you add the EPEL repository (which basically everybody does) then slack installs. The tray icon doesn't work, but at least the app installs and works.
Installation of https://extensions.gnome.org/extension/615/appindicator-support/ allows the slack tray icon to show and work.
Our app (which uses tray-icon 0.14.3) doesn't display an icon on stream9. Neither does rustdesk, which uses tray-icon 0.11.3 on its release version (1.2.6) and 0.14.3 on its nightly build.
It would be nice to bring Tauri up to parity with Electron in this area by supporting tray icons on RHEL / CentOS 9.
tray-icon works fine on Fedora Core 39 and later, so RHEL10 will likely work fine, but RHEL10 is still a year away.