restarting explorer.exe removes tray icon
Posted: 04 Aug 2025 21:16
Every once in a while I have to restart explorer.exe because the taskbar does not refresh. Seems to be related to using multiple virtual desktops(and almost seems it is connected to using xyplorer and/or obs). In any case. Once I restart explorer.exe xyplorer can no longer be accessed from the tray. Since I minimize it to the tray it then becomes inaccessible and I have to restart it's process too. (simply starting xyplorer is not enough as the process has to be killed)
AFAIK xyplorer is the only one that does not properly restore with the tray. maybe this is how it initializes itself for tray access? Either way likely something could be done about it such as either periodically checking if it's in the tray(although it may return true even when it is not visible) or when xyplorer is started it checks if the process is running and it's minimize to the tray and reinitializes it or simply opens up main widow. I have the setting to prevent multiple instances so likely it checks that first then does nothing.
What I'm guessing is happening is that once the taskbar gets froze(it's only visual since I can still interact with it such as launch apps and such but visually it won't necessarily match as it is frozen from a previous state) and I minimize xyplorer to the tray it doesn't or can't setup the tray icon. The tray icon only exists when minimized. I guess if it was set to always stay in the tray then it would be better. That is, having the tray icon always active would likely be the best option and actually work better for me but there seems to be no option to enable this.
AFAIK xyplorer is the only one that does not properly restore with the tray. maybe this is how it initializes itself for tray access? Either way likely something could be done about it such as either periodically checking if it's in the tray(although it may return true even when it is not visible) or when xyplorer is started it checks if the process is running and it's minimize to the tray and reinitializes it or simply opens up main widow. I have the setting to prevent multiple instances so likely it checks that first then does nothing.
What I'm guessing is happening is that once the taskbar gets froze(it's only visual since I can still interact with it such as launch apps and such but visually it won't necessarily match as it is frozen from a previous state) and I minimize xyplorer to the tray it doesn't or can't setup the tray icon. The tray icon only exists when minimized. I guess if it was set to always stay in the tray then it would be better. That is, having the tray icon always active would likely be the best option and actually work better for me but there seems to be no option to enable this.