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

NotifyIcon remains in Tray even after application closing but disappears on Mouse Hover #40

Open
TeunvandenBroek opened this issue Jan 29, 2020 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@TeunvandenBroek
Copy link
Owner

TeunvandenBroek commented Jan 29, 2020

NotifyIcon remains in Tray even after application closing but disappears on Mouse Hover.
Code of the NotifiyIcon can be found in Bootstrap.cs https://github.com/teun25/C-sharp-clipboardquestionanswer-/blob/master/Bootstrap.cs at line 31 until 33 and 185 until 220

image

@TeunvandenBroek TeunvandenBroek added the bug Something isn't working label Jan 29, 2020
@TeunvandenBroek TeunvandenBroek added the help wanted Extra attention is needed label Feb 15, 2020
@Henry00IS
Copy link

Make sure to actually set notifyIcon.Visible = false; or (notifyIcon.Icon = null;) before you call notifyIcon.Dispose().
Also keep in mind that debugging the program (and quitting with the debugger) will likely still cause this issue, but your release shouldn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants