Skip to content

Set default SVG color to match the SWT.COLOR_WIDGET_FOREGROUND#3400

Open
DLTKJoelJohansson wants to merge 1 commit into
eclipse-platform:masterfrom
DLTKJoelJohansson:svg-fg-color
Open

Set default SVG color to match the SWT.COLOR_WIDGET_FOREGROUND#3400
DLTKJoelJohansson wants to merge 1 commit into
eclipse-platform:masterfrom
DLTKJoelJohansson:svg-fg-color

Conversation

@DLTKJoelJohansson

Copy link
Copy Markdown

An attempt at fixing #3398.
Let me know what you think.

Thanks!

@DLTKJoelJohansson

Copy link
Copy Markdown
Author

Cant get the build run locally, and jenkins reporting build errors, maybe someone can take a look? Thanks

@merks

merks commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Don't do merge commits; we can't merge this into master in the end because we don't accept merge commits. In fact don't do multiple commits in general. Use rebase. Amend you commit and force push it when you need to make subsequent follow up changes. You'll need to rebase and force push to repair this PR.

@merks

merks commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

I'll approve the workflow so you can see any errors in the GitHub actions. Please rebase and force push to get this back on track.

@merks

merks commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

See we even fail with a check for merge commits:

image

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Test Results

  200 files  ±0    200 suites  ±0   27m 44s ⏱️ - 1m 27s
4 742 tests ±0  4 718 ✅ ±0   24 💤 ±0  0 ❌ ±0 
6 880 runs  ±0  6 712 ✅ ±0  168 💤 ±0  0 ❌ ±0 

Results for commit 7091da9. ± Comparison against base commit 450ece0.

♻️ This comment has been updated with latest results.

@merks

merks commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

I've approved the workflow again. I'll be out of office for a few hours...

@DLTKJoelJohansson

Copy link
Copy Markdown
Author

Cant seem to figure it out, its failing for Linux builds

@DLTKJoelJohansson DLTKJoelJohansson force-pushed the svg-fg-color branch 2 times, most recently from 8aa4474 to 34c413c Compare June 23, 2026 10:33
@DLTKJoelJohansson

Copy link
Copy Markdown
Author

Okay got it to work now! Moved out the Display.getDefault() call to org.eclipse.swt bundle (In SVGFileFormat, the caller) fixed it.

Thanks @merks for your help. Let me know what you think

@DLTKJoelJohansson

Copy link
Copy Markdown
Author

Maybe not, seems like the Browser tests for Windows are failing. Pretty strange

@DLTKJoelJohansson

Copy link
Copy Markdown
Author

@merks any thoughts on this? I have a hard time seeing how these changes can cause the Browser tests to fail on Windows, since the changes only touch the SVG Rasterization

@merks

merks commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

It could just be a flaky test. I'll rerun it.

@DLTKJoelJohansson

Copy link
Copy Markdown
Author

Looks like the same Browser tests are failing again, but at least the build succeeded now

@merks

merks commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

@HeikoKlare

I've not looked closely, but is the failure of the browser test on Windows related to this PR or maybe known to be flaky?

@joeljohansson99

Copy link
Copy Markdown

Thanks @HeikoKlare, and @merks! This PR should ready for review now

@merks

merks commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

@HeikoKlare

I will leave it to someone qualified to review the changes.

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.

3 participants