Multiple entries on system tray in Windows
Over time the single CPU temperature icon I set in the system tray gets hidden and it seems a new one is created somehow. After a while most of the entries in "Settings -> Personalization -> Taskbar -> Other system tray icons" is filled with now dead instances of LibreHardwareMonitor.
Same issue. Does anyone have a solution or a way to work around it?
Same issue here after a fresh Windows 11 installation. After windows restart some entries are added
I have multiple pages of tray icon entries now and still new ones are added every day.
I, too, have this issue. It doesn't only coincide with a reboot or restart of LibreHardwareMonitor. It seems to happen even after starting up from hibernating.
I believe this problem exists due to the way the initial tooltip is set. It contains the reading along with the sensor name, e.g. "12th Gen Intel Core i7-12650H CPU Total: 13,7 %" If the icon is recreated, the reading is different and thus Windows thinks it is a different icon.
Solution: Only use the name in the initial tooltip. Only in subsequent updates the reading should be used.
Edit: One could try using a dummy text in data.Tip here (just for creating the icon): https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/blob/master/LibreHardwareMonitor/UI/NotifyIconAdv.cs#L578