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 108865

Summary: Scrollbars appear on Options dialog
Product: platform Reporter: Martin Krauskopf <mkrauskopf>
Component: Options&SettingsAssignee: rmatous <rmatous>
Status: VERIFIED FIXED    
Severity: blocker CC: leonchiver
Priority: P3 Keywords: USABILITY
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: options_large.png

Description Martin Krauskopf 2007-07-04 13:31:11 UTC
Options dialog is unreasonably too large which causes the scrollbars to appear. It is hard to use it then. I'm using two
monitors. Not sure what causes this. Let me now if I can help somehow. Attaching screenshot.
Comment 1 Martin Krauskopf 2007-07-04 13:31:59 UTC
Created attachment 44709 [details]
options_large.png
Comment 2 _ leonchiver 2007-07-10 07:47:31 UTC
i found a way how to reproduce this: 

1) start with an empty userdir (or at least with a configuration where the option dialog appears without scrollbars)
2) open the options dialog
3) maximize it
4) close the options dialog (cancel)
5) reopen it again. from now on you'll have those scrollbars

but only until you

1) go to .${netbeans.user.dir}/config/Preferences/org/netbeans/modules/options
2) delete api.properties
Comment 3 Martin Krauskopf 2007-07-10 08:27:18 UTC
Thanks for the steps to reproduce and the workaround, Leon. This is exactly what I'm doing quite often, having Alt+F10
mapped to "maximize window" WM action in Fluxbox.
Now it should be eas(y/ier) to fix this, right? ;)
Comment 4 rmatous 2007-07-10 18:09:15 UTC
/cvs/core/options/src/org/netbeans/modules/options/OptionsPanel.java,v  <--  OptionsPanel.java
new revision: 1.49; previous revision: 1.48
Comment 5 rmatous 2007-07-11 10:01:18 UTC
/cvs/core/options/src/org/netbeans/modules/options/OptionsPanel.java,v  <--  OptionsPanel.java
new revision: 1.50; previous revision: 1.49
Comment 6 Petr Chytil 2007-07-12 12:25:11 UTC
verified in:

Product Version: NetBeans IDE Dev (Build 200707120000) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) 
Userdir: /home/petr/.netbeans/dev