Open Bug 1807994 Opened 3 years ago Updated 1 year ago

PWA quits on open after being backgrounded

Categories

(Firefox for Android :: PWA, defect)

Firefox 108
All
Android
defect

Tracking

()

REOPENED

People

(Reporter: justdave, Unassigned)

References

Details

Steps to reproduce

  1. Install a PWA app
  2. Run it, and do something that takes you away from the app's home page
  3. Go do something else for a while until Android unloads the PWA process to make space for other apps in memory
  4. Tap the icon for the PWA on the home screen

Expected behavior

PWA should open and resume where I left off

Actual behavior

Screen flashes black briefly then goes back to the home screen. Tapping the PWA's icon a second time launches it from scratch instead of resuming.

Can reproduce on multiple Samsung devices on Android 12, and with multiple different PWA apps.

Device information

  • Firefox version: 108.1.1 (Build 2015922907)
  • Android device model: Samsung Galaxy Tab S6, Samsung Galaxy S10+
  • Android OS version: 12

Any additional information?

See Also: → 1717067

Leaving this in triage. We need to sync with Product on the status of PWAs

Flags: needinfo?(brclark)
See Also: → 1807420

We do still support PWA's and need to investigate the impact of this further.

Flags: needinfo?(brclark)

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Flags: needinfo?(cpeterson)

(Matching priority and severity to linked bugs.)

Severity: -- → S3
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1812691
Resolution: --- → DUPLICATE
Duplicate of bug: 1812359
No longer duplicate of bug: 1812691

Reopening this because as of the release version of Firefox 125 bug 1812359 is definitely fixed, but this one is definitely not. Apparently they weren't as related as we thought.

Status: RESOLVED → REOPENED
No longer duplicate of bug: 1812359
Resolution: DUPLICATE → ---

Steps to reproduce in comment 0 still work.

Clearing Priority so we can reprioritize these bugs relative to our ux-fun-2024 bugs.

Priority: P2 → --

Will this bug be fixed?
We use GeckoView in our kotlin app and we have black screen after switching between apps.
Some users have it when coming back to the app after capturing photo. It looks like GeckoSession closes frequently in background.
We can reopen and reload it, but it's a bad solution for camera cases.
It happens in a wide amount of GeckoView versions. E.g. org.mozilla.geckoview:geckoview-arm64-v8a:135.0.20250216192613"
In PWA the content is reloaded automatically after black screen happens but standalone mode is turned off and PWA becomes a browser.

You need to log in before you can comment on or make changes to this bug.