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

Summary: InsertRecordDialog unusably large on dualhead display
Product: db Reporter: matthias42
Component: Show DataAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal Keywords: NETFIX
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Proposed Change to DataViewActionHandler.java

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