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 138852 - SQL History: Bad Layout of the "SQL History" dialog
Summary: SQL History: Bad Layout of the "SQL History" dialog
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 18:21 UTC by Roman Mostyka
Modified: 2008-07-24 17:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of bad layout. (38.12 KB, image/jpeg)
2008-07-02 18:25 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-07-02 18:21:21 UTC
1. Start IDE with fresh userdir.
2. Execute statement.
3. Open SQL History.

Result: Layout of the dialog is bad, since there is too much unused space in it and it hard to use easily.
!!! I reproduce this with M1!!!
Comment 1 Roman Mostyka 2008-07-02 18:25:26 UTC
Created attachment 63834 [details]
Screenshot of bad layout.
Comment 2 John Baker 2008-07-15 02:12:34 UTC
this is odd, I was pretty sure I had fixed this just prior to M1 but still shows in the trunk
Comment 3 John Baker 2008-07-24 10:29:34 UTC
I think the main problem is the Insert button is not accessible for this instance of using the SQL History dialog.

The white space may not look good but many SQL statements are typically longer than this.  I prefer not to resize the
Table based on the number of characters in the SQL statement.

Despite the problems mentioned above, the layout may have been corrupted by a long JDBC URL which in turn affected the
layout of the dropdown and the dialog.  In the 7/23 build, try using the dialog again to see if the Insert button is
still hidden.  I fixed the Connection dropdown to be limited to a maximum size.
Comment 4 Roman Mostyka 2008-07-24 17:25:42 UTC
Fixed.
Comment 5 Roman Mostyka 2008-07-24 17:26:43 UTC
Verified with build 080724.