material-components / material-components/material-components-android

[Progress Bar] Indeterminate ProgressBar gets Frozen

Open
#2,355 6 comments 6 reactions 1 assignee View on GitHub

@pekingme is already working on this.

Since Sep 2, 2021.

bug Feature: Transition Widget: ProgressIndicator
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.