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.
Created attachment 118905 [details] Screen shot of "Go to Type" dialog Product Version = NetBeans IDE 7.1 (Build 201112071828) Operating System = Linux version 3.2.0-24-generic running on amd64 Java; VM; Vendor = 1.6.0_24 Runtime = OpenJDK 64-Bit Server VM 20.0-b12 Running NB 7.1 on Ubuntu 12.04 Unity using the OpenJDK 6. Many of the dialogs opened from netbeans are not opening at a usable size. For example the "Go to Type" dialog (Ctrl + O) opens extremely thin, maybe 15 pixels wide, and quite tall. It is unusable like that. I can double click what title bar at the top and it will maximize OK, or if I'm patient, I can resize it by finding a corner and dragging with the mouse.
This also happens in 7.1.2 Product Version = NetBeans IDE 7.1.2 (Build 201204101705) Operating System = Linux version 3.2.0-24-generic running on amd64 Java; VM; Vendor = 1.6.0_24 Runtime = OpenJDK 64-Bit Server VM 20.0-b12
Created attachment 118915 [details] This is how the Servers dialog opens.
Also a problem with JDK 1.7. Product Version = NetBeans IDE 7.1.2 (Build 201204101705) Operating System = Linux version 3.2.0-24-generic running on amd64 Java; VM; Vendor = 1.7.0_03 Runtime = OpenJDK 64-Bit Server VM 22.0-b10
Please reopen if the problem is reproducible with Oracle JDK, thanks.
I am also seeing this issue, running Oracle JRE 1.7: Runtime = Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
(In reply to comment #5) > I am also seeing this issue, running Oracle JRE 1.7: > > Runtime = Java(TM) SE Runtime Environment (build 1.7.0_05-b06) Switching to Oracle JRE 1.6 resolves this problem. Runtime = Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Looks like a regression in JKD 7.
*** Bug 215996 has been marked as a duplicate of this bug. ***
Confirmed, Oracle JDK7u6, Netbeans 3.2, Ubuntu 12.04. Size of dialog popup windows is often completely truncated horizontally (like "Go to Type") or otherwise too small. Bug makes IDE unusable. Suspect this started after upgrade to JDK7u6.
Running with Oracle JDK6u35 does not fix it here. So looks like something else broke it. I have not seen other apps exhibit this behaviour with pop-ups.
For me running Oracle JDK6u35 fixed the issue. Both Oracle JDK and OpenJdk 7 had issues with dialog box sizing.
Some more details, if it helps: Dialog boxes come up correctly: Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.6.0_35; Java HotSpot(TM) 64-Bit Server VM 20.10-b01 System: Linux version 3.2.0-30-generic running on amd64; UTF-8; en_AU (nb) Dialog boxes sized badly: Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17 System: Linux version 3.2.0-30-generic running on amd64; UTF-8; en_AU (nb)
This has something to do with dual-screen setup. That's only when I have troubles, at least. Switching primary output to left monitor makes Netbeans behave OK with JDK7. Using dynamic setup with Nvidia+xrandr 1.3.
I do have dual screens, so that is consistent.
Same issue, dual monitor here too. I don't now if this will work for others, but if I move the main Netbeans window to the other monitor the dialog boxes appear to be in their correct size.
(In reply to comment #15) > Same issue, dual monitor here too. > > I don't now if this will work for others, but if I move the main Netbeans > window to the other monitor the dialog boxes appear to be in their correct > size. I agree with this comment. The workaround (moving netbeans to the other monitor) works like a charm. JDK 1.7 on Ubuntu 12.04 (x86)
*** This bug has been marked as a duplicate of bug 218895 ***