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 169547 - "Set project configuration" is not context sensitive when main project is set
Summary: "Set project configuration" is not context sensitive when main project is set
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-30 11:07 UTC by Petr Dvorak
Modified: 2009-11-13 10:21 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2009-07-30 11:07:05 UTC
NB: 200907300201
OS: Ubuntu 9.04 (i386)
JDK: 1.6.0_u14

1. Create main project P1, non main project P2
2. Put project P2 into context
3. Run | Set project configuration | Customize 
-> Customizer of P2 should be invoked regardless of main project, action should be context sensitive


- http://wiki.netbeans.org/MainProjectConceptualChange: "The configurations chooser will be available for all projects,
yet disabled for those which do not make use of it. Further, it will work with current project (as opposed to current
state where it works with main project)"
Comment 1 Milos Kleint 2009-08-17 09:29:12 UTC
http://hg.netbeans.org/main/rev/0a57bfd9abac
Comment 2 Jesse Glick 2009-08-17 17:20:16 UTC
The fix looks incorrect to me. The UI spec requests that the config chooser pay attention to selection, not main project
at all. Yet in the new code, the main project is still used as a fallback when there is no selection. I think the config
chooser should be disabled if there is no selection, regardless of any main project.
Comment 3 Quality Engineering 2009-08-17 17:52:52 UTC
Integrated into 'main-golden', will be available in build *200908171401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0a57bfd9abac
User: Milos Kleint <mkleint@netbeans.org>
Log: #169547 main project doens't override selection
Comment 4 Petr Dvorak 2009-11-13 10:21:54 UTC
Verified.