Bug 121435 - [WorkbenchParts] CyclePartAction displays the wrong title
Summary: [WorkbenchParts] CyclePartAction displays the wrong title
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-12-19 12:22 EST by Craig Setera CLA
Modified: 2022-01-21 17:24 EST (History)
0 users

See Also:


Attachments
Mismatch between view title tab and cycle dialog (17.11 KB, image/png)
2005-12-19 12:24 EST, Craig Setera CLA
no flags Details
Correct matching title between view title tab and cycle dialog (18.74 KB, image/png)
2005-12-19 12:25 EST, Craig Setera CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Setera CLA 2005-12-19 12:22:16 EST
I have an application that is using multiple instances of a single view description.  These instances override #init(IViewSite) and using the secondary identifier in the view site, they update the title of the view to match.  From the perspective of the title in the view tabs, this seems to work fine.  Unfortunately, the CyclePartAction does not seem to pick this up in the same way.  The CyclePartAction will display the default view title for all of the views that have not been made visible yet.  These views have not had a call to #init(IViewSite) and have not yet been able to update the title of the view.  I'm not sure where the tab title comes from in this case, but it is correct while the CyclePartAction still shows the default title.  I would expect (and really need) them to display the same value.  Once the view has been actually displayed, the CyclePartAction will show the correct value.

I'm attaching two screenshots to the bug report.  The "incorrect" snapshot shows the state before bringing the view to the top in which the title tab value is correct, but the cycle dialog is not.  The "correct" snapshot shows that after bringing the second view to the top, the cycle dialog now correctly matches the title on the view's tab.
Comment 1 Craig Setera CLA 2005-12-19 12:24:30 EST
Created attachment 31962 [details]
Mismatch between view title tab and cycle dialog
Comment 2 Craig Setera CLA 2005-12-19 12:25:01 EST
Created attachment 31963 [details]
Correct matching title between view title tab and cycle dialog
Comment 3 Paul Webster CLA 2006-09-28 15:17:23 EDT
Is this still a problem in 3.3?

PW
Comment 4 Craig Setera CLA 2006-09-28 20:54:52 EDT
I'm no longer working on the product that had this problem.  I'm not sure if it is still a problem in 3.3.
Comment 5 Paul Webster CLA 2006-09-28 21:15:45 EDT
Still need to test.
PW
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:09:10 EDT
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.
Comment 7 Eclipse Genie CLA 2022-01-21 17:24:44 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.