Open Bug 1907798 Opened 2 years ago Updated 2 years ago

Tab unloading breaks the tab's Desktop Mode permanently

Categories

(Firefox for Android :: Tabs, defect)

Firefox 128
All
Android
defect

Tracking

()

People

(Reporter: masonjim537, Unassigned)

Details

User Agent: Mozilla/5.0 (Android 14; Mobile; rv:128.0) Gecko/128.0 Firefox/128.0

Steps to reproduce:

  1. Open a new tab to any page; one with a visual indicator for whether you are in Desktop Mode works best. (I have only experienced this issue in a private tab but that may be unrelated, that's just typically where I use Desktop Mode.)
  2. Allow the tab to be unloaded by moving away from the tab and keeping the app in the background for some time.
  3. Return to the tab.
  4. Observe the tab is no longer in desktop mode; open sidebar and press Desktop mode switch to observe it has no effect.

Actual results:

Tab exits Desktop Mode visually, but the switch remains active and does not allow itself to be disabled.

Expected results:

Tab should remain in Desktop Mode; switch should be able to change state.

An update, can confirm this occurs in non-private tabs too.

I could reproduce it too.
Thanks for reporting the bug

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true

How to reproduce this easily

  • Have a rooted device, or an emulator with Google API (not Google Play)
  • Open www.wikipedia.com
  • on the ThreeDot menu, check "Destkop site"
  • Make sure Wikipedia restarted on Destkop mode.
  • Open a new tab, navigate to "about:processes". You'll see "Shared Web Process (PID)". Keep this PID number, we'll use in the next step.
  • Hit the "Home" button on your Android device to leave Fenix (without killing it)
  • run
adb root
adb shell 
kill `PID`
  • Open Fenix.

Actual results:

Tab exits Desktop Mode visually, but the switch remains active and does not allow itself to be disabled.

Expected results:

Tab should remain in Desktop Mode; switch should be able to change state.

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