Skip to content
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

Resetting stopped timer triggers "On Timer End" events #1217

Closed
3 tasks done
albluwi1987 opened this issue Aug 4, 2023 · 3 comments
Closed
3 tasks done

Resetting stopped timer triggers "On Timer End" events #1217

albluwi1987 opened this issue Aug 4, 2023 · 3 comments
Assignees
Labels
closed: fixed priority: medium status: confirmed Issue has been reproduced and confirmed as a bug. type: bug Something isn't working.

Comments

@albluwi1987
Copy link

albluwi1987 commented Aug 4, 2023

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Hi,
In my app (Home Page) there is a Timer Widget and I've added (On Page Load Action) which is ((Starting that Timer widget)) and On Timer Widget "On Timer End Action" I've put 2 actions first to reset the timer and second to start the timer again AND the issue is after the timer end its Freezes/Broken the app and I can't Scroll in it or click on any buttons and to make it work again I have to close the app and open it again

‏لقطة الشاشة ١٤٤٥-٠١-٢٠ في ١٠ ٢٧ ٢٩ م
‏لقطة الشاشة ١٤٤٥-٠١-٢٠ في ١٠ ٢٧ ٣٦ م

Note: I've tested the app on run mode also on real device (TestFlight)
Any Help will be appreciated, Thanks

Expected Behavior

It supposed to work properly and start the timer again without any issues

Steps to Reproduce

  1. Create new page
  2. Add Timer Widget
  3. Add action in (On Page Load) that start the Timer widget
  4. On Timer widget Add 2 Actions in (On Timer End) first: Reset Timer, second: Start Timer
  5. Run the App

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4oz/Hqx89grs9J1s/IdfoxnSQWQkx/bbsrm8pOFC0YGOvyPbJ/duD7dhFtXemoY0NhHGGWpE8G7sGMiuHXG8E4GzeVc7V8+c1cFDvjRXq8RZiNDKudPXZ9P+VRG3Km15m3qxFSVeptWkIFwFzzPemtbAXtJ5+/Zwh9f6PHaOI=

Context

Its a Critical Bug for me because in my app many features needs Timer to work properly and Now I've stopped my app publishing until this issue fixed

Visual documentation

Already Uploaded in (Current Behavior) section

Additional Info

No response

Environment

- FlutterFlow version: v3.1 (released August 3, 2023)
- Platform: web
- Browser name and version: Chrome 115.0.5790.114
- Operating system and version affected: macOS Ventura 13.4.1 (c)
@albluwi1987 albluwi1987 added the status: needs triage A potential issue that has not been confirmed as a bug. label Aug 4, 2023
@albluwi1987 albluwi1987 changed the title Critical Bug! -> [CoreLocation] This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first. Critical Bug! App Freezes on Real device and Simulator -> [CoreLocation] This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first. Aug 5, 2023
@albluwi1987 albluwi1987 changed the title Critical Bug! App Freezes on Real device and Simulator -> [CoreLocation] This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first. Timer (On Timer End Action) Issue! Causes App to freeze Aug 7, 2023
@albluwi1987 albluwi1987 changed the title Timer (On Timer End Action) Issue! Causes App to freeze Timer Widget (On Timer End Action) Issue! Causes App to freeze Aug 7, 2023
@kevintonb
Copy link

Hey @albluwi1987 , thank you for reporting this issue. I was able to reproduce the bug following the steps listed above.

@kevintonb kevintonb added type: bug Something isn't working. status: confirmed Issue has been reproduced and confirmed as a bug. and removed status: needs triage A potential issue that has not been confirmed as a bug. labels Aug 14, 2023
@aemelyanovff aemelyanovff changed the title Timer Widget (On Timer End Action) Issue! Causes App to freeze Resetting stopped timer triggers "On Timer End" events Sep 18, 2023
@aemelyanovff
Copy link
Collaborator

This seems to be a bug in a pub.dev package that we use, stop_watch_timer. I created a pull request there: hukusuke1007/stop_watch_timer#37

@aemelyanovff
Copy link
Collaborator

Fixed in the next update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed priority: medium status: confirmed Issue has been reproduced and confirmed as a bug. type: bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

3 participants