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)
Tracking
()
RESOLVED
FIXED
mozilla42
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | fixed |
People
(Reporter: acomminos, Assigned: acomminos)
References
Details
Attachments
(1 file)
|
3.03 KB,
patch
|
karlt
:
review+
|
Details | Diff | Splinter Review |
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
| Assignee | ||
Comment 1•10 years ago
|
||
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.
| Assignee | ||
Comment 2•10 years ago
|
||
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)
Updated•10 years ago
|
Attachment #8627323 -
Flags: review?(karlt) → review+
| Assignee | ||
Comment 3•10 years ago
|
||
Try push (GTK3): https://treeherder.mozilla.org/#/jobs?repo=try&revision=24bede8ad191
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 4•10 years ago
|
||
Hey Andrew this try run show a lot of reftest failures are those related to your change ?
Flags: needinfo?(acomminos)
Keywords: checkin-needed
| Assignee | ||
Comment 5•10 years ago
|
||
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)
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 7•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•