Ximi1970 / systray-x

SysTray-X: A system tray extension for Thunderbird. Needs both the addon AND the companion app installed to work. Will not work with TB flatpaks or snaps.
Mozilla Public License 2.0
217 stars 14 forks source link

Duplicated icon with 0.9.0 #120

Closed lgbaldoni closed 2 years ago

lgbaldoni commented 2 years ago

Describe the bug I can see two icons in the tray, one with unread mails and a plain one.

To Reproduce Upgrade from 0.8.0 and launch. on openSUSE Leap 15.4 (TB 91.10.0)

Expected behavior Seeing just one icon

Screenshots My tray

Desktop (please complete the following information):

Additional context Nothing else to add

lgbaldoni commented 2 years ago

Also the main window won't close when clicking on the close button.

Ximi1970 commented 2 years ago

Maybe two instances of Thunderbird running? And the problem with the close button seems something due the last suse thunderbird package. The binary package of thunderbird seems to work without any problem. Bit confused again here.

lgbaldoni commented 2 years ago

Maybe two instances of Thunderbird running? And the problem with the close button seems something due the last suse thunderbird package. The binary package of thunderbird seems to work without any problem. Bit confused again here.

First of all it's a somewhat intermittent problem. Also closing (right-click/quit) from the tray icon works only if I do that on the numberless icon. Closing from the other one will merely remove that icon.

> ps ax|grep thund
19590 pts/4    Sl+    0:02 /usr/lib64/thunderbird/thunderbird-bin
19730 pts/4    Sl+    0:00 /usr/lib64/thunderbird/thunderbird-bin -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 304793 -jsInit 285636 -parentBuildID 20220525135609 -appdir /usr/lib64/thunderbird 19590 tab
19774 pts/4    Sl+    0:00 /usr/lib64/thunderbird/thunderbird-bin -contentproc -childID 2 -isForBrowser -prefsLen 248 -prefMapSize 304793 -jsInit 285636 -parentBuildID 20220525135609 -appdir /usr/lib64/thunderbird 19590 tab
19880 pts/3    S+     0:00 grep --color=auto thund
lgbaldoni commented 2 years ago

Should I try and reset prefs?

EDIT: no change

Ximi1970 commented 2 years ago

I also triggered the double icon and one instance of TB but indeed two instances of SysTray-X.....I am baffled.

Ximi1970 commented 2 years ago

Now one icon but two config icons in Extension page. It is getting very strange.

image

Ximi1970 commented 2 years ago

Normally I am using 15.4 and the Mozilla repo for the latest version. Never seen this before. More investigation needed.

lgbaldoni commented 2 years ago

Do you think it's safe to restore the old version?

mjeveritt commented 2 years ago

Possibly unrelated, but earlier today I lost the mail icon completely from the system tray .. a restart of TB brought it back though, nothing else seemed to help ?! I think the counter had reset to zero, but how it unloaded itself, I have no clue ..

Ximi1970 commented 2 years ago

Looks like my fix for the close button problem caused the problems. I reverted the fix but cleaned the code a bit and merged it into develop branch. Will do some extra testing before making a patch release.

Ximi1970 commented 2 years ago

New release!