NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Ubuntu 12.04 Unity dialogs messed up
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Mitch Claborn
Posted via mailing list.





PostPosted: Mon Apr 30, 2012 9:23 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

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.

Anyone seen this?
Back to top
Mitch Claborn
Posted via mailing list.





PostPosted: Tue May 01, 2012 2:51 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

I opened a bug on this: http://netbeans.org/bugzilla/show_bug.cgi?id=211885

This really slow me down.


On 04/30/2012 03:59 PM, Mitch Claborn wrote:
Quote:
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.

Anyone seen this?
Back to top
Glenn Holmer
Posted via mailing list.





PostPosted: Tue May 01, 2012 5:06 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

On Tue, 2012-05-01 at 09:27 -0500, Mitch Claborn wrote:
Quote:
I opened a bug on this: http://netbeans.org/bugzilla/show_bug.cgi?id=211885

Is that behavior NetBeans' fault, or Unity's?

--
____________________________________________________________
Glenn Holmer address-removed
Software Engineer phone: 414-908-1809
Weyco Group, Inc. fax: 414-908-1601
Back to top
Javier Ortiz
Posted via mailing list.





PostPosted: Tue May 01, 2012 5:22 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

From what I've seen so far it is Unity's.



Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed


-----Original Message-----
From: Glenn Holmer [mailto:address-removed]
Sent: Tuesday, May 01, 2012 11:43 AM
To: address-removed
Subject: [nbusers] Re: Ubuntu 12.04 Unity dialogs messed up

On Tue, 2012-05-01 at 09:27 -0500, Mitch Claborn wrote:
Quote:
I opened a bug on this: http://netbeans.org/bugzilla/show_bug.cgi?id=211885

Is that behavior NetBeans' fault, or Unity's?

--
____________________________________________________________
Glenn Holmer address-removed
Software Engineer phone: 414-908-1809
Weyco Group, Inc. fax: 414-908-1601

**********

The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and confidential
use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not the
intended recipient of this message, or authorized to receive it for the
intended recipient, you have received this message in error, and you
are not to review, use, disseminate, distribute or copy this message,
any attachments thereto, or their contents. If you have received this
message in error, please immediately notify us by return e-mail
message, and delete the original message.

Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer.
Back to top
gros_bidule



Joined: 22 Jun 2010
Posts: 215

PostPosted: Tue May 01, 2012 6:18 pm    Post subject: Reply with quote

Hi,
have you tried with Sun/Oracle JDK ?
Many users have problems with OpenJDK.
Back to top
Mitch Claborn
Posted via mailing list.





PostPosted: Tue May 01, 2012 6:25 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

I don't think it is *entirely* Unity's fault. I have a number of Java
applications with Dialogs that display correctly, so it must be possible
for NetBeans to display dialogs correctly also.



On 05/01/2012 11:58 AM, Javier Ortiz wrote:
Quote:
From what I've seen so far it is Unity's.
Back to top
dinamic



Joined: 03 May 2012
Posts: 1

PostPosted: Thu May 03, 2012 9:16 am    Post subject: Reply with quote

I've resolved this by installing the sun sdk. You can verify its presence like this:

Code:
$ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-6-sun/jre/bin/java             63        manual mode
* 3            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1051      manual mode

Press enter to keep the current choice[*], or type selection number:


Once you know its location, modify the etc/netbeans.conf file and set the vm you want to use.
Back to top
Mitch Claborn
Posted via mailing list.





PostPosted: Fri May 04, 2012 2:18 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

That is also what I did. I looked for a place to open a bug report for
OpenJDK but could not find where to do so.


On 05/03/2012 04:16 AM, dinamic wrote:
Quote:
I've resolved this by installing the sun sdk. You can verify its presence like this:


Code:
$ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
* 3 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 manual mode

Press enter to keep the current choice[*], or type selection number:



Once you know its location, modify the etc/netbeans.conf file and set the vm you want to use.




Back to top
d~_*b
Posted via mailing list.





PostPosted: Mon May 07, 2012 3:57 am    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

On Fri 04 May 2012 9:17:55 AM Mitch Claborn wrote:
Quote:
That is also what I did. I looked for a place to open a bug report for
OpenJDK but could not find where to do so.
--

I found it hidden here : https://bugs.openjdk.java.net/

-- & Ru
Back to top
Mitch Claborn
Posted via mailing list.





PostPosted: Mon May 07, 2012 4:38 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

Here is the bug I filed.
https://bugs.openjdk.java.net/show_bug.cgi?id=100255



On 05/06/2012 10:54 PM, d~_*b wrote:
Quote:
On Fri 04 May 2012 9:17:55 AM Mitch Claborn wrote:
Quote:
That is also what I did. I looked for a place to open a bug report for
OpenJDK but could not find where to do so.
Back to top
crmcmullen



Joined: 10 May 2012
Posts: 3
Location: Idaho

PostPosted: Thu May 10, 2012 8:06 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

Discovered something interesting. I have this exact same issue, but I am running a laptop with a 2nd screen under Twinview. If I open and run Netbeans on my laptop screen, then the dialogs work fine. If I drag Netbeans to my second screen and click on Tools>Options ... the dialog does not open correctly (it opens narrow). Drag it back to my primary laptop screen ... works fine.

Ubuntu 12.04
Netbeans 7.1.2
Oracle-Java-7
Back to top
Wade Chandler
Posted via mailing list.





PostPosted: Fri May 11, 2012 1:47 am    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

On 05/10/2012 04:06 PM, crmcmullen wrote:
Quote:
Discovered something interesting. I have this exact same issue, but I am running a laptop with a 2nd screen under Twinview. If I open and run Netbeans on my laptop screen, then the dialogs work fine. If I drag Netbeans to my second screen and click on Tools>Options ... the dialog does not open correctly (it opens narrow). Drag it back to my primary laptop screen ... works fine.

Ubuntu 12.04
Netbeans 7.1.2
Oracle-Java-7




What happens when you resize the dialog, close it, then reopen it while
on the same monitor? Too, what happens if you run it with the latest
Oracle JDK 6?

Thanks,

Wade

--

=================
Wade Chandler

Software Engineer and Consultant
NetBeans Contributor
NetBeans Dream Team Member

wadechandler.com
netbeans.org
Back to top
crmcmullen



Joined: 10 May 2012
Posts: 3
Location: Idaho

PostPosted: Fri May 11, 2012 11:07 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

Wade,

If I resize the dialog, close it, and then reopen it opens narrow again. It's not saving the resize settings on the 2nd screen. Doesn't matter how many times I do this. However, if I drag NB back over to my primary screen on the laptop, it opens fine every time.

I have not tried it with Oracle JDK 6. I've used Netbeans for years and in the past I've never had issues with OpenJDK either. All of this has started occurring with Ubuntu 12.04.

Casey McMullen
@crmcmullen




On 05/10/2012 07:47 PM, Wade Chandler wrote:
Quote:
On 05/10/2012 04:06 PM, crmcmullen wrote:
Quote:
Discovered something interesting. I have this exact same issue, but I am running a laptop with a 2nd screen under Twinview. If I open and run Netbeans on my laptop screen, then the dialogs work fine. If I drag Netbeans to my second screen and click on Tools>Options ... the dialog does not open correctly (it opens narrow). Drag it back to my primary laptop screen ... works fine.

Ubuntu 12.04
Netbeans 7.1.2
Oracle-Java-7




What happens when you resize the dialog, close it, then reopen it while on the same monitor? Too, what happens if you run it with the latest Oracle JDK 6?

Thanks,

Wade

Back to top
atz6975



Joined: 14 May 2012
Posts: 1

PostPosted: Mon May 14, 2012 5:11 pm    Post subject: Reply with quote

Hi,
just for info : Using Twinview on a desktop running Ubuntu 12.04 + Oracle Java 7 + Netbeans 7.1.2

If I open the dialogs on the "left" monitor all is fine, and if I do it on the "right" monitor the dialogs are messy.
I tried changing the primary monitor but the behaviour is the same.
EDIT : swapping the virtual placement of monitors in nvidia settings (ie inverting right vs left) makes the behaviour consistent, ie the "left" monitor is fine.

As Casey, I have the same behaviour.

Thank you for any clue on this.
Back to top
Wade Chandler
Posted via mailing list.





PostPosted: Mon May 14, 2012 6:01 pm    Post subject: Ubuntu 12.04 Unity dialogs messed up Reply with quote

On 05/11/2012 10:13 AM, Casey McMullen wrote:
Quote:
Wade,

If I resize the dialog, close it, and then reopen it opens narrow again. It's not saving the resize settings on the 2nd screen. Doesn't matter how many times I do this. However, if I drag NB back over to my primary screen on the laptop, it opens fine every time.

I have not tried it with Oracle JDK 6. I've used Netbeans for years and in the past I've never had issues with OpenJDK either. All of this has started occurring with Ubuntu 12.04.

Casey McMullen
@crmcmullen




On 05/10/2012 07:47 PM, Wade Chandler wrote:
Quote:
On 05/10/2012 04:06 PM, crmcmullen wrote:
Quote:
Discovered something interesting. I have this exact same issue, but I am running a laptop with a 2nd screen under Twinview. If I open and run Netbeans on my laptop screen, then the dialogs work fine. If I drag Netbeans to my second screen and click on Tools>Options ... the dialog does not open correctly (it opens narrow). Drag it back to my primary laptop screen ... works fine.

Ubuntu 12.04
Netbeans 7.1.2
Oracle-Java-7




What happens when you resize the dialog, close it, then reopen it while on the same monitor? Too, what happens if you run it with the latest Oracle JDK 6?

Thanks,

Wade


Casey,

I wrote some code that would make sure the project properties dialog resized properly on multi-displays; different dialog than options. How does that dialog behave on your system? I'm using Ubuntu 12.04, not with Unity though, but with Gnome Classic (with effects not without). I'm not specifically enabling Twin View, but am using AMD/ATI Radeon Drivers and Catalyst proprietary. Everything seems to behave normally for me. It may be there is a difference in the way the options dialog and the project properties dialogs come up if the project properties dialog behaves differently for you. If so, I might have a peek at the logic that opens the Tools|Options dialog to see what it is doing. I don't think I have ever looked at it before.

Wade

Quote:
--

=================
Wade Chandler

Software Engineer and Consultant
NetBeans Contributor
NetBeans Dream Team Member

wadechandler.com
netbeans.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo