-
Notifications
You must be signed in to change notification settings - Fork 147
Add SVGs to org.eclipse.ui.intro bundles #1815
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
Add SVGs to org.eclipse.ui.intro bundles #1815
Conversation
This pull request changes some projects for the first time in this development cycle.
An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patch
Further information are available in Common Build Issues - Missing version increments. |
There are code changes which are unrelated to svgs. Please drop them from this PR. |
Doing it right now :D |
cbbe4c6
to
ecd45ef
Compare
Seeing all these changes from Then one can already remove all extensions and if ther will ever be a svg provided it is picked up automatically. |
4ab71ef
to
c5b42d2
Compare
Should be clean now. I did not notice the changes from the autoformatter thus the unwanted changes. |
Sounds like a good idea but wouldn't the performance be affected by this? I think we would need to try loading the SVG and if it fails we load the PNG. |
Of course it could require some more lookups, but the same is true for looking for higher res images and so on, and given we use it not on a cloud-image it should be not that costly given that we have svg for most of the things already. But that was just an idea that came into my mind seeing all these extension changes :-) |
I would handle this as a follow up for now but keep it in mind. Thanks :) |
What just came into my mind: If we remove the png now and people reference them in their plugin (what of course is bad practice) this might fail now. So what might be useful as well is that if one looks for |
The PNGs are not removed yet for the exact reason you mentioned but of course this is a goal in the future. We already discussed the approach of redirecting to the SVG if the PNG is not available and referenced somewhere. We don't have a final decision here but thanks for the note. |
c5b42d2
to
4af74cd
Compare
This commit adds SVGs for all icons in the bundles `org.eclipse.ui.intro` and `org.eclipse.ui.intro.universal` except for the following as these are not available as SVG yet: org.eclipse.ui.intro/etool16/restore_welcome.svg
Use on-the-fly-generated disabled version of SVG-rasterized icons instead.
4af74cd
to
1ed62c8
Compare
This PR adds SVGs for all icons in the bundles
org.eclipse.ui.intro
andorg.eclipse.ui.intro.universal
except for the following as it is not available as SVG yet:org.eclipse.ui.intro/etool16/restore_welcome.svg
See also this PR for more information.