Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321850 - Launch config dialog wrongly asks to save unsaved changes
Summary: Launch config dialog wrongly asks to save unsaved changes
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 3.6.1   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 07:12 EDT by Dani Megert CLA
Modified: 2010-08-27 03:06 EDT (History)
1 user (show)

See Also:


Attachments
patch (992 bytes, patch)
2010-08-05 10:07 EDT, Darin Wright CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2010-08-05 07:12:30 EDT
3.6 and I20100804-1800.

1. select a test class
2. Run As > JUnit [Plug-in] Test
3. Run > Configurations...
4. select another node
==> dialog asks to save unsaved changes

This applies to most of my existing launch configurations and hence makes searching for launch configs almost unusable because each time a new node is selected, I get the dialog.


This got introduced during RC2 by bad fix for bug 312974.

Should fix for M1 and 3.6.1.
Comment 1 Darin Wright CLA 2010-08-05 10:07:05 EDT
Created attachment 175942 [details]
patch

We still need the tabs to refresh when setting the input incase they modify the config and need to be saved. This is a long standing behavior of the LCD - a config can be modified by tabs when opened/viewed to support migration of configs (new attributes, etc). It's also problematic, since just opening the dialog can modify a config file that is shared with a team, but that is also a known long standing - bug 180757.
Comment 2 Darin Wright CLA 2010-08-05 10:09:07 EDT
Released to HEAD and 3.6.1, please verify, Mike.
Comment 3 Dani Megert CLA 2010-08-06 04:48:55 EDT
Verified in I20100805-1700.
Comment 4 Dani Megert CLA 2010-08-27 03:06:24 EDT
Verified for 3.6.1 in M20100825-0800.