Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 163169

Summary: [About] Eclipse uses the branding plug-in's name to display the feature name rather than the feature's name from the feature.xml file
Product: [Eclipse Project] Platform Reporter: Alex Le <unbonnevie>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: christian.weinreben, clovis.seragiotto, curtispd, dash.alpha, davidms, david_williams, eclipse.sprigogin, eric.milles, heiko.boettger, matthias.schmalz, mober.at+eclipse, nyssen, per.mildner, picard, sbouchet, spacehorst, stori, tgrimault, udojung
Version: 3.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Alex Le CLA 2006-11-01 21:59:33 EST
Hi,

When I associate a feature with a branding plug-in, I notice that Eclipse display the feature name by using the branding plug-in's "Bundle-Name:" in the plug-in's manifest file.  Eclipse should REALLY use the feature name/label. in the feature.xml file.  One can see this by doing "Help->About Eclipse SDK" and click on the icon of the branded feature/product to see the listing of the features of that product.
Comment 1 Curtis d'Entremont CLA 2006-11-02 11:00:59 EST
I was also confused by this the first time I saw it.
Comment 2 Curtis d'Entremont CLA 2006-11-10 17:20:41 EST
*** Bug 164189 has been marked as a duplicate of this bug. ***
Comment 3 Martin Oberhuber CLA 2008-06-05 17:59:35 EDT
*** Bug 168188 has been marked as a duplicate of this bug. ***
Comment 4 David Henderson CLA 2008-12-10 17:13:00 EST
This behaves the same in eclipse 3.4 still and is confusing, was there a reason the branding plugin name was every used instead?  I don't understand why I have to even make a branding plugin for every single feature I have just so the feature info gets displayed appropriately in the "about" UI...
Comment 5 Dave Steinberg CLA 2009-03-23 15:57:03 EDT
My understanding is that features don't really exist at runtime: they just help update manager/p2 determine what plug-ins to run together. So, all of the information in feature.xml is available for display in the update UI, but not available in the active platform into which features are installed. That's why we need branding plug-ins in the first place.

However, it still seems quite wrong to be using the bundle name of the branding plug-in because the branding plug-in may also be just one of several plug-ins in the feature.

For example, in EMF, we have an org.eclipse.emf.ecore feature, which provides just the EMF core runtime. In includes EMF's common utilities (plug-in org.eclipse.emf.common), Ecore (org.eclipse.emf.ecore), the change model (org.eclipse.emf.ecore.change), and XML persistence support (org.eclipse.emf.ecore.xmi). The branding plug-in is org.eclipse.emf.ecore, and its bundle name is "EMF Ecore". However, the feature name should be "EMF Core Runtime" to reflect the fact that it contains more than *just* Ecore. We've set label to that in the feature.xml file, but there's no way to make that name show up in the About dialog. Users just see "EMF Ecore."

Given that the about.ini file in a branding plug-in provides other feature data that's needed by the About dialog (aboutText and featureImage), I think it would make perfect sense to add support for a featureName key that could be used to specify a name for the whole feature. Such a value would be used if specified. Otherwise, the branding plug-in's bundle name would be used as a fallback.
Comment 6 Susan McCourt CLA 2009-06-25 15:19:22 EDT
reassigning remaining [About] bugs according to 2009 platform-ui triage guidelines
Comment 7 Alain Picard CLA 2011-04-12 08:55:45 EDT
Any idea when this will be addressed. It's been over 4 years and has been in triage for almost 2 years.

Thanks
Alain
Comment 8 Susan McCourt CLA 2011-04-12 11:52:50 EDT
(In reply to comment #7)
> Any idea when this will be addressed. It's been over 4 years and has been in
> triage for almost 2 years.
> 
> Thanks
> Alain

I'm not sure there's been convergence on what the solution should be.  Comment #5 suggests a key be added to about.ini, does that solve the problem for those who have voted on this bug?
Comment 9 David Williams CLA 2011-10-18 09:26:35 EDT
*** Bug 277594 has been marked as a duplicate of this bug. ***
Comment 10 David Williams CLA 2011-10-18 09:53:44 EDT
> I'm not sure there's been convergence on what the solution should be.  Comment
> #5 suggests a key be added to about.ini, does that solve the problem for those
> who have voted on this bug?

IMHO it does not solve the big problem, but maybe it is the "best that can be done" without breaking behavior? 

I'm not sure why it can't actually read the feature name. To me, if memory serves me, the issue is that one branding plugin should be able to be used for a collection of features. I think now, the deciding characteristic of whether or not features should be collected under the same "icon" in the about box is if all the branding plugins use the exact same icon. Seems to me it should be simply if the features they use the same branding plugin. Otherwise, feature providers must a) provide multiple branding bundles, each of which does not do much other than provide an icon (and, as it stands now, labels to be used in about box), and b) must make sure they each use exactly the same icon, in order to "group" them together. Seems an odd criteria for grouping, when you could just use the branding bundle itself. But, I realize you may need to maintain previous behavior, and might be hard to come up with the ideal solution.
Comment 11 Matthias Schmalz CLA 2013-01-21 09:32:09 EST
In addition to the feature name, also the feature vendor and copyright notice (which should be in about.ini) are taken from the branding plugin.
We are using the license-feature technique to have licenses for all features stored centrally, but this way, it doesn't work for vendor and copyright. It would be helpful to make this available via key, too.
Comment 12 udo jung CLA 2013-05-17 11:48:52 EDT
As the feature id is extracted when opening the about dialog, and shown in column feature-id, this should be the right place for accessing the possibly externalized feature-name inside feature.xml. Can anyone tell me if there will be a fix?
Comment 13 Paul Webster CLA 2013-09-20 13:44:39 EDT
*** Bug 413374 has been marked as a duplicate of this bug. ***
Comment 14 Eclipse Genie CLA 2020-02-18 13:32:33 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.