Skip to content
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

[win32] fix invalid icon bounds #1672

Merged

Conversation

akoch-yatta
Copy link
Contributor

@akoch-yatta akoch-yatta commented Dec 17, 2024

This commit fixes an issue in the win32 implementation that returned invalid bounds for an icon in some scenarios. This was introduced with #1496

How to reproduce

image

  • Open any XML file with the XML Editor

image

It is not 100% reproducible, but should lead to an exception most of the times without this PR

This commit fixes an issue in the win32 implementation that returned invalid bounds for an icon in some scenarios.
Copy link
Contributor

Test Results

   382 files  ±0     382 suites  ±0   6m 39s ⏱️ - 2m 29s
 4 249 tests ±0   4 241 ✅ +1   7 💤 ±0  1 ❌  - 1 
12 301 runs  ±0  12 213 ✅ +1  87 💤 ±0  1 ❌  - 1 

For more details on these failures, see this check.

Results for commit e0ff475. ± Comparison against base commit 603eecd.

@akoch-yatta akoch-yatta linked an issue Dec 18, 2024 that may be closed by this pull request
@fedejeanne
Copy link
Contributor

Test failures are unrelated #1676 , #1564

@fedejeanne fedejeanne merged commit 9901c56 into eclipse-platform:master Dec 18, 2024
5 of 11 checks passed
@akoch-yatta akoch-yatta deleted the fix-exception-with-icon-images branch January 13, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SWT exception when opening XML file
2 participants