Preferences popups when zoomed are mispositioned (was: Clean-up Wayland popup positioning)
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
https://bugzilla.mozilla.org/attachment.cgi?id=9265427 is enough to fix bug 1750487 since it what caused a resize loop on wayland when zoom was applied, but the other patches also make sense and make the code both nicer and less error-prone, so let's get them landed too.
Assignee | ||
Comment 1•3 years ago
|
||
Store preferred rect in dev pixels, which simplifies a bit other calculations,
and ensures that the nsMenuPopupFrame code accounts for zoom etc.
Use existing conversion methods for GDK <-> Device <-> CSS conversions.
Assignee | ||
Comment 2•3 years ago
|
||
DevicePixelsToGdkRectRoundOut should have the same behavior here and is
simpler / less weird than having a positionless rect variable to
represent a size.
Depends on D139623
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
This was also broken.
Assignee | ||
Updated•3 years ago
|
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/420728eba6a0
https://hg.mozilla.org/mozilla-central/rev/975f49d4b685
https://hg.mozilla.org/mozilla-central/rev/1adc73ab00de
https://hg.mozilla.org/mozilla-central/rev/803b5bac0909
Updated•3 years ago
|
Description
•