NetBeans Forums

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

Netbeans 7, Gnome 3 and Ubuntu 11.04
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Beno
Posted via mailing list.





PostPosted: Tue May 03, 2011 1:22 pm    Post subject: Netbeans 7, Gnome 3 and Ubuntu 11.04 Reply with quote

Hi everyone,

I recently upgraded to Ubuntu 11.04 and Netbeans 7.
As I don't like their new Unity desktop environment, I have switched to
Gnome 3, following the tutorial that can be found here:
http://ubuntuforums.org/showthread.php?t=1742343

Everything works like a charm, except Netbeans 7. The menus and
contextual menus are nearly impossible to navigate into:
- when you click on a menu, it disappears as soon as you release the
mouse button.
- when holding the mouse button and drawing along the menu (from File to
Edit for instance), nothing happens (the File menu remains opened the
Edit menu is not visible).
- when dragging further on the right, the Edit menu is finally
displayed, but the mouse is on the Refactor menu
- It is almost impossible to select an item in the menu and when it
finally works, you cannot select a sub-menu item

I was wondering if someone had installed Netbeans with Gnome 3 and if
they encountered the same kind of problems.

I know that Ubuntu does not officially support Gnome 3, so maybe it is
this particular version of Gnome 3 that is broken. OpenSuse however
officially supports it and Fedora will at the end of the month. Has
anyone tryied on one of those distributions?

In the meantime, I had to switch back to Eclipse :-(

Kind regards,

Ben
Back to top
vestimir



Joined: 04 May 2011
Posts: 1
Location: Bulgaria

PostPosted: Wed May 04, 2011 9:04 am    Post subject: Reply with quote

Try using Shift + F10 it's an alternative to the right mouse click and ALT + Key to navigate the main menus.
Back to top
chemicaloliver



Joined: 04 May 2011
Posts: 2

PostPosted: Wed May 04, 2011 9:10 pm    Post subject: Reply with quote

I've also experienced this in all versions of gnome3 I've used (with gnome-shell) be it fedora, opensuse and ubuntu, although I was able to reduce the problem by using sun jre on ubuntu.

I believe it's a bug in java or gnome-shell rather than netbeans as it happens for another java application I run (arduino).

I'm not sure where to report the bug...of if it effected anyone but me.

It doesn't happen if you don't maximize the window.
Back to top
chemicaloliver



Joined: 04 May 2011
Posts: 2

PostPosted: Wed May 04, 2011 9:27 pm    Post subject: Reply with quote

I've posted a bug here:

https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/777425
Back to top
Wade Chandler
Posted via mailing list.





PostPosted: Thu May 05, 2011 1:19 am    Post subject: Netbeans 7, Gnome 3 and Ubuntu 11.04 Reply with quote

That sounds like a bug for openjdk more than Ubuntu, NetBeans, or the other
application you mentioned to me. It sounds like openjdk does not have parity
with the released JDK and that isn't good. I'm using the same version of ubuntu
etc but have installed the Sun Java version from the update center. All is well.

Wade

==================
Wade Chandler
Software Engineer and Developer
NetBeans Dream Team Member and Contributor


http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
http://www.netbeans.org



----- Original Message ----
Quote:
From: chemicaloliver <address-removed>
To: address-removed
Sent: Wed, May 4, 2011 5:27:04 PM
Subject: [nbusers] Netbeans 7, Gnome 3 and Ubuntu 11.04

I've posted a bug here:

https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/777425




Back to top
thiebault
Posted via mailing list.





PostPosted: Thu May 05, 2011 6:44 am    Post subject: Netbeans 7, Gnome 3 and Ubuntu 11.04 Reply with quote

I already have Sun JDK installed and setup as the default version of java via alternatives... So it has to come from somewhere else.
Thanks for the feedback anyway


Le jeu 5/05/11 02:45, Wade Chandler address-removed a écrit:
Quote:
That sounds like a bug for openjdk more than Ubuntu, NetBeans, or the other

application you mentioned to me. It sounds like openjdk does not have
Quote:
parity
with the released JDK and that isn't good. I'm using the same version of
Quote:
ubuntu
etc but have installed the Sun Java version from the update center. All is
Quote:
well.
Wade

==================
Wade Chandler
Software Engineer and Developer
NetBeans Dream Team Member and Contributor


http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam

http://www.netbeans.org
Quote:


----- Original Message ----
Quote:
From: chemicaloliver <chemica
address-removed>
To: nbusers@
netbeans.org
Sent: Wed, May 4, 2011 5:27:04 PM
Quote:
Subject: [nbusers] Netbeans 7, Gnome 3 and Ubuntu
11.04

Quote:
I've posted a bug here:

https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/777425



Back to top
Beno
Posted via mailing list.





PostPosted: Thu May 05, 2011 10:34 am    Post subject: Netbeans 7, Gnome 3 and Ubuntu 11.04 Reply with quote

I tried that and it works (not very handy though).
I also confirm that the problem occurs only when the window is
maximised.
I have a dual screen, but I don't know if it is related to this problem
or not.


Le mercredi 04 mai 2011 à 09:05 +0000, vestimir a écrit :
Quote:
Try using Shift + F10 it's an alternative to the right mouse click and ALT + Key to navigate the main menus.



Back to top
theunsheydenrych



Joined: 02 Feb 2009
Posts: 31
Location: South Africa

PostPosted: Thu May 12, 2011 6:55 am    Post subject: Reply with quote

Hi
My problem is that when using Netbeans 6.9.1 in ubuntu 11.04 , all my windows borders disappear, including the gnome window borders.

I am using Ubuntu 11.04, with the default Gnome that ship with it, Gnome 2.32, dont like Unity desktop.
I installed the latest sun jdk, to be used with Netbeans.
The fonts in netbeans look fine with gnome, in the unity desktop the fonts look very ugly.

I am also looking for a resolution to this.
Back to top
Glenn Holmer
Posted via mailing list.





PostPosted: Fri May 13, 2011 1:00 pm    Post subject: Netbeans 7, Gnome 3 and Ubuntu 11.04 Reply with quote

On Thu, 2011-05-12 at 06:56 +0000, theunsheydenrych wrote:
Quote:
My problem is that when using Netbeans 6.9.1 in ubuntu 11.04 , all my
windows borders disappear, including the gnome window borders.

I am using Ubuntu 11.04, with the default Gnome that ship with it,
Gnome 2.32, dont like Unity desktop.
I installed the latest sun jdk, to be used with Netbeans.
The fonts in netbeans look fine with gnome, in the unity desktop the
fonts look very ugly.

I am also looking for a resolution to this.

I've also seen missing window decorations in Unity when running
NetBeans. I am so disugsted with the quality of Unity that I'm a hair's
breadth away from switching distros.

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



Joined: 09 Nov 2009
Posts: 1

PostPosted: Thu May 19, 2011 3:02 pm    Post subject: Reply with quote

I remember having this same issue on an older version of Ubuntu (8 or 9 era) and it popped up again on my Slackware box using Gnome 3.

Here's how I solved it in both instances:

In my netbeans.conf file I changed
Code:
-J-Dapple.laf.useScreenMenuBar=true

located in the "netbeans_default_options" string to
Code:
-J-Dapple.laf.useScreenMenuBar=false


Patrick
Back to top
pablopina



Joined: 31 Jul 2010
Posts: 4
Location: Perth, Australia

PostPosted: Fri Jun 03, 2011 2:14 pm    Post subject: Nb 7.0 + Ubuntu 11.04 + Open project libraries = windows decoration gone Reply with quote

Just like that....

For now: leave compiz config manager open so you can quickly check and uncheck the windows decoration
Back to top
mdeggers



Joined: 28 Jan 2009
Posts: 209

PostPosted: Sun Jun 05, 2011 3:23 am    Post subject: Reply with quote

I just upgraded to Fedora 15 from Fedora 14 and applied the hinting patch
to my local fonts.conf file.

Fonts look fine in Gnome 3, tolerable in KDE 4, and terrible in
WindowMaker. I'm going to have to spend some time fixing that (again).

All that aside, I normally run NetBeans using the Nimbus look and feel. If
you're not developing desktop applications, give it a shot. The look is
consistent across all environments (Gnome 3, KDE, WindowMaker,
Windows/XP), the fonts look OK, and the menu borders work.

I add the following at the end of netbeans_default_options in
netbeans.conf:

--laf Nimbus

Of course you can try it by launching Netbeans from the command line
with this same switch.

Using the GtK theme in NetBeans 7 on Gnome 3, the menus behaved
properly, but the borders were gone.

Hope this is useful.

/mde/
Back to top
areeda



Joined: 28 Aug 2008
Posts: 487
Location: Los Angeles

PostPosted: Sun Jun 05, 2011 4:49 am    Post subject: Reply with quote

Well, I've seen the loss of window decorations in Unity enough that I can't use it anymore so I use what they call Ubuntu Classic which I think is Gnome 2 and everything works fine including Netbeans.

I've had the stupid mouse/menu problem also in all programs. Seems (at least for me) that changing desktops to something else then back and the right mouse button works properly again (for a while). Again no problems in Ubuntu Classic.

I personally can't blame any of this on NetBeans.

Joe
Back to top
hclau



Joined: 06 Jun 2011
Posts: 2

PostPosted: Mon Jun 06, 2011 3:04 am    Post subject: Try this workaround Reply with quote

I just installed Netbeans 7 and had the same problem as Beno and others.

I read in Fedora forum (or a Fedora mailing list, I forgot where) that Java does not update its coordinates when it is maximized. So if your unmaximized window is not at the top left of the screen and you maximize the window, Java does not know its top left corner is at the top left of the screen and it fails to follow the menu with the mouse pointer.

If you want to run your application maximized, first move your window to the top left of the screen (unmaximize the window first if it is maximized), then maximize it. It works for me.
Back to top
hclau



Joined: 06 Jun 2011
Posts: 2

PostPosted: Mon Jun 06, 2011 6:54 am    Post subject: Reply with quote

Here's the bug report in Fedora/Redhat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=698295
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 cannot 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