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 211885 - Dialog size bad under Ubuntu 12.04 Unity
Summary: Dialog size bad under Ubuntu 12.04 Unity
Status: RESOLVED DUPLICATE of bug 218895
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.1.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
: 215996 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-30 21:38 UTC by mclaborn
Modified: 2012-10-01 14:33 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot of "Go to Type" dialog (298.36 KB, image/png)
2012-04-30 21:38 UTC, mclaborn
Details
This is how the Servers dialog opens. (21.48 KB, image/png)
2012-05-01 00:20 UTC, mclaborn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mclaborn 2012-04-30 21:38:28 UTC
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.
Comment 1 mclaborn 2012-05-01 00:03:07 UTC
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
Comment 2 mclaborn 2012-05-01 00:20:34 UTC
Created attachment 118915 [details]
This is how the Servers dialog opens.
Comment 3 mclaborn 2012-05-01 15:53:46 UTC
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
Comment 4 Stanislav Aubrecht 2012-05-02 13:23:00 UTC
Please reopen if the problem is reproducible with Oracle JDK, thanks.
Comment 5 outeredge 2012-07-25 08:48:30 UTC
I am also seeing this issue, running Oracle JRE 1.7:

Runtime = Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Comment 6 outeredge 2012-07-25 09:10:03 UTC
(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)
Comment 7 Stanislav Aubrecht 2012-07-25 09:21:36 UTC
Looks like a regression in JKD 7.
Comment 8 dariusp 2012-07-26 12:52:00 UTC
*** Bug 215996 has been marked as a duplicate of this bug. ***
Comment 9 oyviste 2012-08-31 10:08:24 UTC
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.
Comment 10 oyviste 2012-08-31 13:49:49 UTC
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.
Comment 11 robertmcauliffe 2012-09-07 02:36:13 UTC
For me running Oracle JDK6u35 fixed the issue. Both Oracle JDK and OpenJdk 7 had issues with dialog box sizing.
Comment 12 robertmcauliffe 2012-09-07 03:14:03 UTC
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)
Comment 13 oyviste 2012-09-07 07:23:24 UTC
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.
Comment 14 robertmcauliffe 2012-09-07 07:25:35 UTC
I do have dual screens, so that is consistent.
Comment 15 bitblitter 2012-09-15 17:21:42 UTC
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.
Comment 16 Seb147 2012-09-21 10:06:44 UTC
(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)
Comment 17 Stanislav Aubrecht 2012-10-01 14:33:45 UTC

*** This bug has been marked as a duplicate of bug 218895 ***