Closed Bug 1520819 Opened 6 years ago Closed 6 years ago

Improve RDM handling of meta viewport

Categories

(DevTools :: Responsive Design Mode, enhancement, P2)

65 Branch
enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mbalfanz, Assigned: bradwerth)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached video rdm-touch-disable.mp4

Without full page refreshes RDM (with touch simulation) can behave in odd ways.

Attached is a video where RDM leaves scrollbars in the middle of the page after disabling it.

Even though there is a setting to refresh the page when touch simulation is toggled or the user agent changes, this page refresh does not happen on closing RDM.

The site I'm using here is google.com, which set's <meta content="width=device-width,minimum-scale=1.0" name="viewport"> for touch devices.

2 problems I see:

  • RDM only functions as expected when the page is refreshed after entering it
  • Closing RDM needs another page refresh to make the page behave normally

At a minimum, I think we need to have a page refresh when closing RDM and either of the two options is enabled.

Thinking it through though, I would love for us to have a way to handle those situations without a page refresh. It would be great for the changes panel, and Chrome can also do without it. A refresh should be the very last resort.

Assignee: nobody → bwerth
Priority: -- → P2

Once Bug 1521814 lands, this issue will need the pref dom.meta-viewport.enabled set to true in order to properly test it.

(In reply to Brad Werth [:bradwerth] from comment #1)

Once Bug 1521814 lands, this issue will need the pref dom.meta-viewport.enabled set to true in order to properly test it.

Update: the relevant pref is devtools.responsive.metaViewport.enabled.

No longer blocks: rdm-ux

This was likely fixed by Bug 1501665. Would you please retest in Nightly?

Flags: needinfo?(mbalfanz)

seems ok now!

Flags: needinfo?(mbalfanz)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: