Closed Bug 2062153 Opened 24 days ago Closed 20 days ago

RDM "Device Settings" modal isn't positioned properly

Categories

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

defect

Tracking

(firefox-esr140 unaffected, firefox-esr153 unaffected, firefox153 unaffected, firefox154 unaffected, firefox155 fixed, firefox156 fixed)

RESOLVED FIXED
156 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox153 --- unaffected
firefox154 --- unaffected
firefox155 --- fixed
firefox156 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Device Settings dialog

The Device Settings Dialog is displayed at the top of the responsive content page and is pretty small
It used to cover it entirely (as well as the bottom DevTools toolbox if there's one)

That's because it's positioned in the grid row we setup for the RDM toolbar, so we need to change that

When the dialog is displayed, span the RDM iframe to the bottom row so it overlaps the browser stack,
as well as a potential bottom-docked DevTools toolbox.
We also need to adjust the z-index so it's displayed
on top of the browser stack.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED

The Bugbug bot thinks this bug should belong to the 'DevTools::Responsive Design Mode' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Responsive Design Mode

Set release status flags based on info from the regressing bug 2049244

Summary: RDM "Device Settings" modal isn'tg positioned properly → RDM "Device Settings" modal isn't positioned properly
Severity: -- → S3
Priority: -- → P2
Pushed by nchevobbe@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/07c342e3e5d5 https://hg.mozilla.org/integration/autoland/rev/ce4b1454d612 [devtools] Fix RDM Device Settings modal. r=jdescottes,desktop-theme-reviewers,tabbrowser-reviewers,sclements,hjones,devtools-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch

The patch landed in nightly and beta is affected.
:nchevobbe, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(nchevobbe)

(In reply to BugBot [:suhaib / :marco] from comment #6)

The patch landed in nightly and beta is affected.
:nchevobbe, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

requested the uplift

Flags: needinfo?(nchevobbe)

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Dialog to select/edit devices for Responsive Design Mode wouldn't be displayed properly, potentially hiding some options
  • Code covered by automated testing?: no
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: -
  • Risk associated with taking this patch: low
  • Explanation of risk level: Simple, mostly CSS, change, that is only visible when Responsive Design Mode is enabled
  • String changes made/needed?: -
  • Is Android affected?: no
Attachment #9627238 - Flags: approval-mozilla-beta?

When the dialog is displayed, span the RDM iframe to the bottom row so it overlaps the browser stack,
as well as a potential bottom-docked DevTools toolbox.
We also need to adjust the z-index so it's displayed on top of the browser stack.
Finally, we set the accomodate-ua class on the .browserContainer element, and
use it to udpate the --rdm-toolbar-height variable, that we then use to set
the grid row's height; this way the row is always the same height, even when
we open the dialog (if we wouldn't do that, the row would grow, and we wouldn't
have the same space between the RDM toolbar and the content page).

Original Revision: https://phabricator.services.mozilla.com/D317419

Attachment #9627238 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: