Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Conversation

@Michael5601
Copy link
Contributor

@Michael5601 Michael5601 commented May 13, 2025

Most SVGs were added directly to the eclipse bundles which removes the need for maintaining icons in the images repository. This PR deletes all folders of Platform UI bundles in the images repository where all SVGs are existing and already copied directly to the specific bundle. For Platform UI bundles this is the case for every folder, so they all will be deleted.

The following directories will be deleted:
org.eclipse.e4.ui.dialogs
org.eclipse.e4.ui.progress
org.eclipse.e4.ui.workbench.addons.swt
org.eclipse.e4.ui.workbench.renderers.swt
org.eclipse.e4.ui.workbench.swt
org.eclipse.jface.notifications
org.eclipse.jface.text
org.eclipse.jface
org.eclipse.search
org.eclipse.ui.browser
org.eclipse.ui.editors
org.eclipse.ui.forms
org.eclipse.ui.genericeditor
org.eclipse.ui.ide.application
org.eclipse.ui.ide
org.eclipse.ui.navigator.resources
org.eclipse.ui.navigator
org.eclipse.ui.views.log
org.eclipse.ui.views
org.eclipse.ui.workbench.texteditor
org.eclipse.ui
org.eclipse.ltk.ui.refactoring

All missing SVGs are tracked in this issue.

@Michael5601 Michael5601 force-pushed the Delete-Platform-UI-Bundles branch from e481548 to 69064c2 Compare May 13, 2025 09:41
@merks
Copy link
Contributor

merks commented May 13, 2025

And I thought the images where safe to use from there. 😜

image

Time to revisit that assumption...

@BeckerWdf
Copy link
Member

shouldn't we also delete the corresponding PNG folders?

Most SVGs were added directly to the eclipse bundles which removes the need for maintaining icons in the images repository.
This commit deletes all folders of Platform UI bundles in the images repository where all SVGs are existing and already copied directly to the specific bundle. For Platform UI this is the case for every folder.

The following folders will be deleted:
`org.eclipse.e4.ui.dialogs`
`org.eclipse.e4.ui.progress`
`org.eclipse.e4.ui.workbench.addons.swt`
`org.eclipse.e4.ui.workbench.renderers.swt`
`org.eclipse.e4.ui.workbench.swt`
`org.eclipse.jface.notifications`
`org.eclipse.jface.text`
`org.eclipse.jface`
`org.eclipse.search`
`org.eclipse.ui.browser`
`org.eclipse.ui.editors`
`org.eclipse.ui.forms`
`org.eclipse.ui.genericeditor`
`org.eclipse.ui.ide.application`
`org.eclipse.ui.ide`
`org.eclipse.ui.navigator.resources`
`org.eclipse.ui.navigator`
`org.eclipse.ui.views.log`
`org.eclipse.ui.views`
`org.eclipse.ui.workbench.texteditor`
`org.eclipse.ui`
`org.eclipse.ltk.ui.refactoring`
@Michael5601 Michael5601 force-pushed the Delete-Platform-UI-Bundles branch from 69064c2 to fcf08ed Compare May 13, 2025 11:29
@Michael5601
Copy link
Contributor Author

shouldn't we also delete the corresponding PNG folders?

Done.

@HeikoKlare
Copy link
Contributor

@merks so should these removal PRs be postponed as Oomph relies on the images being present in this repo?

@merks
Copy link
Contributor

merks commented May 13, 2025

No, definitely not. I just need to use the URIs for the new locations and all will be good. Thanks for asking.

@vogella
Copy link
Contributor

vogella commented May 13, 2025

@merks please merge once you are ready with the Oomph change

Copy link
Contributor

@laeubi laeubi left a comment

Choose a reason for hiding this comment

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

We must include the SVGs then (and adjust the generated manifest to require the swt-svg feature), same as in #142 (comment)

@laeubi
Copy link
Contributor

laeubi commented May 26, 2025

Why are the SVGs delete here? Please look at the maven build that creates a bundle so other RCP products can use the images as well.

@akurtakov
Copy link
Member

IIRC the goal is for this repo to disappear entirely over time.

@laeubi
Copy link
Contributor

laeubi commented May 26, 2025

IIRC the goal is for this repo to disappear entirely over time.

But why? Its already bad enough we currently forced to copy thing multiple times instead of having a single source so why now force others to do the same? Also I find it quite convenient to checkout all images and look at them without first finding the bundle that host an image then checkout the full repo then go on again with another icon...

See also this discussion:

@akurtakov
Copy link
Member

IIRC There have been cases of changing icons in eclipse but not here and an effort to remove this extra syncing step. As icon handling is more than suboptimal with or without this one for me I don't have more to say here and will let you guys figure it out.
eclipse-platform/eclipse.platform.ui#13 or something similar that allows a "real" icon theme and is delivered altogether is the thing that makes sense to me (and I understand that it would be non trivial amount of things to be touched for such a thing to work).

@laeubi
Copy link
Contributor

laeubi commented May 30, 2025

Seems I can't dismiss my review here unless conflicts are resolved....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants