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 196699 - InsertRecordDialog unusably large on dualhead display
Summary: InsertRecordDialog unusably large on dualhead display
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: NETFIX
Depends on:
Blocks:
 
Reported: 2011-03-14 21:28 UTC by matthias42
Modified: 2011-03-25 09:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed Change to DataViewActionHandler.java (666 bytes, patch)
2011-03-14 21:28 UTC, matthias42
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description matthias42 2011-03-14 21:28:27 UTC
Created attachment 106992 [details]
Proposed Change to DataViewActionHandler.java

Hey,

the InsertRecordDialog can't be used well on a dual-head display. I have a dual-head setup of 1680x1050+1280x1024. This results in a minimum width of the dialog set to something above 1400px. The dialog opens on the smaller head and the dialog can't be resized.

I removed the setMinimumSize-Statement and the dialog is shown large enough and can be resized.

So please either apply the attached patched or make that line setPreferredWidth.

Thanks

Matthias Bläsing
Comment 1 Jiri Rechtacek 2011-03-24 11:57:18 UTC
Thanks, your patch was applied. In general, it's not smart if Dataview doesn't use standard NetBeans Dialogs API for showing such dialogs. It might rewrite in the future.
core-main/rev/0cdd73e1c376
Comment 2 Quality Engineering 2011-03-25 09:53:30 UTC
Integrated into 'main-golden', will be available in build *201103250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0cdd73e1c376
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #196699: InsertRecordDialog unusably large on dualhead display;
applied matthias42's patch