-
Notifications
You must be signed in to change notification settings - Fork 187
#924 [Win32] Possible ERROR_GRAPHIC_DISPOSED error during painting #1441
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
#924 [Win32] Possible ERROR_GRAPHIC_DISPOSED error during painting #1441
Conversation
Test Results 483 files ±0 483 suites ±0 8m 22s ⏱️ -17s For more details on these failures, see this check. Results for commit 2504714. ± Comparison against base commit 2ce8542. ♻️ This comment has been updated with latest results. |
8173af6 to
7875692
Compare
7875692 to
16fe2fd
Compare
16fe2fd to
c48579c
Compare
|
Can somebody please merge this request? I don't think that the failing GTK tests are caused by this patch. |
|
So this PR fixes #924 ? |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
Show resolved
Hide resolved
|
I am not an expert on that topic and even do no work on windows. So somebody else should have a look at it. |
|
In general, the change looks sound to me. I am just wondering whether it is necessary and thus whether we should merge this change now. We are already past M3 and even though I would consider the risk of the change as low in general, at the same the affected code is quite crucial. The issue does not seem to be critical: the report has been made a year ago and no one else complained so far. So would it be sufficient to target this for 2025-03 M1? Then we have the whole three months of 2025-03 development for implicit testing by developers using Windows. |
c48579c to
006e1fe
Compare
015f8fa to
db6d8e9
Compare
…ring painting This should cover the case that BeginBufferedPaint might fail.
db6d8e9 to
2504714
Compare
|
Would someone be brave enough to commit to master? Why does the Linux build fail? Shouldn't be caused by this PR. |
Yes, I've just rebased the branch onto master. Linux build failures are existing and documented here: #1564 |
|
Failing tests are unrelated and documented: |
|
Thanks for merging. |
This should cover the case that BeginBufferedPaint might fail.