pomotroid icon indicating copy to clipboard operation
pomotroid copied to clipboard

weird behaviour of the percentage circle

Open diksown opened this issue 4 years ago • 2 comments

when I minimize the timer on windows, the circle that shows the running time visually stops. It also shows some weird behaviour sometimes - for example, sometimes I stop the timer but the circle continues running. (see the images) I'm on windows 10.

Screenshot_1

Screenshot_2

diksown avatar Jun 25 '20 16:06 diksown

@diksown thanks for the contribution. The visual dial stops because the requestAnimationFrame is throttled when the window is minimized. It should update its position when the window is re-focused.

As for the dial continuing to advance when the timer is paused, sounds like a bug and I need to investigate further.

Splode avatar Jun 26 '20 14:06 Splode

well, it doesn't update the position as it should :s when I focus in the window again, the timer is correct, but the circle is on the same position where I left it (it should advance too) Screenshot (16) Screenshot (17) so it's kinda weird, sometimes the circle advances even with the time stopped, sometimes it stops when the timer is still running.

diksown avatar Jul 02 '20 01:07 diksown