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 61634 - New Project Wizard should remember last used suite
Summary: New Project Wizard should remember last used suite
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-08-02 05:25 UTC by _ tboudreau
Modified: 2005-09-05 09:51 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
A trivial patch to fix it (plus remembering if suite or standalone was last selected) (4.11 KB, patch)
2005-08-03 02:28 UTC, _ tboudreau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-08-02 05:25:33 UTC
The selected suite on pane 2 of creating an NB module is always whatever suite
was created first (or maybe its alpha sort).  If I just added one module to a
suite, the probability is high that I want to add another one to it, so it
should probably default to whatever suite I added a module to which is still open.

It should probably also remember if standalone module was selected last and
select that.
Comment 1 Jesse Glick 2005-08-02 19:55:40 UTC
It should always be offering a suite which is open, so in the normal workflow

- create a suite

- create a module to add to it

- create another module to add to it

you do not need to change anything.
Comment 2 _ tboudreau 2005-08-02 20:18:58 UTC
Yes.  And if you have two suites open, and want to add a module to the second 
suite, you have to change the combo box in the wizard every time - it gets the 
first suite stuck in its craw, and it's annoying.  I don't know how it chooses 
which to default to, but MRU is certainly more reasonable and less likely to 
be wrong.

For better or worse, multiple suites feels like the natural workflow for 
developing any two sets of related modules - people will use it this way.  If 
that's not intended to be supported, then don't allow multiple suites to be 
open simultaneously.
Comment 3 Jesse Glick 2005-08-02 21:22:23 UTC
Having >1 suite open is certainly possible, but is not intended to be common by
any means. Optimizing for the case that one suite is open.
Comment 4 _ tboudreau 2005-08-03 02:27:29 UTC
Oh good heavens!  Here.
Comment 5 _ tboudreau 2005-08-03 02:28:10 UTC
Created attachment 23432 [details]
A trivial patch to fix it (plus remembering if suite or standalone was last selected)
Comment 6 Jesse Glick 2005-08-03 20:50:55 UTC
Martin's code, I think, so reassigning for eval.
Comment 7 Martin Krauskopf 2005-08-08 13:22:12 UTC
Thanks Tim. Applied.

Checking in ui/wizard/BasicInfoVisualPanel.java; 1.26 --> 1.27