[GH-ISSUE #218] Multiple icons in the icons menu #93

Closed
opened 2026-02-27 15:48:43 +03:00 by kerem · 2 comments
Owner

Originally created by @yankejustin on GitHub (May 27, 2015).
Original GitHub issue: https://github.com/quasar/Quasar/issues/218

Issue Description

After initializing the xRAT server and closing the main form in a way besides the [X] button, the icon remains (as visible in Figure 1). This is often a common issue with many programs, but perhaps it can be fixed for xRAT. :)

Reference

This line is never hit when closing abnormally, causing a visible leftover NotifyIcon.




Figure 1

116c13ce30409103d03d67408a5bfcfa

Originally created by @yankejustin on GitHub (May 27, 2015). Original GitHub issue: https://github.com/quasar/Quasar/issues/218 <h1>Issue Description</h1> After initializing the xRAT server and closing the main form in a way besides the [X] button, the icon remains (as visible in <b>Figure 1</b>). This is often a common issue with many programs, but perhaps it can be fixed for xRAT. :) <h4>Reference</h4> <b><a href="https://github.com/MaxXor/xRAT/blob/master/Server/Forms/FrmMain.cs#L186">This line</a></b> is never hit when closing abnormally, causing a visible leftover NotifyIcon. <br /> <hr /> <br /> <h4>Figure 1</h4> ![116c13ce30409103d03d67408a5bfcfa](https://cloud.githubusercontent.com/assets/9338742/7827930/ff282a5a-03fa-11e5-8f94-699084ae447d.jpg)
kerem 2026-02-27 15:48:43 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MaxXor commented on GitHub (May 27, 2015):

This is a common problem when the application gets closed unexpectedly, but this shouldn't be the case in normal use of xRAT.

See: https://social.msdn.microsoft.com/Forums/windows/en-US/73c33537-c5d7-4cff-9faa-0a6a0d4a65b4/notifyicon-icon-still-visible-after-closing-form?forum=winforms

<!-- gh-comment-id:105786247 --> @MaxXor commented on GitHub (May 27, 2015): This is a common problem when the application gets closed unexpectedly, but this shouldn't be the case in normal use of xRAT. See: https://social.msdn.microsoft.com/Forums/windows/en-US/73c33537-c5d7-4cff-9faa-0a6a0d4a65b4/notifyicon-icon-still-visible-after-closing-form?forum=winforms
Author
Owner

@yankejustin commented on GitHub (May 27, 2015):

Thank you for the reference.

<!-- gh-comment-id:105958603 --> @yankejustin commented on GitHub (May 27, 2015): Thank you for the reference.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#93
No description provided.