jmanc3/winbar

Clock sometimes gets stuck

pushqrdx opened this issue · 2 comments

I can't figure out exactly what causes this issue but it happened twice for me already, the time gets stuck even though in the calendar widget it's correct

I, also, never really figured out how to reproduce this bug, so I still don't know how to fix it, but, my best guess at to what is happening is that we use up all the file descriptors (the default max is 1024) and then aren't allowed to open any more. In a coming commit, I reworked how animations use file descriptors and so this problem should take longer to hit (the clock rarely gets stuck for me anymore). I'll figure out something longer-term later.

I was keeping this open until I figured out why animations sometimes got stuck, and I finally did. The problem was that we were sometimes closing the wrong timeout's.