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

Bug 344353

Summary: [launch] Restore Defaults has inconsistent behavior in Default Launchers preference page.
Product: [Eclipse Project] Platform Reporter: Pawel Piech <pawel.1.piech>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Pawel Piech CLA 2011-04-29 17:14:37 EDT

    
Comment 1 Pawel Piech CLA 2011-04-29 17:20:12 EDT
Build id: I20110425-1800

The Restore Defaults action has different behavior in this preference page depending on the selection in the tree: sometimes it restores the state of no default launcher selected, sometimes it does not.

To reproduce: 
- Select a launch config/mode with multiple launchers, but no default set (no checkbox set).
- Set one of the checkboxes.
- Select "Restore Defaults": 
- _Nothing happens_
- Now select the launch configuration element, which is the parent of the mode element.
- Select "Restore Default"
- In the tree select the mode element again.
- The checkboxes are cleared.

The test script states that once checked, a selection in the list should be enforced.  IMO, restore defaults, should re-set it back, as it gives the user a better sense of control.
Comment 2 Pawel Piech CLA 2011-06-08 19:05:46 EDT

*** This bug has been marked as a duplicate of bug 313391 ***