Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364439 - [ViewMgmt] "Window -> Show View" has multiple entries with the same menu item label
Summary: [ViewMgmt] "Window -> Show View" has multiple entries with the same menu item...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 01:32 EST by Uwe Stieber CLA
Modified: 2019-11-14 03:06 EST (History)
5 users (show)

See Also:


Attachments
"Show View" with 2 "Problems" entries (101.77 KB, image/gif)
2011-11-22 09:10 EST, Uwe Stieber CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Stieber CLA 2011-11-22 01:32:04 EST
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.
Comment 1 Remy Suen CLA 2011-11-22 08:16:39 EST
When I try this with the 'Problems' view I only see one entry in the 'Show View' dialog. Do you see two?
Comment 2 Uwe Stieber CLA 2011-11-22 09:10:26 EST
Created attachment 207358 [details]
"Show View" with 2 "Problems" entries

Yes, I do get 2 "Problems" view entries. See attached screenshot.
Comment 3 Remy Suen CLA 2011-11-22 09:13:39 EST
(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.
Comment 4 Lars Vogel CLA 2019-11-14 03:06:28 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.

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.