Closed Bug 1625999 Opened 4 years ago Closed 16 days ago

Websites' resolution change when activating Touch Simulation in RDM mode

Categories

(DevTools :: Responsive Design Mode, defect, P3)

defect

Tracking

(firefox74 affected, firefox75 affected, firefox76 affected)

RESOLVED DUPLICATE of bug 1888242
Tracking Status
firefox74 --- affected
firefox75 --- affected
firefox76 --- affected

People

(Reporter: clara.guerrero, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(4 files)

Attached video resolutin.MOV

[Affected versions]
Release 74.0 (64-bit)
Beta 75.0b11 (64-bit)
Firefox Nightly 76.0a1 (2020-03-31) (64-bit)

[Affected platforms]
All

[Steps to reproduce]

1- visit youtube or facebook
2- Make sure "reload when touch simulation is toggled" is checked.
3- Click on touch simulation button to activate and deactivate.

[Expected result]
Website should be displayed properly.

[Actual result]
Resolution changes

Summary: Youtube resolution changes when activating Touch Simulation in RDM mode → Websites' resolution change when activating Touch Simulation in RDM mode
Priority: -- → P3

I can't reproduce this exactly, but I can reproduce a case that seems related. On facebook.com, with touch simulation ON, toggling RDM on and off (repeatedly) will sometimes display the RDM off case with a clipped viewport. This reminds me of Bug 1569626. I'll try to debug this behavior, then check in with Clara to see if it solves the original issue.

See Also: → 1569626
Assignee: nobody → bwerth

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
Attached image fb_class_toggle.gif

Interestingly, with the Facebook example, I can see a class being toggled on the document's HTML tag when touch simulation is enabled/disabled. See attached gif.

I'm getting pulled onto other things. I'm taking myself off this bug. My best guess is that the class change noted in comment 5 is happening in the middle of the RDM teardown, and depending on when that script runs, we get different results. So possible fixes would include:

  1. Preventing script from running during RDM teardown. Probably hard to do.
  2. Running reflow/repaint one more time after at the end of RDM teardown. This would add to the already jarring pop-in that we get from RDM transitions.
Assignee: bwerth → nobody
See Also: → 1888242
Status: NEW → RESOLVED
Closed: 16 days ago
Duplicate of bug: 1888242
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: