Closed Bug 1760028 Opened 2 years ago Closed 2 years ago

[Wayland] move-to-rect is called for wrong subset of resize events

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

Details

Attachments

(2 files)

Due to invalid popup size calculations and movement setup is move-to-rect called on size changes which are supposed to be optimized without move-to-rect calls.

Priority: -- → P3

Take popup resize shortcut only when popup is placed inside parent window (check popup origin) and it's not moved by layout.

We don't need mMoveToRectPopupRectCleared field any more - we always calculate popup placement when a change comes from layout.

Depends on D141428

Depends on: 1760172
No longer depends on: 1759157
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/8b5300724bcb
[Wayland] Fix popup resize shortcut r=emilio
https://hg.mozilla.org/integration/autoland/rev/7955deaa7b1e
[Wayland] Remove mMoveToRectPopupRectCleared r=emilio
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: