-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
AccessViolationException while taking a screenshot #2308
Comments
As part of #2237 the way rendering for the The main difference is that the buffer is stored as a |
Closing this as I'm not unable to reproduce with Will likely be some more changes as part of #2237 so subscribe to that issue to be notified of updates. |
Sorry to ask, but I'm having the same problem (see closed duplicate above). I'm not sure what you did to fix the problem? Do we have to wait for version 65? |
OK I tested with "65.0.0-pre01" and I confirm the exception is gone, without requiring any change to my code. |
Nuget: 63.0.2
What architecture x86 or x64?
Both x64 and x86
On what operating system?
Win10
Are you using
WinForms
,WPF
orOffScreen
?OffScreen
What steps will reproduce the problem?
In general:
Changing the size of a browser and taking then a screenshot from this after the website was loaded again
Example:
Check out this fork
What is the expected output? What do you see instead?
Expected:
The size of the bitmap gets updated when I set the size of the browser.
Current:
The size of the bitmap differs from the size of the browser and therefore causes an AccessViolationException
Please provide any additional information below.
CEF
Sample Application from http://opensource.spotify.com/cefbuilds/index.html?Not tested since it looks like the screenshot wrapper method is doing something wrong!
Do you want me to test this anyway?
The text was updated successfully, but these errors were encountered: