Closed Bug 1810240 Opened 2 years ago Closed 2 years ago

Migration dialog should resize its container when the MigrationWizard resizes

Categories

(Firefox :: Migration, task, P1)

Desktop
All
task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

I thought this was done automatically for us, but apparently not: the new MigrationWizard will periodically change its height (for example, by changing which resource checkboxes are shown for a particular browser/profile pair), and that means that the container will also need to change size. For traditional XUL windows, that means calling sizeToContent(), and apparently for TabDialogBox dialogs, that means calling resizeVertically().

This patch builds on top of bug 1809498 by passing in an onResize function argument to the migration dialog that it can call when it detects that the MigrationWizard has resized. The caller will then be responsible for passing in the appropriate function based on the context of the dialog (a TabDialogBox, or a XUL window).

Severity: -- → N/A
OS: Unspecified → All
Priority: -- → P1
Hardware: Unspecified → Desktop
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/18ca4b02840c Make sure migration dialog container resizes when the wizard changes size. r=Gijs
Regressions: 1810887
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: