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.
In Ubuntu 11.04 + Gnome 3 when maximizing the window or taking it near the edge of the screen the menus (JMenu) don't work. Neither context menus or sometimes dropdowns either. It looks like the JMenu gets the wrong coordinates from the OS as sometimes you are clicking at point x=10, y=50 and the menu displays at x=25, y=250. Or it may display at the right place but then when you try to hover over the menu items it is offsetted... I think this is a major issue as you cant use NB in Ubuntu 11.04 with Gnome 3 or may be in any os with Gnome 3
cannot reproduce Product Version: NetBeans IDE 7.0 (Build 201104080000) Java: 1.6.0_25; Java HotSpot(TM) Client VM 20.0-b11 System: Linux version 2.6.38-8-generic running on i386; UTF-8; en_US (nb) please provide netbeans and jdk version info, some screenshots and reopen, thanks
I am running Product Version: NetBeans IDE 7.0 (Build 201104080000) Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02 System: Linux version 2.6.39-0-generic running on amd64; UTF-8; en_IN (nb) Userdir: /home/pablo/.netbeans/7.0 In my case, the most often occuring bug (essentially always when window is maximized) is that the menu that appears (e.g. File) is the one 250 pixels on the left of where the mouse is (e.g. Source)
Created attachment 108376 [details] You can see that mouse is in Refactor and menu coming up is File. You can see that mouse is in Refactor and menu coming up is File.
it seems you've attached wrong screenshot:)
I'm using Ubuntu 11.04 w/ default Unity theme and I haven't seen such behaviour. The menu bars are always placed on the correct positions. Product Version = NetBeans IDE Dev (Build 20110509-9eca6e363da5) (#9eca6e363da5) Operating System = Linux version 2.6.38-8-generic running on amd64 Java; VM; Vendor = 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_23-b05 Java Home = /usr/local/share/java/jdk1.6.0_23/jre
(In reply to comment #4) > it seems you've attached wrong screenshot:) No I have not attached the wron screenshot. On that screenshot you see the mouse pointer over 'Refactor' but 'File menu' showing Works fine with Unity but not with Gnome3 More people reporting the issue: http://forums.netbeans.org/topic38764.html quote: 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
sorry, i didn't notice you've got a dual screen setup so the right-hand part of the screen shot was scrolled out in my browser window. is this reproducible with a single monitor only?
Hi, I just tried with the primary monitor only and same problem. It must be a JDK issue, JEdit (a java based text editor) has the same problem. Also, not so important, but you may notice from the screenshot that the top gnome bar says java-lang-Thread next to the netbeans icon... would probably be better to have it saying "NetBeans 7.0" there, wouldnt it?, Even though i notice this happens with all java apps. JEdit says: org-gjg-sp-jedit.jEdit on the top OS bar (next to ('Activities')
Any news on this?
*** Bug 197922 has been marked as a duplicate of this bug. ***
*** Bug 198817 has been marked as a duplicate of this bug. ***
This is reproducable on Fedora fully upgraded with the latest dev (201106031000). Not only that but the interface looks very different than on Windows computers. But thats a separate issue
Also, when opening the libraries window of a project, 50% of the times windows decoration dissapears on all windows, not just netbeans... I have to keep compiz-config-setting manager open to keep on disabling and enabling windows decorations. Pablo.
Hi, I'm running Fedora 15 with Gnome 3 and have the same problem but only when the window is maximazed. It seems that the Gnome 3 it's the common denominator here. Some workaround?
Just want to say that at least on Fedora 15, Netbeans 7.0.1 RC1, and *Java 7*, this issue seems to be fixed.
Having the same problems. Moving the windows to the top left corner, then maximizing is not solving the problem for me. Product Version: NetBeans IDE 7.0.1 (Build 201107282000) Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17 System: Linux version 2.6.40.3-0.fc15.x86_64 running on amd64; UTF-8; en_US (nb) (Actually, it's a Pentium Dual Core, not an amd64)
See JDK issue http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7057467 Increasing JDK bug priority to medium. Closing wontfix on our side.
using openjdk instead of jdk can solve this problem. my os is archlinux, i also get involed in this problem. then i changed jdk to openjdk, everything is ok now
*** Bug 199162 has been marked as a duplicate of this bug. ***
Created attachment 114852 [details] textfield without the correct mouse shape
It doesn't only happen with Netbeans, it happens with all swing apps, doesn't matter if you have double monitor or not. And it also affects to the pointer shape to me, I don't know if its a separate bug or not, but it happens when the "mouse offsetted" mode is on: The mouse shape doesn't change when it should, like in the textfield in the attachment, where it should be a "text cursor". In this case there is no offset, it isn't shown moving the pointer around de textfield. I've found this kind of bugs in swing apps with openjdk6 () and openjdk7 () with GTK3.
same kind of issues with netbeans and intellij on gentoo/gnome-shell
Sorry for the double comment. and confirmed that using openjdk on gentoo solves some of problems.
Still exists in oracle jdk update 4 java version "1.7.0_04-ea" Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b19) Java HotSpot(TM) Server VM (build 23.0-b20, mixed mode)
SPAM - Removed by Administrator
(In reply to comment #18) > using openjdk instead of jdk can solve this problem. It is still broken for Oracle JDK. This is a serious bug. Can we get this escalated so that http://icedtea.classpath.org/hg/release/icedtea6-1.10/rev/711c59eac969 gets accepted?
I think it can be worked around...
Created attachment 119181 [details] Possible patch The attached patch against a dev build works for me in JDK 7u4, Ubuntu 12.04 w/ GNOME 3.4. Please consider applying it or something like it (probably needs testing to make sure other environments are not regressed).
(In reply to comment #8) > the top gnome bar says java-lang-Thread next to the netbeans icon Bug #183739.
core-main 409566c2aa65 Thanks for the patch, Jesse!
Anybody able reproduce in the past, please verify the fix in next daily build and let us know. If it works, we will backport the fix into 7.1.
Integrated into 'main-golden', will be available in build *201205110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/409566c2aa65 User: S. Aubrecht <saubrecht@netbeans.org> Log: #198639 - workaround for main menu & mouse issues in Gnome 3
Verified: Product Version: NetBeans IDE Dev (Build 201205130400) Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21 System: Linux version 3.2.0-24-generic-pae running on i386; UTF-8; en_US (nb) Ubuntu 12.04 with Gnome3
in release71_fixes as f006636197b4
Integrated into 'releases', will be available in build *201205151102* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/f006636197b4 User: S. Aubrecht <saubrecht@netbeans.org> Log: #198639 - workaround for main menu & mouse issues in Gnome 3
*** Bug 213012 has been marked as a duplicate of this bug. ***
*** Bug 216933 has been marked as a duplicate of this bug. ***
Actually it's NOT fixed. I just saw it Ubuntu GNOME Remix beta2 + Netbeans 7.2.
(In reply to comment #39) > Actually it's NOT fixed. I just saw it Ubuntu GNOME Remix beta2 + Netbeans 7.2. Please provide your JDK version info first.
(In reply to comment #39) > I just saw it Ubuntu GNOME Remix beta2 + Netbeans 7.2. mrowner: you may be seeing bug #215977 which is awaiting a patch update for 7.2.
Although not using Gnome 3, this remains a problem seen with NetBeans IDE 7.2.1 (Build 201210100934) under Linux Mint 14 Nadia and the Cinnamon desktop. DESKTOP_SESSION = default.desktop java.version = 1.7.0_09 java.vendor = Oracle Corporation
This is not FIXED! I am also having this problem. The best case of it working was when the window initial appear(not maximized) it seemed to work.. but as soon as maximized BAM back to crap.
Yes, I saw this issue with the netbeans 7.3+ latest LinuxMint14+ openjdks 1.7.0_15
I have this issue on my computer - in the IDE and in the rcp-application. Linux Mint Mate, V14 NetBeans IDE 7.3 (Build 201302261559) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 3.5.0-17-generic running on i386
*** Bug 225817 has been marked as a duplicate of this bug. ***
Hi all, I experienced with this issue too. Previously I tried below workaround: 1. Maximize manually by using mouse to enlarge the window, 2. Move the window to the top left, and click Maximize button of the window. But once I installed Compiz Fusion, now the problem has gone. Now I can maximize the windows of Java Swing apps (i.e. Netbeans, SQLDeveloper) by using maximize button without any issues on the menu. I think this issue hasn't been solved yet. FYI, I'm using Oracle JDK 1.6.0_45 on Linux Mint 14 MATE. Hope this help. Thanks
Same problem Gnome 2.x, Fedora 18, MATE Desktop. Mouse coordinates problem. Really annoying.
The problem with MATE desktop should be fixed in https://netbeans.org/bugzilla/show_bug.cgi?id=227754
R
Running Mint 15 x64 (derived from Ubuntu 13.04), Mate 1.6.0. Installed the Netbeans PHP installer downloaded from Netbeans.org. Clicking on the menus they disappear almost instantly. Its not possible to use them with the mouse. They are usable with the keyboard (Holding Alt then pressing the underscored menu letter, then down arrow, then enter).
The problem is actually caused by wrong mouse-up co-ordinates. If I click the menu disappears instantly. If I press and hold the menu appears and stays open. Then if I move the mouse below the menu and to the right of it, I can select the various menu items. When I release the button, the menu item is activated successfully.
Okay I found a workaround. Don't maximize. Resize the window to almost full-screen. Works fine now.
> If I press and hold the menu appears and stays open. In my test, pressing & holding may cause the menu to stay open, but moving the mouse (while button pressed) down the menu still causes the wrong menu to open -- i.e., click & hold open "Tools", slide mouse down, and then "Team" or "Profile" (menus to the left) open up. (See bug #227754 and my comments) Product Version: NetBeans IDE Dev (Build 201311070001) Java: 1.7.0_25; OpenJDK 64-Bit Server VM 23.7-b01 Runtime: OpenJDK Runtime Environment 1.7.0_25-b30 System: Linux version 3.8.0-33-generic running on amd64; UTF-8; en_US (nb) Mate 1.6.0 / Linux Mint 15
I am running Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.0.34-0.7-default running on amd64; ISO-8859-1; en_US (nb) I am having the same problem with the context menu in the editor. When I want to undo a code change, the context menu appears, but has no impact. It doesn’t matter if I am full screen, if I resize the window as mentioned in this bug report, nothing. The only thing I can do is go to ‘History’ and revert the changes.
*** Bug 240794 has been marked as a duplicate of this bug. ***
I'm having the same issue when the window is maximized, the menus disapear when I release the mouse button. Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Debian 7 - Linux version 3.12-1-amd64 running on amd64 Java; VM; Vendor = 1.7.0_51 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Windows Manager: GNOME Shell 3.8
If I resize the window to fill all the desktop an then "maximize" the window, the there is no problem with the menu.
Same Issue here: Product Version: NetBeans IDE 8.0 (Build 201403101706) Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1.1 Java: 1.7.0_60; Java HotSpot(TM) 64-Bit Server VM 24.60-b09 Runtime: Java(TM) SE Runtime Environment 1.7.0_60-b19 System: Linux version 3.13-1-amd64 running on amd64; UTF-8; en_US (nb) Currently ocurring in Debian Jessie (testing version). I have worked around it by going to: Tools -> Options -> Appearance -> Look and Feel Changing from "GTK+" to "Metal", and then restarting netbeans did the trick.
Pretty sure I'm seeing the same thing. Ubuntu 14.04, Gnome Fallback. More detail I noticed - Gnome / Java / Netbeans was correctly processing the mouse hover coords, and it was only clicks that were wrong. However - I just got frustrated and wiped my touchpad (mostly I use the mouse) - now everything works fine. Did press the buttons as I was wiping. I was also noticing a bug where I couldn't right click on tabs in gChrome. That sorted itself out at the same time. Could be that simple? Can anyone try that?
Same problem here with Mint 64bit + Mate 64 + OpenJDK 7 This bug is also discussed here and set as Fixed (and reopened by me because not even the workaround works). https://netbeans.org/bugzilla/show_bug.cgi?id=227754