Closed
Bug 1026595
Opened 10 years ago
Closed 10 years ago
nsDeviceContext can't get information on non-primary screens
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
RESOLVED
FIXED
mozilla33
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: mconley, Assigned: mconley)
References
Details
nsDeviceContext::FindScreen[1] attempts to get a handle on the native screen by using getNativeData on the PuppetWidget with NS_NATIVE_WINDOW. Unfortunately, PuppetWidget doesn't support NS_NATIVE_WINDOW. It supports NS_NATIVE_SHAREABLE_WINDOW, but this is not something that all platforms support (as far as I can tell). Because it fails to get the native screen for the widget, it defaults to getting the primary screen. This means the screen data will be incorrect if the browser is on a screen other than the primary screen. [1]: http://dxr.mozilla.org/mozilla-central/source/gfx/src/nsDeviceContext.cpp#634
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
Pretty sure this will get fixed by bug 1002354, so estimating 1 hour of effort to ensure this is the case.
Assignee | ||
Comment 3•10 years ago
|
||
This got fixed by bug 1002354 landing.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•