Two indicator icons in panel

Asked by david

I'm running Diodon 1.13.0. After upgrading to Linux Mint 21 (based on Ubuntu 22.04) I have two Diodon indicator icons next to each other in my panel after rebooting or restarting my system. The left icon is the extraneous one and can be dismissed removed from the panel by right clicking on it and selecting Clear. If not manually dismissed, the left icon seems to eventually disappear on its own after my system has been in use for an indeterminate period of time.

Question information

English Edit question
Diodon Edit question
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #1997152.

Revision history for this message
Oliver Sauder (sao) said :

Reading through your feedback, I have a strong feeling that this issue has nothing to do with Diodon, but with the Ayantana Application Indicator in combination with the Cinammon desktop environment and its panels. Potentially a race condition.

The reason being is that the only thing Diodon does in terms of indicator is registering it with the Ayantana Indicator. Nothing else. Diodon uses unique logic that it cannot be run twice and we already ruled that possibility out as there was only one Diodon process running, but still you saw two Diodon icons.

See the code bit here which handles the indicator logic.

Therefore, I am converting this to a question. Feedback is very welcome with potential workarounds, links to other bug trackers etc.

Revision history for this message
Launchpad Janitor (janitor) said :

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Oliver Sauder (sao) said :

Answer from david from Bug #1997152:

Just to close the loop on this, I found that delaying Diodon's startup by 10 seconds fixed my problem. With no delay, two indicator icons after every boot. With the 10 second delay, only one icon. So, yes, probably a race condition. I'm happy to have it working fine with the 10 second delay.

Revision history for this message
Oliver Sauder (sao) said :

See message above for more details: 10 seconds delay before Diodon starts solves the issue.

Can you help with this problem?

Provide an answer of your own, or ask david for more information if necessary.

To post a message you must log in.