axcore / tartube

A GUI front-end for youtube-dl, partly based on youtube-dl-gui and written in Python 3 / Gtk 3
GNU Lesser General Public License v2.1
2.12k stars 112 forks source link

system tray icon not being removed #511

Closed ceonelson closed 2 months ago

ceonelson commented 1 year ago

Latest version, win 10 running from terminal.

When closing tartube, the system tray icon stays around:

image

Mousing over them will remove the old icons. I'll test shortly to see if a DB swap causes icons or if it is just closing the program and reopening it from command prompt.

ceonelson commented 1 year ago

Doesn't happen on DB switch, only app close and reopen.

axcore commented 1 year ago

The code that handles the system tray icon hasn't changed for a long time, so it's possibly (yet another) Gtk bug. I'll check it out; if it's an annoyance, the icon can be disabled completely (Edit > System preferences > Windows > Tray).

ceonelson commented 1 year ago

Yes it has been happening for quite a long time (at least a year), just always forgot to post about it until now.

Not a big deal I just hover over them every now and then to get rid of the old ones :)

axcore commented 1 year ago

I had the same problem on Linux's Cinnamon desktop until the last (Cinnamon) release, whereupon it magically fixed itself.

axcore commented 1 year ago

I spent a few minutes testing Tartube v2.4.260 on Windows 10, but I couldn't reproduce the duplicate icons. On my system, the icon disappears as soon as Tartube shuts down.

Not sure what to suggest, except perhaps replacing MS Windows with a different operating system ;)