mtricht / gamesense-essentials

OLED integrations for SteelSeries gear. Spotify, iTunes, MusicBee, Volume and more.
https://mtricht.github.io/gamesense-essentials/
MIT License
221 stars 28 forks source link

Gamesense-essentials stops working when the clock is moved backward #50

Open Nahor opened 2 years ago

Nahor commented 2 years ago

When the clock is moved backward (I was testing the 24h clock fix, but I suspect this will also apply for changes like daylight savings), the display stops updating for a short time, then the whole keyboard/GG restarts.

My assumption is that gamesense blocks while waiting for the next tick or something like that, and GG resets because the tool is now unresponsive.

mtricht commented 2 years ago

This is a bug in the JDK: https://bugs.openjdk.java.net/browse/JDK-4290274 since 1999 (😂)

I'd have to use something else than Java's TimerTask but this is a rather small edge case that should only happen during DST