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

multiple tray icons (one works, one is 'dead') #464

Open
EricR-WB opened this issue Jan 22, 2025 · 13 comments
Open

multiple tray icons (one works, one is 'dead') #464

EricR-WB opened this issue Jan 22, 2025 · 13 comments
Labels
bug Something isn't working

Comments

@EricR-WB
Copy link

Describe the bug
After upgrading to version 2.4.3 (from 2.3.9),
when i launch "gpclient launch-gui" (and authenticate) it pops up TWO tray icons instead of one.
One has no menu and no updates, the other works like normal, with menu and status changes.

Expected behavior
Used to just be the one

Screenshots
Image

Logs
gpclient.log

Environment:

  • OS: Linux Mint 21.3 x86_64
  • Desktop Environment: MATE 1.26.0
  • it is remote RDP

Additional context
I also just ran alot of other updates for the whole system. I originally installed globalprotect-openconnect using the repository, im not sure of an easy way to downgrade back to what i had before and see if it is this app, or something else that may have effected the tray behavior.

Everything else actually seems to be working fine, its just a visual oddity.

they BOTH close together when i close the app too

@yuezk
Copy link
Owner

yuezk commented Jan 22, 2025

@EricR-WB Thanks for the reporting! Yes, that's a genuine issue. I have experienced it, too. But I haven't found the solution yet. It might related to the Tauri 2.0 upgrade.

@yuezk yuezk added the bug Something isn't working label Jan 23, 2025
@sxiii
Copy link

sxiii commented Jan 28, 2025

I have the same behavior, two icons on Garuda Linux rolling

@yuezk
Copy link
Owner

yuezk commented Feb 1, 2025

I encountered this problem occasionally but haven't found the reproducible path yet.

@rawler
Copy link

rawler commented Feb 6, 2025

Same. Quite annoying.

@yuezk
Copy link
Owner

yuezk commented Feb 7, 2025

@rawler, I'm trying to reproduce this issue. What's your OS and desktop environment? Do you find any pattern when the problem occurs?

@mufasa71
Copy link

mufasa71 commented Feb 7, 2025

Same for me. I use X11 and i3 wm. OS archlinux.

@rawler
Copy link

rawler commented Feb 7, 2025

Ubuntu 24.04, Gnome (Wayland). Haven't seen any pattern yet. It only occur every now and then. At first I thought I had failed to uninstall old version somehow, but it seems there is only one process controll both the functional and defunct icon.

@yuezk
Copy link
Owner

yuezk commented Feb 9, 2025

This issue can be reproduced on Gnome + Wayland on Ubuntu 24.04

  1. Open the client, there is one tray icon
  2. Lock the screen, then unlock it.
  3. There will be two tray icons.

This root cause has been identified. I set the GDK_BACKEND=x11 environment for my client to workaround the issue: tauri-apps/tao#929. But this will cause the duplicated tray icon.

I will find a solution fix it soon.

Related:

yuezk added a commit that referenced this issue Feb 9, 2025
@yuezk
Copy link
Owner

yuezk commented Feb 9, 2025

Released in 2.4.4. Can you upgrade it and see if it has been fixed? Thanks.

@mufasa71
Copy link

@yuezk upgraded, didn't fixed the problem for me

Image

@yuezk
Copy link
Owner

yuezk commented Feb 10, 2025

@mufasa71 can I have the logs?

@mufasa71
Copy link

mufasa71 commented Feb 10, 2025

@yuezk https://gist.github.com/mufasa71/31d3adf1bcf500ed50564254f011beb0

Interesting line

[2025-02-10T10:52:13Z WARN gpgui::tray] Failed to load default icon: Failed to load icon

@yuezk
Copy link
Owner

yuezk commented Feb 13, 2025

Hi @mufasa71, sorry for the late response, and thanks for the logs. There is an entry indicating that the tray icon has failed to load:

[2025-02-10T10:52:13Z WARN  gpgui::tray] Failed to load default icon: Failed to load icon

This could be the reason that caused the tray icon to be dead. I will try to investigate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants