Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tray icon keeps disappearing
#61
Oh, wouldn't that be ridiculous if I'd been banging my head against the code all this time and it turned out to be the scheduler stopping it because it thinks it's a task that's supposed to run for a while and then stop it. Oy vey! Yeh, keep an eye on it. If it continues to be happy, that'll be a good sign. I can update the installer to change that setting.
Dean Roddey
Explorans limites defectum
Reply
#62
(12-13-2019, 03:55 PM)Dean Roddey Wrote: Oh, wouldn't that be ridiculous if I'd been banging my head against the code all this time and it turned out to be the scheduler stopping it because it thinks it's a task that's supposed to run for a while and then stop it. Oy vey! Yeh, keep an eye on it. If it continues to be happy, that'll be a good sign. I can update the installer to change that setting.

So we think this is fixed now? I always had to start the tray monitor manually each time I upgraded to a new version. I'm now on 5.4.0 and it fails every once and awhile when coming out of sleep mode. Funny, that it fails but still has the tray icon up, but disappears when you hover over it.
Reply
#63
(12-14-2019, 05:30 AM)Bugman Wrote:
(12-13-2019, 03:55 PM)Dean Roddey Wrote: Oh, wouldn't that be ridiculous if I'd been banging my head against the code all this time and it turned out to be the scheduler stopping it because it thinks it's a task that's supposed to run for a while and then stop it. Oy vey! Yeh, keep an eye on it. If it continues to be happy, that'll be a good sign. I can update the installer to change that setting.

So we think this is fixed now? I always had to start the tray monitor manually each time I upgraded to a new version. I'm now on 5.4.0 and it fails every once and awhile when coming out of sleep mode. Funny, that it fails but still has the tray icon up, but disappears when you hover over it.

on 5.4.906 and have not seen the issue(disappear with hover over tray icon). I don't do sleep but was happening about once every 2 weeks. Not sure if it is fixed or something changed.
_______________
Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12,
Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
Reply
#64
The system tray manager apparently doesn't watch the applications all the time. If one dies without shutting down cleanly, it will not know that. When you over it tries to find it and can't, and then removes the icon.

Sleep is a messy business and it's incredibly difficult to find subtle bugs that happen because of the weirdness that goes on when a system goes to sleep. There's no reasonable way to debug such things. Sleeping isn't something that's friendly to more complex programs that are talking other things and other things are talking to it and such. They cannot just shut down on a moment's notice, but Windows will just stop them almost immediately and leave them in whatever weird state they happen to be in, because they want client type systems to be able to go to sleep very quickly. It's hard to say what will happen if a program is then resurrected in almost any potential state because it wasn't able to clean up completely before it got frozen.

So I wouldn't be totally shocked if it happened once in a while coming out of sleep. But, in terms of just a non-sleeping system, if it falls over then, I'd assign it to some more fundamental issue with the tray monitor, but never found one despite years of looking. The task scheduler killing might explain why that is.

Of course when it would fall over, folks would probably restart it manually. Then it wouldn't be running under the task scheduler and wouldn't get stopped by it, and would run fine. Then at some point they'd log out and back in and it would be back on the death watch again. So that would explain some of the (seeming) unpredictability of it, if that is indeed what is happening.
Dean Roddey
Explorans limites defectum
Reply
#65
I guess it's also possible that the task scheduler's kill timer runs out while the system is asleep. You wake it up, the task scheduler starts, sees the program is still running and whacks it immediately. So if it had been started automatically on the last login, it wouldn't be that unusual if the kill timer timed out while it was asleep.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tray Monitor hangs/crashes out of sleep mode Bugman 5 3,073 01-18-2016, 02:51 PM
Last Post: Bugman
  Tray Application issue Bugman 4 2,985 03-30-2015, 03:32 PM
Last Post: Bugman
  4.6.0 - Weather Channel Icon Mark Stega 9 5,128 11-11-2014, 06:31 AM
Last Post: DaveB
  iTunes via Tray? jkmonroe 7 3,855 01-02-2014, 04:25 AM
Last Post: gacevich
  Reinstall Tray Monitor for Itunes Support CMorrow 1 2,351 12-18-2013, 10:54 AM
Last Post: Dean Roddey
  Tray Monitor zra 35 9,134 04-27-2013, 11:17 AM
Last Post: Dean Roddey
  Anyone using the Tray Monitor on XP? Dean Roddey 15 5,861 01-30-2013, 05:20 PM
Last Post: DaveB
  Tray Icon Issue karenlee 22 6,819 12-20-2012, 02:02 PM
Last Post: Dean Roddey
  iTunes Track Count vs Tray Mon Tracks DaveB 3 2,256 11-15-2012, 03:01 AM
Last Post: DaveB
  Tray Monitor hangs when loading iTunes date DaveB 8 3,775 11-14-2012, 04:05 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)