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 191491 - Unity menu issues / GNOME Shell menu issues
Summary: Unity menu issues / GNOME Shell menu issues
Status: RESOLVED DUPLICATE of bug 207937
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal with 4 votes (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: GTK, UI
Depends on:
Blocks:
 
Reported: 2010-10-31 02:03 UTC by unixninja92
Modified: 2012-12-21 10:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unixninja92 2010-10-31 02:03:30 UTC
I just updated two of my netbooks to Ubuntu 10.10 netbook edition, which uses the new unity interface. I started up netbeans, and discovered that the menues are not working properly. In the unity interface the menus are in the system menu bar, sort of like on mac, but netbeans has not been updated for this yet. When I clicked on one of the menus it poped up and then disappeared right away. I figured out that you have to hold down to mouse button to keep it open. Then when I tried to select something from the menu, I discovered that the menu item being selected was two spots up from where the mouse was. I had this same issue on both of my netbooks.
Comment 1 Stanislav Aubrecht 2010-11-02 15:26:48 UTC
please try running swingset demo application (part of jdk installation) to see if it has the same problem with menu bar. if it does then either ubuntu unit interface needs some tweaking or jdk implementation needs to be fixed.
otherwise reopen this issue, thanks
Comment 2 adamgmetzler 2011-10-21 22:27:26 UTC
I am experiencing this also on fedora 16 with gnome 3 (a.k.a gnome shell). I have tried the suggested swingset demo and this problem is not present. I have tied both jdk 6 and 7 (not openjdk). The only difference between my issue and the original reporter's is that in gnome 3 the main menubar is still on the main window. I also experience that the wrong menu opens when trying to hold down the mouse button and dragdown the menu to keep it open. What I meen is the menu to the left of the one I'm trying to open actually opens. The only way I'm able to access things in the menu is through accelerators. Just to confirm other java applications do not experience this.
Comment 3 adamgmetzler 2011-11-03 22:43:00 UTC
Has there been any headway with this bug or at least a work around?
Comment 4 prodoc 2011-11-14 15:11:29 UTC
Confirming with:
Ubuntu 11.10
GNOME Shell 3.2
Sun Java JDK 1.6.0.26

A workaround to get at least the menu's working is to un-maximize the main NetBeans window, move it to the top-left corner of your screen and let it maximize.
Comment 5 adamgmetzler 2011-11-15 12:11:51 UTC
Thank you so much for the work around, this has been driving me bonkers for a couple weeks. The 'unmaximize -> move to top left of screen -> maximize' did the trick on fedora 16 with gnome-shell 3.2.
Comment 6 Stanislav Aubrecht 2012-04-04 08:43:01 UTC

*** This bug has been marked as a duplicate of bug 207937 ***
Comment 7 alono 2012-12-21 10:14:25 UTC
Hi everyone,
I found that by default, the tab space size comes as 8 spaces. When changing it to 4, this issue is fixed. 
Just go to tools -> settings -> editor and change the tab indentation to 4. save the change. restart netbeans and thats it, no more gaps between where the mouse is and where the menu is.
I suspect that the for some reason the program uses its editor settings in order to present the menus.