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

Bug 66576

Summary: perspectives pref page tab does not take activities into accoutn
Product: [Eclipse Project] Platform Reporter: Curtis d'Entremont <curtispd>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cocoakevin, who
Version: 3.0   
Target Milestone: 3.2 M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch
none
cvs problem resolution
none
Screen shot
none
fixed
none
updated none

Description Curtis d'Entremont CLA 2004-06-10 15:43:36 EDT
When you open the launch configuration dialog with no existing launch 
configurations, you see the perspectives tab. This tab lets you select which 
perspective is opened upon launch.

I am using the launch mode "profile", which is specified by the platform, and I 
am contributing my own perspective. Even when my profiling activity is 
disabled, I still see my perspective in the drop down list.

I suppose the profiling mode perspective selection should not appear at all 
(ideally), but I'm not sure how feasible this is, because this is contributed 
by the platform and not bound to any particular profiler.
Comment 1 Darin Wright CLA 2004-06-11 10:02:13 EDT
Yes, this is tricky to fix... we are displaying all modes supported by a 
launch configuration type (base + contributed) in the tab. Thus, if a launcher 
has been contributed for "profile" mode for a launch config type, the mode is 
displayed. The ILaunchConfigurationType API does not tell us which plug-in 
contributed each launch mode (currently), and thus we are not able to filter 
based on enabled capabilities.

Do not plan to fix for 3.0
Comment 2 Darin Wright CLA 2005-09-14 15:09:37 EDT
Re-open to consider with bug 79709
Comment 3 Michael Rennie CLA 2005-09-28 15:27:38 EDT
Created attachment 27641 [details]
patch

removes the perspectives tab altogether and replaces it with a simple page with
some text about getting started with configurations. See bug 79709 for
information about the new location of the perspective preferences.
Comment 4 Michael Rennie CLA 2005-09-28 15:28:13 EDT
please verify Kevin.
Comment 5 Michael Rennie CLA 2005-09-28 15:57:28 EDT
Created attachment 27646 [details]
cvs problem resolution

Due to an unforseen isssue with CVS the other patch is unusable, this patch
resolves this problem.
Comment 6 Kevin Barnes CLA 2005-09-28 17:10:06 EDT
Created attachment 27650 [details]
Screen shot

The changes don't account for multi-select in the tree. Choosing a config and a
config type at once shows the config name, the new new composite telling you
how to create a config. These two things should not be displayed at once. See
screen shot.
Comment 7 Michael Rennie CLA 2005-09-29 10:17:24 EDT
Created attachment 27670 [details]
fixed

solves the multi-select problem
Comment 8 Michael Rennie CLA 2005-09-29 10:18:07 EDT
please verify (again) Kevin.
Comment 9 Michael Rennie CLA 2005-09-30 11:04:46 EDT
Created attachment 27723 [details]
updated 

addresses an inconsistency in CVS head, simply a regen.
Comment 10 Darin Wright CLA 2005-09-30 11:36:03 EDT
Applied this patch. But the original problem now exists in the perspectives 
pref page (the problem was moved there :-). This patch updates (removes) the 
getting started tab from the launch dialog.
Comment 11 Michael Rennie CLA 2006-02-09 17:33:12 EST
fixed in HEAD, the perspectives page now reacts appropriately to activities.
I uses the workbench filtering mechanisms, as well as listens to activities changes within the preferences dialog.

see PerspectivePreferencePage for changes
Comment 12 Michael Rennie CLA 2006-02-09 17:33:40 EST
please verify Darin
Comment 13 Darin Wright CLA 2006-02-10 14:36:41 EST
Verified.