Community
Participate
Working Groups
See attachment for illustration. How to get there: 1. Create Makefile/No-Toolchain project. You get "Default" configuration by default. 2. Create configuration "Andrew". Go to Project Properties C/C++ Build. Enter Manage Configurations and add configuration "Andrew". Use my name, not yours - it is important that it would appear *before* the "Default" one in the list. Press OK to create configuration and OK to save and quit properties. 3. Reenter properties. You should see "Default" as settings configuration. 3a. Keep it that way and enter straight to Manage Configurations again. The cursor is on "Andrew". 3b. Delete it pressing Delete button. Confirm "Yes". 3c. Press OK. Configuration disappears. This is not a big deal at the moment but this bug bites with IllegalStateException when I try to get rid of bug 242955.
Created attachment 113300 [details] the illustration
Created attachment 113991 [details] suggested patch Markus, you were involved to changes in AbstractPage and it even provides your name in the header. May I ask you to take a look at this insignificant but relatively simple patch? It seems that AbstractPage relies much on the index of previously selected line - cfgIndex. When configurations are removed (or rearranged) this index gets out of sync which causes a few things. Actually, you can get the IllegalStateException in the example above pressing Apply as a step 4. The suggested patch replaces cfgIndex with lastSelectedCfg and tries to keep an internal state of associated variables consistent. As a bonus, the active configuration is being marked as [Active] in the drop-down list.
(In reply to comment #2) > Markus, you were involved to changes in AbstractPage and it even provides your > name in the header. May I ask you to take a look at this insignificant but > relatively simple patch? I should not have put my name in there :-). In general I am not taking care of the project/build stuff, needed to fix a bug related to the scroll bars. Anyways, the patch looks good to me, I'll apply it.
Thanks Andrew, fixed in 5.1 > 20081001.
Thanks for giving me a favor, I'll remember that.