This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 78239 - Removing of active configuration
Summary: Removing of active configuration
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 10:43 UTC by dnikitin
Modified: 2007-05-25 15:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
No active configuration in configurations list (15.13 KB, image/jpeg)
2006-06-19 10:44 UTC, dnikitin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dnikitin 2006-06-19 10:43:34 UTC
When the active configuration is removed, any other configuration should become
active at once.


See attachment
Comment 1 dnikitin 2006-06-19 10:44:19 UTC
Created attachment 31145 [details]
No active configuration in configurations list
Comment 2 Thomas Preisler 2006-06-19 18:35:07 UTC
This situation should net be possible. If you remove the active configuration,
it should pick another configuration to be the active. And it shouldnot be
possible to remove the last (and active) configuration. What are the steps to
reproduce?
Comment 3 dnikitin 2006-06-20 10:47:07 UTC
>If you remove the active configuration,
>it should pick another configuration to be the active.

Yes, it actually pick another configuration, but only after a Project Properties
dialog box has closed.

The idea of this enhancement consists in that to pick another configuration to
be the active at once (at once after Remove button has been pressed -- Now it
occurs only after Project Properties dialog has been closed)

>And it shouldnot be
>possible to remove the last (and active) configuration.

I can not remove last configuration from list. (see IZ77254. it was fixed)
but I can remove active configuration.

>What are the steps to reproduce?

to reproduce the situation on image in attachment:
1. Open Project Properties dialog box, Press "Manage Configurations..." button
to open Configurations dialog box
2. Click New button to add NewConfiguration to list
3. Select active configuration (e.g. Debug) and click Remove button
Now you see the same picture as in attachment.
But you can click Ok button to close Configurations dialog and open it again
(click "Manage Configurations..." button). The same situation: in configurations
list you can see two configurations (Release, NewConfiguration) but no
configuration is marked as active.
Comment 4 Thomas Preisler 2007-05-24 22:51:24 UTC
Fixed.
Comment 5 dnikitin 2007-05-25 15:33:23 UTC
Verified in C/C++ Pack 20070525