Skip to content

The Tick event trigger continuously on Android  #10257

Closed

Description

@MuniappanSubramanian

Description

I have set the Display alert in the tick event and set the time interval as one minute. When I run the application the tick is triggered continuously which means after one minute it should trigger one Time, but it is triggered two times. Every minute the tick event trigger count increased. Working fine on other platforms.

Steps to Reproduce

  1. Run the sample
  2. wait 10 sec the display alert will pop up
  3. And wait another one minute now tick event trigger two times

Link to public reproduction project repository

https://github.com/MuniappanSubramanian/Samples/tree/main/Tick

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android

Did you find any workaround?

No response

Relevant log output

No response

Activity

  1. added
    t/bug
    on Sep 22, 2022
  2. added
    area-animation
    on Sep 22, 2022
  3. added this to the Backlog milestone on Sep 22, 2022
  4. PureWeen commented on Sep 22, 2022

    @PureWeen
    Member
  5. added
    s/triaged
    s/verified
    on Jul 10, 2023
  6. homeyf commented on Jul 10, 2023

    @homeyf

    Verified this issue with Visual Studio Enterprise 17.7.0 Preview 2.0. Can repro on Android platform with sample project.
    https://github.com/MuniappanSubramanian/Samples/tree/main/Tick
    image

  7. hartez commented on Jul 10, 2023

    @hartez
    Contributor
        private void OnReminderTimerTick(object sender, EventArgs e)
        {
            DisplayAlert("Reminder Tick event Triggered", "Yes", "ok");
            //// set Time interval
            this.reminderTimer.Interval = new TimeSpan(0,1,0);
            //StartReminderTimer();
        }
    

    You don't need to call StartReminderTimer() here; the timer has IsRepeating set to true by default. Leaving that out may work around the bug until we can get a fix in place.

  8. added 4 commits that reference this issue on Jul 10, 2023
    3e6c7e3
    ae07f8a
    89529fa
    6620b53
  9. modified the milestones: Backlog, on Jul 26, 2023
  10. added a commit that references this issue on Aug 10, 2023
    e8e3b4f
  11. added a commit that references this issue on Aug 15, 2023
    5312fc9
  12. ghost locked as resolved and limited conversation to collaborators on Sep 9, 2023
  13. added
    fixed-in-8.0.0-rc.1.9171
    on Sep 12, 2023
  14. modified the milestones: , .NET 8 + Servicing on Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-animationfixed-in-8.0.0-rc.1.9171platform/androids/triageds/verifiedt/bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions