RunCat365 icon indicating copy to clipboard operation
RunCat365 copied to clipboard

[Bug]: Cannot access a disaposad icon

Open LinearAlpha opened this issue 1 year ago • 3 comments

App version

3.1.0

Describe the bug

OS: Windows 11 Pro 25H2

When the computer is coming back from hibernation/sleep, it is showing an error pop-up as follows.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Icon'. at System.Windows.Forms.NotifyIcon.UpdateIcon(Boolean showIconInTray) at RunCat365.RunCat365ApplicationContext.FetchSystemInfo(CPUInfo cpuInfo, MemoryInfo memoryInfo, List`1 storageValue) in D:\build\RunCat365\RunCat365\Program.cs:line 183 at RunCat365.RunCat365ApplicationContext.FetchTick(Object state, EventArgs e) in D:\build\RunCat365\RunCat365\Program.cs:line 209 at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

************** Loaded Assemblies ************** System.Private.CoreLib Assembly Version: 9.0.0.0 Location:

RunCat 365 Assembly Version: 3.1.0.0 Location:

How to reproduce

  1. Put the computer in sleep or hibernation
  2. Start the computer and log in

Expected behavior

Not popping up error dialog

Screenshots

Image

Check List

  • [x] Uninstalled App.
  • [x] Re-launched your computer.
  • [x] Checked that no similar issues already exist.

LinearAlpha avatar Dec 02 '25 22:12 LinearAlpha

Known issue, but thank you for reporting it anyway

  • #236
  • #249

mor39a avatar Dec 03 '25 00:12 mor39a

It seems like the Check List is not working. Is the Issue Template effective?

Kyome22 avatar Dec 03 '25 02:12 Kyome22

Sorry, I did not realize that it was the same bug as the past one.

LinearAlpha avatar Dec 03 '25 03:12 LinearAlpha