eclipse.platform.swt icon indicating copy to clipboard operation
eclipse.platform.swt copied to clipboard

#924 [Win32] Possible ERROR_GRAPHIC_DISPOSED error during painting

Open tmssngr opened this issue 1 year ago • 1 comments
trafficstars

This should cover the case that BeginBufferedPaint might fail.

tmssngr avatar Sep 03 '24 10:09 tmssngr

Test Results

   483 files  ±0     483 suites  ±0   8m 22s ⏱️ -17s  4 095 tests ±0   4 085 ✅ ±0   7 💤 ±0  3 ❌ ±0  16 173 runs  ±0  16 080 ✅ ±0  90 💤 ±0  3 ❌ ±0 

For more details on these failures, see this check.

Results for commit 25047142. ± Comparison against base commit 2ce8542b.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Sep 03 '24 10:09 github-actions[bot]

Can somebody please merge this request? I don't think that the failing GTK tests are caused by this patch.

tmssngr avatar Nov 08 '24 11:11 tmssngr

So this PR fixes https://github.com/eclipse-platform/eclipse.platform.swt/issues/924 ?

BeckerWdf avatar Nov 08 '24 11:11 BeckerWdf

I am not an expert on that topic and even do no work on windows. So somebody else should have a look at it.

BeckerWdf avatar Nov 08 '24 12:11 BeckerWdf

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.

HeikoKlare avatar Nov 08 '24 15:11 HeikoKlare

Would someone be brave enough to commit to master? Why does the Linux build fail? Shouldn't be caused by this PR.

tmssngr avatar Dec 03 '24 11:12 tmssngr

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 I'm just curious about the reported new Maven issues, which is why I retriggered the Jenkins build.

HeikoKlare avatar Dec 03 '24 11:12 HeikoKlare

Failing tests are unrelated and documented:

  • #1564

HeikoKlare avatar Dec 05 '24 07:12 HeikoKlare

Thanks for merging.

tmssngr avatar Dec 05 '24 18:12 tmssngr