Add SVGs to org.eclipse.ui.intro bundles#1815
Add SVGs to org.eclipse.ui.intro bundles#1815HeikoKlare merged 3 commits intoeclipse-platform:masterfrom Michael5601:org.eclipse.ui.intro.SVGs
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 patchFurther 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 |
|
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. |
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. |
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.
This PR adds SVGs for all icons in the bundles
org.eclipse.ui.introandorg.eclipse.ui.intro.universalexcept 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.