| Summary: | EmptyWorkspaceHelper assumes all wizards have an icon | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | UI | Assignee: | Matthias Becker <ma.becker> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | daniel_megert, ma.becker |
| Version: | 4.11 | ||
| Target Milestone: | 4.12 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=543746 https://git.eclipse.org/r/139467 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=71958d200c365408f3bb79d867c63abd0202472a |
||
| Whiteboard: | |||
|
Description
Stephan Herrmann
This bug is aggravated by the fact, that importing projects by some other means (in my cause during an Oomph installation) does not fix the Package Explorer or similar views. Existing projects will not be visible until Eclipse is restarted.
Viz: creating a workspace with Oomph where just one icon-less wizard is installed will result in a seemingly empty workspace, despite successful project imports.
User friendly (oomph) + user friendly (bug 543746) = very bad UX.
I spoke too soon: a restart after importing projects and while Java Browsing perspective is active does restore the Package Explorer and friends, but restarting into Java Perspective still ends up with unusable * Explorer & Navigator. I am working on a fix. New Gerrit change created: https://git.eclipse.org/r/139467 (In reply to Eclipse Genie from comment #4) > New Gerrit change created: https://git.eclipse.org/r/139467 @Stephan: Can you please review this change? Once you tell me that this fixes your issue and once I have your +1 I will merge the change. (In reply to Matthias Becker from comment #5) > (In reply to Eclipse Genie from comment #4) > > New Gerrit change created: https://git.eclipse.org/r/139467 > > @Stephan: Can you please review this change? Once you tell me that this > fixes your issue and once I have your +1 I will merge the change. Thanks for swift action. Testing this in my original use case is not possible until the fix can be installed using oomph. At a quick glance the fix looks good, so may I suggest you merge it now, and I will try to test it once we have the next I-build? the build of my gerrit change failed with: Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.4.0-SNAPSHOT:compare-version-with-baselines (compare-attached-artifacts-with-release) on project org.eclipse.e4.ui.workbench.renderers.swt: Only qualifier changed for (org.eclipse.e4.ui.workbench.renderers.swt/0.14.500.v20190326-1000). Expected to have bigger x.y.z than what is available in baseline (0.14.500.v20190220-1002) -> [Help 1] Why is this. I did not touch org.eclipse.e4.ui.workbench.renderers.swt. I also don't see that it was touched by any other change since the version increase for 4.12. (In reply to Stephan Herrmann from comment #6) > (In reply to Matthias Becker from comment #5) > > (In reply to Eclipse Genie from comment #4) > > > New Gerrit change created: https://git.eclipse.org/r/139467 > > > > @Stephan: Can you please review this change? Once you tell me that this > > fixes your issue and once I have your +1 I will merge the change. > > Thanks for swift action. > > Testing this in my original use case is not possible until the fix can be > installed using oomph. > > At a quick glance the fix looks good, so may I suggest you merge it now, and > I will try to test it once we have the next I-build? I did re-produce your use-case by temporarily removing the icon of the "New Java Project" wizard. This first caused the NPE and with my change it was fixed. Can you pls. tell me which wizard is the one that does not have an icon? (In reply to Stephan Herrmann from comment #6) > At a quick glance the fix looks good, so may I suggest you merge it now, and > I will try to test it once we have the next I-build? Can you then pls. give a +1 in the gerrit review? (In reply to Matthias Becker from comment #8) > Can you pls. tell me which wizard is the one that does not have an icon? It was from our own xtext-based DSL. I vaguely remember that this wizard was generated by Xtext (can't check right now), see https://help.eclipse.org/2019-03/topic/org.eclipse.xtext.doc/contents/310_eclipse_support.html?cp=103_1_7_8#projectwizard (In reply to Stephan Herrmann from comment #10) > (In reply to Matthias Becker from comment #8) > > Can you pls. tell me which wizard is the one that does not have an icon? > > It was from our own xtext-based DSL. I vaguely remember that this wizard was > generated by Xtext (can't check right now), see > https://help.eclipse.org/2019-03/topic/org.eclipse.xtext.doc/contents/ > 310_eclipse_support.html?cp=103_1_7_8#projectwizard Okay. So you should take this opportunity to add an icon for it now. ;-) Gerrit change https://git.eclipse.org/r/139467 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=71958d200c365408f3bb79d867c63abd0202472a |