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 of shutter appeared on Ubuntu 22.04.2 LTS. #602

Open
hongyi-zhao opened this issue Jul 28, 2023 · 12 comments
Open

Multiple tray icons of shutter appeared on Ubuntu 22.04.2 LTS. #602

hongyi-zhao opened this issue Jul 28, 2023 · 12 comments
Labels
bug Something isn't working

Comments

@hongyi-zhao
Copy link

See below:

werner@X10DAi:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy


werner@X10DAi:~/.config/autostart$ cat shutter-Autostart-Delay.desktop 
[Desktop Entry]
Type=Application
Terminal=false
Exec=shutter --min_at_startup
Hidden=false
X-GNOME-Autostart-enabled=true
X-GNOME-Autostart-Delay=30

image

image

@hongyi-zhao hongyi-zhao added the question Question about installing, configuring or using Shutter label Jul 28, 2023
@DarthGandalf
Copy link
Member

This looks like dupe of #598 but I saw only 2 icons instead of 3. Are all of them actually functional for you? For me both of them show the menu, but with slightly different icons (no idea why), and only one of them has working Selection, the other's Selection does nothing when clicking on it

@hongyi-zhao
Copy link
Author

This looks like dupe of #598 but I saw only 2 icons instead of 3.

Obviously, there are 3 icons, why do you say 2?

Are all of them actually functional for you? For me both of them show the menu, but with slightly different icons (no idea why), and only one of them has working Selection, the other's Selection does nothing when clicking on it

Yes, exactly.

@DarthGandalf
Copy link
Member

Obviously, there are 3 icons, why do you say 2?

I see 2, not 3. That's why I opened #598

Yes, exactly.

What exactly do you mean by "exactly"?

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Jul 28, 2023

I see 2, not 3. That's why I opened #598

In fact, sometimes, 4 icons will be triggered, as shown below:

image

What exactly do you mean by "exactly"?

I originally wanted to express the same point of view as yours, aka, "Only one of them has a working Selection, the other's Selection does nothing when clicking on it".

However, I now observe that the above view is simply not true, say, in the screenshot I posted here, the tray icons numbered by 1-3, are all have working Selection.

@DarthGandalf
Copy link
Member

DarthGandalf commented Jul 30, 2023

Today when shutter started, there was only 1 icon from AppIndicator, but later I noticed the second one, from StatusIcon, at which point AppIndicator's Selection stops working.

Looks like there are two issues:

  • When StatusIcon appears, AppIndicator's one isn't properly disabled, apparently set_status('passive') is not enough
  • Something causes several StatusIcons to appear. This should be easily fixable in theory, though I won't be able to verify that, since I never saw more than 2 icons

DarthGandalf added a commit that referenced this issue Jul 31, 2023
@DarthGandalf
Copy link
Member

@hongyi-zhao can you try dd5c371 ? It should at least decrease the number of icons to 2. I'll try to get it back to 1 some time next week

@hongyi-zhao
Copy link
Author

@DarthGandalf I've installed this version.

@Photon89
Copy link
Member

Photon89 commented Aug 1, 2023

@hongyi-zhao So, did it reduce the number of icons as expected?

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Aug 2, 2023

No, I still encounter multiple icons now:

image

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Aug 18, 2023

Is there any further progress on this issue?

@DarthGandalf
Copy link
Member

DarthGandalf commented Aug 18, 2023 via email

@dgoosens
Copy link

hello
wondering if there is any progress on this issue ?

@Photon89 Photon89 added bug Something isn't working and removed question Question about installing, configuring or using Shutter labels Aug 31, 2024
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

4 participants