Closed Bug 1678247 Opened 4 years ago Closed 4 years ago

[Wayland] Menu opened on another monitor has 2x scale

Categories

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

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: stransky, Assigned: jhorak)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached video Screencast of the bug

A scenario when primary monitor use scale 200%, secondary monitor scale 100%. When Firefox is running on primary monitor (200% scale) but menu is opened on secondary (100% scale), menu is painted with 400% scale. See the screencast for details.

Priority: -- → P3
Assignee: nobody → jhorak

Since we're using toplevel's scale factor to create and layout popup window
its mozcontainer has to use same scale factor and not the scale factor given
by GTK/wayland.

Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/274d615bbe95 Use nsWindow scale factor for the content of the popup; r=stransky
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: