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.
Summary: | Cannot add most JavaEE servers | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Petr Jiricka <pjiricka> |
Component: | Infrastructure | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | phejl |
Priority: | P1 | Keywords: | ERGONOMICS, REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | The patch that I'd like to apply soon |
Description
Petr Jiricka
2009-04-09 08:55:31 UTC
The workaround is to go to go to the New Web Project wizard, press Next to go to the second panel, and then press Cancel. After this, all items are visible in the Add Server dialog. Ergonomics-related, works fine without ergonomics. I want to fix this problem by enhancing the dialog when no server is available. This is the current dialog: http://www.netbeans.org/nonav/issues/showattachment.cgi/79877/dlg-now.png and this is the version that I propose to show: http://www.netbeans.org/nonav/issues/showattachment.cgi/79882/dlg-future.png in case we are in ergonomics mode, no server plugin is enabled yet, but we know there are available. Petr H. mentioned yesterday that it might be better to embed this new dialog into the subsequent wizard. But that would require more richer API between the server module and the providers of the messages. We can think about improving the behaviour in future, but for beta I'd rather apply this simplistic solution. Which is not looking bad at all, imho. Created attachment 79885 [details]
The patch that I'd like to apply soon
1. I would like to see check boxes instead of radio buttons in the 'dlg-future'. I don't see a reason to prevent a user from activating both clusters/plugins/whatever in a single operation. 2. What will happen if I activate one 'usage'... and then realize I want to activate the 'other' usage? I think some users will get stuck... they will: 1. start the IDE, 2. activate a usage via this new dialog 3. experiment with those kinds of projects 4. decide they want to try the other kinds of projects 5. end up stuck, since they cannot get that handy activate these servers dialog to appear again... BTW: I honestly do not think that the proposed changes really address the issue as originally presented. I think the filer's initial expectation could be summarized as follows: After I download and install the NB 6.7 bundle that includes server run-times and install that bundle, including the server run-times, I expect to see the servers registered and 'ready to start' (or whatever), immediately after I start the freshly installed IDE. I think these changes will lead the user to a place where they are not completely lost, though... There is an action that they can take to get to the state they initially expected to be in, without having to switch to a completely different center of focus (dialog/view/etc.) and return to their current center of focus. Re. "checkboxes" - not possible for beta, needs yet unknown API contract. Re. "use case" - imho already solved in issue 161664 Btw. "big picture" - we are also working on Welcome screen redesign which will make all "Server node" issues far less outstanding. As far as I understand all the comments (here and in emails): So far we all think the http://www.netbeans.org/nonav/issues/showattachment.cgi/79882/dlg-future.png solution is better than current state. I see that as the most important impulse, as this is P1 bug. fair enough ergonomics#062b3fc6e188 Integrated into 'main-golden', will be available in build *200904111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/04d05628cb02 User: Jaroslav Tulach <jtulach@netbeans.org> Log: Proposed fix for #162274. Looks OK, but was not reviewed yet by Petr and Petr (phejl and pjiricka). |