thunderbird / thunderbird/thunderbird-android

Find replacement for deprecated `ProgressDialog`

Open
#7,696 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: low status: needs design type: platform type: UI/UX
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

With API 26 the use of ProgressDialog is deprecated.

ProgressDialog is a modal dialog, which prevents the user from interacting with the app. Instead of using this class, you should use a progress indicator like ProgressBar, which can be embedded in your app's UI. Alternatively, you can use a notification to inform the user of the task's progress.

We need to find a replacement for the various places the ProgressDialog is used.

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.

Research direction

Search the repository for all uses of deprecated ProgressDialog and inspect each call site to understand its task and UI context. Replace the usages with appropriate progress indicators or notifications, then verify that no ProgressDialog references remain and the affected flows still report progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.