-
Notifications
You must be signed in to change notification settings - Fork 187
[Win32] Use PrintWindow() with PW_RENDERFULLCONTENT flag #1591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Test Results 502 files 502 suites 8m 7s ⏱️ Results for commit 1816af4. ♻️ This comment has been updated with latest results. |
|
Hi, the undocumented flag PW_RENDERFULLCONTENT seems to be necessary for printWindow.
|
d3772be to
ef3c45a
Compare
|
This appears to be working well. Nobody in Platform is actually calling My proposal would be to get that in in M1 and hope for (no negative) feedback from downstream consumers elsewhere. |
HeikoKlare
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change sounds reasonable, in particular also considering the Chromium implementation, but I am no expert on this either. We also do not make any use of the print method in our product, so I cannot assist with any testing.
My proposal would be to get that in in M1 and hope for (no negative) feedback from downstream consumers elsewhere.
I agree. Let's try to fix this as early as possible in a release cycle. What about explicitly pinging the people involved in #373 to test the fix and give feedback? Otherwise I think we might not get any (negative) feedback simply because of the lack of testing.
HeikoKlare
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's give it a try.
Resolves #373.
I came up with this solution with some google research. It seems to work well, but I'm quite clueless about those Win32 APIs, so would be great if a Win32 expert could help out here.