Closed Bug 1964126 Opened 10 months ago Closed 9 months ago

Issues with displaying DPR value in Responsive Design Mode

Categories

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

Firefox 138
defect

Tracking

(firefox141 fixed)

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: regspam, Assigned: hbenl)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0

Steps to reproduce:

Press Ctrl+Shift+M to enter Responsive Design Mode, click on "Responsive" at the top and select "Galaxy Note 20 Android 11" (the first item in the list). Notice that in the DPR area (outlined in red in the attached image):
a) The value is only partially seen ("2..." instead of the full value), and there doesn't seem to be a way to fully display it.
b) There are arrow_up and arrow_down controls which don't seem to do anything.

Component: Untriaged → Responsive Design Mode
Product: Firefox → DevTools
Attached image dpr.png

b) There are arrow_up and arrow_down controls which don't seem to do anything.

In the description of Responsive Design Mode at firefox-source-docs.mozilla.org it's said that "Beginning with Firefox 68, the DPR is no longer editable". Perhaps the controls should not be displayed then so as not to confuse the user.

Thanks for the report. Indeed the preset prevents you from updating the DPR. This is not the case for the viewport size which can still be changed and will unselect the preset to go back to "Responsive".

So either we should do that: enable the controls and select responsive, or remove the UI which suggests that the DPR can be modified. One thing to note, the DPR select values are quite limited (1, 2, 3) and might not match what is in the preset. So we would need to use a similar widget to what is used for user agent.

P2 at least for fixing the display/ellipsis issue.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Assignee: nobody → hbenl
Status: NEW → ASSIGNED
Pushed by hbenl@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0fad18a42942 [devtools] Don't restrict width of DPR button in RDM. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: