Community
Participate
Working Groups
Created attachment 279954 [details] Project explorer filter dialog with missing tab icons See attached screenshot. With plain SDK and fresh workspace the Filters and Customization dialog from project explorer has three tabs with three icons in 4.12 SDK but only the center tab has an icon in 4.13 SDK. I don't see this problem in my regular 4.14 working SDK but probably because the workspace is the same since at least 4.12.
Can it be it is caused by icons changed from gif to png?
I see it on RHEL 7.4 too, so this is not SWT, it is bug 548799. The logic in org.eclipse.ui.internal.navigator.NavigatorPlugin.getImage(String) doesn't work for the first lookup of the value. Same issue in org.eclipse.ui.internal.navigator.extensions.NavigatorContentDescriptorManager.retrieveAndStoreImage(String). I will push a patch in a moment.
New Gerrit change created: https://git.eclipse.org/r/150416
Gerrit change https://git.eclipse.org/r/150416 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=89d6f5c8e6fa0e007dec656250769f757911e7b8
As the cause for this is a regression from bug 548799. Does that mean that the new API behaves differently as the old one?
(In reply to Matthias Becker from comment #5) > As the cause for this is a regression from bug 548799. > > Does that mean that the new API behaves differently as the old one? No, there is no reason to assume that. It is a good example why assignments in conditions or method calls are bad. The old code did an assignment in a method call and while changing the code to use the new API this assignment was overlooked.
(In reply to Paul Pazderski from comment #6) > (In reply to Matthias Becker from comment #5) > > As the cause for this is a regression from bug 548799. > > > > Does that mean that the new API behaves differently as the old one? > > No, there is no reason to assume that. It is a good example why assignments > in conditions or method calls are bad. The old code did an assignment in a > method call and while changing the code to use the new API this assignment > was overlooked. Okay.
Verified with I20191002-0100