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

Bug 69164

Summary: (Plat)Can delete default profiling sets and can't restore them.
Product: z_Archived Reporter: Geary Ridings <gridings>
Component: TPTPAssignee: amehrega
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: gweidner, popescu
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: closed460
Bug Depends on: 90754    
Bug Blocks:    

Description Geary Ridings CLA 2004-07-01 15:01:21 EDT
It seems like I should not be able to Rename or Remove the default set of 
Profiling Sets, or at least I should have a way to restore them. If having them 
adds value, then being able to get them back seems equally valuable.
Comment 1 Geary Ridings CLA 2004-07-01 15:14:08 EDT
Nuts! Just discovered that if I close and restart Eclipse that the "deleted" 
profiling sets come back. So we're not really able to delete the profiling 
sets, but then we shouldn't give the user the impression that we are.
Comment 2 Curtis d'Entremont CLA 2004-10-05 14:16:47 EDT
Java, one way to do this is using a "Restore Defaults" button at the bottom of 
the Overview tab under the Profiling tab. This would reset all the profiling 
sets to the defaults. Look around at other pages, like preference pages, 
wizards to see where they usually place this button.
Comment 3 Eugene Chan CLA 2004-11-26 14:19:47 EST
The whole implementation of the ProfilingSetManager need to be reviewed as I 
also see the following problems:

1. When user create new profile set without applying them on any actually launch
(ie. click Apply and Close but not Profile), the new set is not persisted 
anywhere so it is lost when relaunching workbench.
2. There is no way to 'restore' the 3 out-of-the-box profiling sets to their 
default settings. eg. provide a 'restore default' on profiling set listings.
3. The 3 out-of-the-box profiling sets are restored everytime workbench 
relaunch ignoring any removal in last workbench session.
4. The definition of 'Revert' need to be defined, does it revert any editing on 
a profiling set? eg. Select a profiling set, select edit and include one more 
profiling type for the set editing.
5. Profiling sets should be persisted independent of Launch configuration. 

propose to review the whole implementation of profiling set in 3.3
Comment 4 Eugene Chan CLA 2004-11-29 09:57:38 EST
retarget milestone based on Harm's approval on defect re-categorize.
Comment 5 Valentina Popescu CLA 2004-11-30 22:03:50 EST
Grouping 64265 under the same feature :

Inaccurate filter set contents after Cancel from Edit Profiling Set Dialog

Steps to reproduce:
1) Change a filter value (e.g., change the visibility rule from Exclude to 
Include for java* filter for the Default filter set).
2) Click Cancel on the Edit Profiling Set dialog.
3) Before dismissing the Launch Dialog, click Edit again to re-display the Edit 
Profiling Set dialog.
4) Click Next to display the Filters page.
Observe that the change made in step 1 is still shown although Cancel was 
clicked.  Expect original unchanged value to be shown.
5) Click Cancel to dismiss the Edit Profiling Set dialog.
6) Click Close to dismiss the Launch Dialog.
Note if Profile is clicked, the original unchanged filter value is used (which 
is good since Cancel was clicked) but the display inconsistency could be 
confusing for the user.
7) Re-display the Launch Dialog.
8) Display the Edit Profiling Set Dialog.
9) Click Next to display filters.
Observe correct expected unchanged value is displayed.

Note the inconsistency only occurs when editing a filter's content (Edit or 
direct table modification) or changing the filter order (Up/Down buttons).  
Adding or removing a filter from the filter set in step 1 was correctly 
cancelled (i.e., original unchanged filter contents displayed in step 4).

This is happening because the working copy of the filters used in the Edit 
profiling set wizard is not completely disjoint from its original (using a 
different container, but the same instances). This will have to be reworked 
Comment 6 Valentina Popescu CLA 2004-11-30 22:04:29 EST
*** Bug 64265 has been marked as a duplicate of this bug. ***
Comment 7 Eugene Chan CLA 2004-12-03 19:07:36 EST
Keep target as emptry for now and will raise to RG for proposed new target release
Comment 8 Ruth Lee CLA 2005-07-12 10:55:55 EDT
Deferring from 4.1 as per the official 4.1 enhancement plan.
http://eclipse.org/tptp/home/project_info/featureplans/features.php?source=All&project=All&release=4.1&file=TPTPFeatures_4.1.xml
Comment 9 amehrega CLA 2006-01-25 15:11:31 EST
The concept and all supported APIs of profiling sets has been deprecated.  Setting the target to future but this will likely be marked as invalid once the launch configuration's refactored APIs are checked in.
Comment 10 amehrega CLA 2006-03-31 18:37:32 EST
Marking this as invalid because profiling sets were taken out since TPTP 4.2i2
Comment 11 Paul Slauenwhite CLA 2009-06-30 13:24:20 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 12 Paul Slauenwhite CLA 2009-06-30 13:49:04 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.