material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[Progress Bar] Indeterminate ProgressBar gets Frozen

Open goldfish07 opened this issue 4 years ago • 6 comments
trafficstars

today i noticed a bug, in this the Indeterminate progress bar get stuck, when using Transition Animation effect with custom effects , there is different behavior in both AppCompat Progressbar and Material component Progressbar , and also when i again start a new activity without Transition Animation effect , the Indeterminate progress animation resume again.

Steps to reproduce the problem

  1. implement the progress bar in MainActivity
  2. start a new activity with Transition with custom effect
  3. now come back to main activity
  4. you will see the progress bar freezes

tested on Android 10, Samsung One UI 2.0

in pixel device only material component's Indeterminate progresBar is freezing

i have tested on : pixel 5 API 29 (Android 10) pixel 5 API 30 (Android 11) pixel 5 API 31 (Android 12)

source code uploaded here https://github.com/goldfish07/Indeterminate-progress-bar-Bug

https://issuetracker.google.com/issues/198091796

https://user-images.githubusercontent.com/34901152/131837829-f4c12850-38e4-4ef1-902a-aa77e7ae9ec6.mp4

goldfish07 avatar Sep 02 '21 11:09 goldfish07

Have encountered the same issue, circular progress freezes when device wakes from sleep. Steps to replicate:

  1. Create any version of circular progress indicator
  2. Run the app
  3. Lock the device
  4. Unlock the device, the circular progress is now frozen

BasilVictor avatar Sep 11 '21 07:09 BasilVictor

Hello, any updates for this issue?

lcgao avatar Nov 09 '21 08:11 lcgao

Tested on Android 11, Samsung One UI 3.1 and Pixel 5 (emulator) Cannot reproduce with lock and unlock in catalog. Can reproduce with goldfish07's example. It seems there's a bug using progress indicator with transition animation.

pekingme avatar Nov 09 '21 19:11 pekingme

I can confirm the issue with transition animation.

riccardoch avatar Feb 08 '23 10:02 riccardoch

Indeterminate animation (CircularProgressIndicator) does not resume after turning screen off/on

nikolaevmaks avatar Nov 28 '23 16:11 nikolaevmaks

Same problem on API 30,if i exit the app,it will be frozen when i resume

ghost avatar Dec 07 '23 17:12 ghost