| Summary: | [ViewMgmt] "Window -> Show View" has multiple entries with the same menu item label | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Uwe Stieber <uwe.st> | ||||
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, helmut.haigermoser, max.weninger, mober.at+eclipse, remy.suen | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
When I try this with the 'Problems' view I only see one entry in the 'Show View' dialog. Do you see two? Created attachment 207358 [details]
"Show View" with 2 "Problems" entries
Yes, I do get 2 "Problems" view entries. See attached screenshot.
(In reply to comment #2) > Created attachment 207358 [details] > "Show View" with 2 "Problems" entries > > Yes, I do get 2 "Problems" view entries. See attached screenshot. Thank you for the screenshot. I see it now. I was looking at the dialog instead of the submenu. 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. If you have further information on the current state of the bug, please add it. 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. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |
Launch Eclipse and find a view that supports multiple instances, like the TM "Terminal" view. Open a second view and in case of the "Terminal" View, give it a different view title, like "Terminals 1". Open the "Window -> Show View" menu and you'll find there two entries labeled "Terminals". The reason for this is that ShowViewMenu#getItem(...), line 327 reads String label = desc.getLabel(); Means all "Show View" entries will get the same general/common label from the view descriptor, but not the real view instance title. For the user, this is confusing as the user's expectation is to see the real title within the "Show View" menu to be able to distinguish between the view instances within that menu.