Closed
Bug 1126094
Opened 9 years ago
Closed 9 years ago
GTK3 does not report correct screen size with HiDPI displays
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: acomminos, Assigned: acomminos)
References
Details
Attachments
(1 file)
2.15 KB,
patch
|
karlt
:
review+
|
Details | Diff | Splinter Review |
Half of the available screen size is reported, caused by an incomplete upscale when nsScreenGtk is initialized from a GdkWindow (mRect and mAvailRect are in display pixels, but initialized with GDK coords). This causes issues with dialog positioning, such as the top-right menu appearing in the center of the screen. For example; I have a 2560x1600 HiDPI display with a scaling factor of 2. 1280x800 in GDK coords are available, but sites such as http://whatsmy.browsersize.com/ report only 640x400. This is caused by changes made in bug #975919.
Assignee | ||
Comment 1•9 years ago
|
||
Karl, this is a revised version of the nsScreenGtk changes factored out of bug 975919. This should set the proper screen size in pixels for both Xinerama and GdkWindow nsScreenGtk initialization. Thanks!
Attachment #8554930 -
Flags: review?(karlt)
Updated•9 years ago
|
Attachment #8554930 -
Flags: review?(karlt) → review+
Comment 2•9 years ago
|
||
Try build: https://tbpl.mozilla.org/?tree=Try&rev=a57d8324823f
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/00137d5cdc70
Assignee: nobody → andrew
Keywords: checkin-needed
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/00137d5cdc70
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•