Open Bug 1953029 Opened 1 year ago Updated 20 days ago

[meta] Add a way to simulate the dynamic toolbar in Responsive Design Mode

Categories

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

enhancement

Tracking

(firefox140 affected)

REOPENED
140 Branch
Tracking Status
firefox140 --- affected

People

(Reporter: botond, Unassigned)

References

(Depends on 8 open bugs, Blocks 2 open bugs)

Details

(Keywords: meta)

Attachments

(2 files, 3 obsolete files)

Similar to bug 1950771, and originally suggested by Emilio in Dublin but I don't think we've filed a bug for it so far: it would be great if Responsive Design Mode had a way of simulating Firefox for Android's "dynamic toolbar" (the address bar that animates offscreen in response to scrolling if the "Scroll to hide toolbar" setting is enabled).

We get a lot of APZ and Layout bugs that are specific to viewport sizing in the presence of the dynamic toolbar (i.e. issues related to whether various viewport-related quantities such as the layout viewport, visual viewport, initial containing block, containing block for fixed descendants, etc. include or exclude the dynamic toolbar height). Being able to reproduce and investigate such bugs in a desktop build using RDM would be a significant productivity improvement for us.

See Also: → 1950771

As with bug 1950771, for our purposes we wouldn't need RDM's dynamic toolbar to be a functional toolbar (e.g. to have a URL input field), we're just after its effects on viewport sizing.

Assignee: nobody → ajakobi
Depends on: 1957520
Priority: -- → P3
Attachment #9478852 - Attachment description: WIP: Bug 1953029 - Add dynamic toolbar to responsive design mode r=botond → Bug 1953029 - Pass WindowGlobalTargetActor to TouchSimulator in RDM r=#devtools-reviewers,mstange

This makes formerly Android-exclusive DynamicToolbarOffsetChanged and DyamicToolbarMaxHeightChanged methods
available for desktop platforms.
Also adds forwards of DynamicToolbarOffsetChanged to compositor and nsBaseWidget.

Blocks: 1967718
Pushed by ajakobi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb7daaa85c3f Pass WindowGlobalTargetActor to TouchSimulator in RDM r=devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Pushed by ajakobi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c42c26992b9d Add dynamic toolbar to frontend of responsive design mode r=devtools-reviewers,nchevobbe

Converting this into a [meta] bug.

Depends on: 1957522, 1957531
Keywords: leave-open
Summary: Add a way to simulate the dynamic toolbar in Responsive Design Mode → [meta] Add a way to simulate the dynamic toolbar in Responsive Design Mode
Depends on: 1970616
Depends on: 1970617
Depends on: 1970618
Depends on: 1970619
Depends on: 1970620

Comment on attachment 9486586 [details]
Bug 1953029 - Dynamic toolbar in RDM reacts to events from touch simulator r=mstange,#devtools-reviewers

Revision D248611 was moved to bug 1970616. Setting attachment 9486586 [details] to obsolete.

Attachment #9486586 - Attachment is obsolete: true

Comment on attachment 9486593 [details]
Bug 1953029 - Make calls to DynamicToolbarOffsetChanged and DynamicToolbarMaxHeightChanged available for desktop platforms r=botond,mstange

Revision D248616 was moved to bug 1970617. Setting attachment 9486593 [details] to obsolete.

Attachment #9486593 - Attachment is obsolete: true

Comment on attachment 9486597 [details]
Bug 1953029 - Add SetVerticalClipping and SetDynamicToolbarMaxHeight methods to InspectorUtils r=mstange,botond

Revision D248619 was moved to bug 1970618. Setting attachment 9486597 [details] to obsolete.

Attachment #9486597 - Attachment is obsolete: true
Depends on: 1970697
Depends on: 1977380
Depends on: 1977773
Depends on: 1978012
Depends on: 1978033
Depends on: 1978145
No longer depends on: 1977773
Depends on: 1984621
Depends on: 1989327
Depends on: 1996721
Depends on: 2005965
Depends on: 2005966
Depends on: 2006397
Assignee: ajakobi → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: