Closed
Bug 1323049
Opened 9 years ago
Closed 8 years ago
Window is painted incorrectly on Windows
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
People
(Reporter: rhunt, Unassigned)
References
Details
Attachments
(1 file)
|
17.59 KB,
image/png
|
Details |
With WR enabled the window is painted incorrectly. It looks like everything is offset by the title bar height, and then nothing gets painted there.
Input still works normal so if you hover over where the close button should be, it gets highlighted, but still offset incorrectly.
Comment 1•9 years ago
|
||
I confirmed the problem on my Win 10 laptop, but failed to reproduce on my Win10 desktop PC.
Comment 2•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #1)
> I confirmed the problem on my Win 10 laptop, but failed to reproduce on my
> Win10 desktop PC.
The following might be related to the problem.
The Win10 pc that does not have a problem uses nvidia's driver. The Win10 laptop that cause the problem uses intel's driver.
Comment 3•9 years ago
|
||
When the problem happened, webrender(OpenGL) did not render to white area. The white area is mostly non-client are of the app. The content area is extended to non-client area by handling WM_NCCALCSIZE message by https://dxr.mozilla.org/mozilla-central/source/widget/windows/nsWindow.cpp#5012.
When the problem happened, it seemed that the WM_NCCALCSIZE message handling did not extend the content area. Then it might be a platform for intel driver's problem.
I forcibly enabled OpenGL composition on the Win10 laptop, then I saw the same incorrect painting.
Comment 4•9 years ago
|
||
I did not see this bug's problem when OpenGLES via ANGLE is used on grahics branch.
Comment 5•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #4)
> I did not see this bug's problem when OpenGLES via ANGLE is used on grahics
> branch.
Though OpenGLES via ANGLE has another problem for now.
Comment 6•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #3)
>
> I forcibly enabled OpenGL composition on the Win10 laptop, then I saw the
> same incorrect painting.
Correction:
I forcibly enabled OpenGL composition on m-c & the Win10 laptop, then I saw the same incorrect painting.
Comment 7•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #3)
>
> When the problem happened, it seemed that the WM_NCCALCSIZE message handling
> did not extend the content area. Then it might be a platform for intel
> driver's problem.
Correction:
Then it might be a problem of windows or intel driver.
| Reporter | ||
Comment 8•8 years ago
|
||
I have not noticed this since bug 1323316 landed. Is this still a problem or can this be closed?
Flags: needinfo?(sotaro.ikeda.g)
Comment 9•8 years ago
|
||
Yes, this could be closed. thanks:)
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(sotaro.ikeda.g)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•