Closed
Bug 1126094
Opened 10 years ago
Closed 10 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)
(deleted),
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•10 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•10 years ago
|
Attachment #8554930 -
Flags: review?(karlt) → review+
Comment 2•10 years ago
|
||
Comment 4•10 years ago
|
||
Assignee: nobody → andrew
Keywords: checkin-needed
Comment 5•10 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 10 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
•