Community
Participate
Working Groups
Eclipse 3.2 M4 When changing the "Non-externalized strings" field (under properties -> java compiler -> Errors/Warnings) from Ignore to Error a message appears stating that a project rebuild is required for the changes to take effect. Unfortunately, the rebuild still occurs even if the user clicks Cancel. Also, once the cancel button returns the user to the settings window the OK button is no longer available and the user must click the cancel button. Futhermore, even after the cancel button is clicked, the setting changes are still put into effect.
Created attachment 33069 [details] Error Settings Window
Could reproduce in 20060117 - enable autobuild - select a project, open properties - Java Compiler - Error/Warnings, change the first setting - press OK - On the dialog press 'Cancel' - observe a build in the workbench toolbar (set a breakpoint in AutoBuildJob.build(boolean) line: 71) In the stacktrace you can see that PropertyDialog(FilteredPreferenceDialog).okPressed() line: 298 does a workingCopyManager.applyChanges(); but better shouldn't, as one of the pages oks failed before (done in super.okPressed()) Also the OK button should not be disabled when returning to the page. Same problem in the preference page.
We should have been using the return codes from super to see if we should continue. Fixed in build >20060208
Verified in 20060213-1200