New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DispatcherTimer.Start() - Start resets the timer interval #1723
Comments
Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites). |
@GrantMeStrength Can you please take a look at this issue? |
I tested the timer with the following code. I found that the timer does restart if Start is called. It's possible you are creating a new timer rather than calling Start on an existing timer. public sealed partial class MainPage : Page
} |
Thanks for looking into this John. Back in July 2019 the problem was real, now I don't even know if it was the same Timer? Must have been a problem with the DeLorean... Cheers |
This is a problem. I'm using .net 4.8 and a stop is required to reset the interval. Contrary to what the documentation says, Start() does not restart the timer. |
I faced the same problem with NET48. I created a timer (with 2023-01-28T21:29:58.1773610+01:00: Timer start 1528 As you can see, the last |
I can confirm that this is the case on .net 4.7.2. |
DispatcherTimer.Start() does not reset the timer interval if running.
To reset a running DispatcherTimer interval requires either setting IsEnabled false or calling Stop() before calling Start() to reset the interval.
The text was updated successfully, but these errors were encountered: