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 144020 - Ugly New Database connection dialog UI
Summary: Ugly New Database connection dialog UI
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rob Englander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-15 09:43 UTC by Petr Blaha
Modified: 2008-09-11 17:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (167.47 KB, text/plain)
2008-08-15 09:44 UTC, Petr Blaha
Details
Mac version of the dialog (67.12 KB, image/jpeg)
2008-08-15 10:03 UTC, David Vancouvering
Details
screenshot (242.65 KB, image/png)
2008-09-09 13:42 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2008-08-15 09:43:50 UTC
Please, fix all UI issues in New Database connection dialog like, incorrect alignment of UI components, the size of
components, spacing, .... See the attached screenshot.
Comment 1 Petr Blaha 2008-08-15 09:44:08 UTC
Created attachment 67503 [details]
screenshot
Comment 2 David Vancouvering 2008-08-15 09:57:24 UTC
A note: next time, please attach image with correct mime type...
Comment 3 David Vancouvering 2008-08-15 09:59:59 UTC
I designed and tested this on the Mac, and things looked fine.  I didn't know things would look significantly different
on Windows, like they apparently do.  Does this mean every UI element we create needs to be tested on all our supported
platforms?  Ugh.

Attaching what it looks like on the Mac.
Comment 4 David Vancouvering 2008-08-15 10:02:17 UTC
Sorry, I stand corrected, your screenshot appears to be on Ubuntu...

By the way, I chose to have Additional Props off to the right a bit because otherwise all the other fields would be too
far from their labels.  But I agree the effect isn't that good either.  What is standard practice?  I'm sure there are
guidelines for all of this, but I haven't seen them.  Appreciate any pointers you may have.
Comment 5 David Vancouvering 2008-08-15 10:03:16 UTC
Created attachment 67505 [details]
Mac version of the dialog
Comment 6 Rob Englander 2008-08-18 20:15:38 UTC
I'm in this code for another issue at the moment.  I can go ahead and clean up the layout issues (or redesign as a
wizard).  Let me know.
Comment 7 Rob Englander 2008-08-19 21:16:12 UTC
1fb65f939f9a
Comment 8 Quality Engineering 2008-08-20 05:35:41 UTC
Integrated into 'main-golden', available in build *200808200201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/1fb65f939f9a
User: Rob Englander <mindstream@netbeans.org>
Log: #144020 Fixed up component sizing and alignment.
Comment 9 Roman Mostyka 2008-08-21 15:16:33 UTC
Verified with build 080820.
Comment 10 Petr Blaha 2008-09-09 13:42:52 UTC
Created attachment 69400 [details]
screenshot
Comment 11 Petr Blaha 2008-09-09 13:45:58 UTC
The bug isn't still fixed see registerDialog.png:
- 'Database' label text is bold
- 'Remember password' checkbox isn't aligned
- 'Show JDBC URL' checkbox isn't aligned
Comment 12 Petr Blaha 2008-09-09 13:46:33 UTC
The screenshot was done in Product Version: NetBeans IDE Dev (Build 080909)
Java: 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 
Comment 13 Rob Englander 2008-09-09 13:58:49 UTC
- 'Database' label text is bold

  Database is now a required field for MySQL connections.  Bold is correct.

- 'Remember password' checkbox isn't aligned

  Where do you want it to align?  It is purposely offset to indicate it is a subfield of the password field.

- 'Show JDBC URL' checkbox isn't aligned

  Where do you want it to align?  It is positioned to be a psuedo label for the JDBC Url input field, which is
displayed when the checkbox is checked.  It is 1 or 2 pixels off alignment due to the way checkboxes are rendered.
Is that what you're seeing?
Comment 14 Petr Blaha 2008-09-09 14:05:54 UTC
- 'Database' label text is bold

  Database is now a required field for MySQL connections.  Bold is correct.


 Is it the practice in NB that required fields are bold? We don't use this for other dialogs like New Project, ... 


- 'Remember password' checkbox isn't aligned

  Where do you want it to align?  It is purposely offset to indicate it is a subfield of the password field.

  left edge of the text fields


- 'Show JDBC URL' checkbox isn't aligned

  Where do you want it to align?  It is positioned to be a psuedo label for the JDBC Url input field, which is
displayed when the checkbox is checked.  It is 1 or 2 pixels off alignment due to the way checkboxes are rendered.
Is that what you're seeing?

  left side of the labels
Comment 15 Rob Englander 2008-09-09 14:39:07 UTC
Bolding required fields is not new for this dialog.  If that behavior is being questioned
please open a new issue.

I'll update the alignments as suggested.
Comment 16 Petr Blaha 2008-09-09 14:54:27 UTC
Reported as issue #146656
Comment 17 Rob Englander 2008-09-10 17:42:37 UTC
04332a99281b
Comment 18 Roman Mostyka 2008-09-11 17:42:52 UTC
Verified with build 080910.
Comment 19 Quality Engineering 2008-09-11 17:48:34 UTC
Integrated into 'main-golden', will be available in build *200809111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/04332a99281b
User: Rob Englander <mindstream@netbeans.org>
Log: #144020 Adjusted a few field alignments.