Skip to content

Add Missing SVGs to Platform Bundles #1873

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

Michael5601
Copy link
Contributor

@Michael5601 Michael5601 commented May 12, 2025

This PR adds all missing SVGs to Platform Bundles except for OS-specific icons in the bundle org.eclipse.platform/images for which a deletion is proposed in this PR.

All added icons were either created by me or copied if I found a duplicate with another name.

All wizban icons were created by using an Inkscape function to redraw the bitmap (PNG to SVG conversion). This returns pretty good results with only minimal manual work but also creates many paths resulting in SVG that are about 10x larger than other wizban SVGs. Rasterizing the SVGs "manually" by using JSVG did not yield significantly longer rasterization time in my testing. As I don't know a feasible way to create the wizban SVGs otherwise I propose to use this method.

I also added available SVGs for org.eclipse.ui.intro.universal/themes which were forgotten before but already existed in the images repository.

All missing SVGs are documented in this issue.

Copy link
Contributor

github-actions bot commented May 12, 2025

Test Results

 1 764 files  ±0   1 764 suites  ±0   1h 31m 20s ⏱️ - 1m 23s
 4 381 tests ±0   4 357 ✅ ±0   24 💤 ±0  0 ❌ ±0 
13 143 runs  ±0  12 976 ✅ ±0  167 💤 ±0  0 ❌ ±0 

Results for commit 58fa765. ± Comparison against base commit 80b4d31.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for creating the SVGs! The 16x16 icons and their references look fine to me. Some debug.ui icons are already referenced as SVGs in code even though they were not provided yet. So it definitely makes sense to have them in soon/now.

Like mentioned in eclipse-platform/eclipse.platform.ui#2970 (review), the wizard banner icons are no proper vector graphics, so we should exclude them form the change for now.

@Michael5601 Michael5601 force-pushed the Missing-SVGs branch 2 times, most recently from 8e594bd to bc41d6e Compare May 14, 2025 09:54
@HeikoKlare HeikoKlare force-pushed the Missing-SVGs branch 2 times, most recently from 414cfc5 to fd95f92 Compare May 14, 2025 13:51
This commit adds missing SVG to Platform Bundles excluding wizard banner
icons.
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed the wizard banner icons for the reasons mentioned in eclipse-platform/eclipse.platform.ui#2970 (review) again to make this PR ready to merge. We should have a separate look at them.

@HeikoKlare HeikoKlare merged commit 2e1acee into eclipse-platform:master May 14, 2025
18 checks passed
@Michael5601 Michael5601 deleted the Missing-SVGs branch May 19, 2025 09:37
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.

2 participants