Open ghost opened 4 years ago
Thank you for your report.
This might be a regression in later versions. Can you please provide information about your operating system, Python version and version of pystray? Did you install using pip or clone this repo?
Hello, I am using python 3.8 on windows 10 64 latest updates. I installed the package via pip. Anyway I solved this problem with a modified version of lptraybuster in csharp to clear ghost icons but I want a clean python only app. Regression means that it will be fixed in future? Best regards -------- Ursprüngliche Nachricht --------Von: moses-palmer notifications@github.comDatum: Sa., 18. Juli 2020, 11:59An: moses-palmer/pystray pystray@noreply.github.comCc: sfranklus sfrank@lus-design.de, Author author@noreply.github.comBetreff: Re: [moses-palmer/pystray] Icon remains at re-opening (#62) Thank you for your report. This might be a regression in later versions. Can you please provide information about your operating system, Python version and version of pystray? Did you install using pip or clone this repo?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, I am using your code and noticed that it not deleting old inactive icons at start. Do you have any idea how i can achieve this? My current code looks like this and works very well with exit button, but when i re-open the app it spams me inactive icons which are disposed when i hover them:
` import pystray from PIL import Image, ImageDraw, ImageColor from pystray import Menu as menu, MenuItem as item
class ApplicationIcon: icon = pystray.Icon('test name') state = False state_exit = False current_ws_state = None last_state = None
AppIcon = ApplicationIcon() `
Thanks in advance & Best regards
Sascha