Closed Bug 1177171 Opened 10 years ago Closed 10 years ago

Popup sizing is often incorrect on GTK3 with HiDPI

Categories

(Core :: Widget: Gtk, defect)

Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: acomminos, Assigned: acomminos)

References

Details

Attachments

(1 file)

Steps to reproduce: - Open two right click context menus whose content dictates they should be sized differently using a GDK scale factor >= 2 - Observe odd spacing or sizing in content
This appears to be the GTK3 equivalent of bug 892994. Whipping up a simple patch that corrects this behaviour using the existing OS X infrastructure.
This patch ensures that the coordinates used for popup widgets are divisible by GDK's scale factor, maintaining consistency between the window and our bounds. Thanks!
Attachment #8627323 - Flags: review?(karlt)
Attachment #8627323 - Flags: review?(karlt) → review+
Keywords: checkin-needed
Hey Andrew this try run show a lot of reftest failures are those related to your change ?
Flags: needinfo?(acomminos)
Keywords: checkin-needed
Nope, these occur on the main GTK3 branch as well: https://treeherder.mozilla.org/#/jobs?repo=elm As the patch only affects GTK3 I didn't see much point in doing a GTK2 try push.
Flags: needinfo?(acomminos)
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: