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 195548 - JPA 2.0 switch in WebLogic server properties is hard to understand
Summary: JPA 2.0 switch in WebLogic server properties is hard to understand
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 10:38 UTC by Petr Jiricka
Modified: 2011-02-19 10:35 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Dialog with the JPA 2 Support button in disabled state (47.12 KB, image/png)
2011-02-16 10:39 UTC, Petr Jiricka
Details
Dialog with the JPA 2 Support button in enabled state (46.68 KB, image/png)
2011-02-16 10:40 UTC, Petr Jiricka
Details
Proposal with explicit "Enable JPA 2" button. (49.53 KB, image/png)
2011-02-16 15:49 UTC, jrojcek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2011-02-16 10:38:59 UTC
There is a "JPA 2.0" switch in the WebLogic server properties implemented using a toggle button. However, the enabled and disabled state of the button are not visually distinct enough, so the user may have a hard time understanding what is the current state and what the button does. See the attached screenshots.

The function of the button is to enable/disable JPA 2.0 support on the WebLogic, which is a physical operation that manipulates files on the disk and takes several seconds to perform - during this, a modal progress bar saying "Please wait - Enabling (Disabling) JPA 2 Support" is shown.
It is desirable to keep this as immediate action, i.e. it should not be postponed until the user closes the entire dialog.

Is there a better way to present the UI to make it more understandable and to give the user better visual feedback?
Comment 1 Petr Jiricka 2011-02-16 10:39:57 UTC
Created attachment 106057 [details]
Dialog with the JPA 2 Support button in disabled state
Comment 2 Petr Jiricka 2011-02-16 10:40:20 UTC
Created attachment 106058 [details]
Dialog with the JPA 2 Support button in enabled state
Comment 3 Sergey Petrov 2011-02-16 13:14:52 UTC
It more server plugin related.
Comment 4 Sergey Petrov 2011-02-16 13:15:14 UTC
But I can take it after design decision.
Comment 5 Sergey Petrov 2011-02-16 15:35:50 UTC
Also there is the same button in server registration dialog with unclear state (if it will enable or disable jpa 2.0).
Comment 6 jrojcek 2011-02-16 15:49:35 UTC
Created attachment 106078 [details]
Proposal with explicit "Enable JPA 2" button.

A possible solution is in the attachment.

I wasn't sure whether the note is related to the JPA section or the whole panel. The "disabled" label would change to "enabled" after enabling and the button to "Disable JPA 2".
Comment 7 Petr Jiricka 2011-02-16 16:32:15 UTC
Great, thanks Jano for providing your input so fast! I like it.

Just one minor detail, I would prefer to say "JPA 2.0" rather than just "JPA 2".
Comment 8 jrojcek 2011-02-17 07:59:11 UTC
Sure, "JPA 2.0" would be better.
Comment 9 Petr Hejl 2011-02-17 09:02:00 UTC
> I wasn't sure whether the note is related to the JPA section or the whole
> panel. The "disabled" label would change to "enabled" after enabling and the
> button to "Disable JPA 2".

This means the button (and perhaps label as well) will change its size. Is it ok?

Should be the same label/button used in the registration wizard?
Comment 10 Petr Jiricka 2011-02-17 13:19:07 UTC
> Is it ok?

I think it's not ideal, but still better than the current state.

> Should be the same label/button used in the registration wizard?

Yes.
Comment 11 Petr Hejl 2011-02-18 12:39:42 UTC
Fixed in web-main 59e574cfe915.
Comment 12 Quality Engineering 2011-02-19 10:35:10 UTC
Integrated into 'main-golden', will be available in build *201102190501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/59e574cfe915
User: Petr Hejl <phejl@netbeans.org>
Log: #195548 JPA 2.0 switch in WebLogic server properties is hard to understand