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 213048 - context menu and or any right click not working if IDE is on the second monitor.
Summary: context menu and or any right click not working if IDE is on the second monitor.
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.1.2
Hardware: Macintosh Mac OS X
: P1 normal with 1 vote (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: DUAL_MONITOR, JDK_SPECIFIC
: 212522 212794 213511 213512 213550 214037 221142 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-26 16:47 UTC by thenubus
Modified: 2013-07-16 11:53 UTC (History)
7 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 thenubus 2012-05-26 16:47:37 UTC
Product Version = NetBeans IDE 7.1.2 (Build 201204101705)
Operating System = Mac OS X version 10.7.4 running on x86_64
Java; VM; Vendor = 1.7.0_04
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.0-b21

I use a dual monitor setup. As soon as i move the IDE to the second monitor context menu's and pull down menu's are no longer working. They simply won't pop up. If i move the IDE window back to the first monitor everything is back to normal.

I found this: http://www.java.net/external?url=http://bugs.sun.com/view_bug.do?bug_id=7131912
but nobody seems to care.
Comment 1 Stanislav Aubrecht 2012-05-31 13:56:20 UTC
This is a JDK bug reproducible with SwingSet demo app. When the SwingSet demo app is started with JDK 1.7 update 4 it shows on the secondary screen by default. When dragged back to primary screen, all dialog still open at the secondary. Also no tooltips are showing then.
It works fine with JDK 1.6
Comment 2 Stanislav Aubrecht 2012-05-31 13:59:58 UTC
*** Bug 212794 has been marked as a duplicate of this bug. ***
Comment 3 Marian Mirilovic 2012-05-31 15:43:44 UTC
so it's regression ... Tonda, could we escalate that ? ... very good candidate for 7u6 I would say
Comment 4 Antonin Nebuzelsky 2012-06-01 12:01:30 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7173487
Comment 5 Stanislav Aubrecht 2012-06-04 10:21:14 UTC
*** Bug 213511 has been marked as a duplicate of this bug. ***
Comment 6 Antonin Nebuzelsky 2012-06-04 11:50:51 UTC
*** Bug 213512 has been marked as a duplicate of this bug. ***
Comment 7 Stanislav Aubrecht 2012-06-05 08:38:24 UTC
*** Bug 213550 has been marked as a duplicate of this bug. ***
Comment 8 Stanislav Aubrecht 2012-06-05 10:32:32 UTC
still reproducible in 1.7.0_06-ea-b12
Comment 9 Antonin Nebuzelsky 2012-06-14 21:59:12 UTC
How about with b13?
Comment 10 Antonin Nebuzelsky 2012-06-14 22:01:58 UTC
*** Bug 214037 has been marked as a duplicate of this bug. ***
Comment 11 Antonin Nebuzelsky 2012-07-09 13:09:35 UTC
JDK#7173487 marked as fixed in 7u6/b17.

Tomasi, can you verify all symptoms (duplicates) here?
Comment 12 Marian Mirilovic 2012-10-31 09:01:39 UTC
*** Bug 221142 has been marked as a duplicate of this bug. ***
Comment 13 shousper 2012-11-01 23:59:40 UTC
So, I've tried installing an updated version of Java, no love. Didn't work anyway >_>, Netbeans just kept using 1.7u4.

Seeing as nobody else has posted a workaround here, I thought I'd share to save someone possibly having to figure it out for themselves..

If you look in /Library/Java or /System/Library/Frameworks/JavaVM.framework/Versions you should have the old version of 1.6 installed. You can tell Netbeans to use 1.6 instead of the system default by modifying this file:

/Applications/NetBeans/NetBeans 7.2.1.app/Contents/Resources/NetBeans/etc/netbeans.conf

Obviously your version could be different. Add a value for `netbeans_jdkhome` to point to the 1.6 location. On my Mac OS 10.8 system (with XCode installed, if that makes a difference), I could simply use this:

netbeans_jdkhome="/Library/Java/Home"

Save, and restart netbeans.

This question on SO helped me, so credit where it's due: http://stackoverflow.com/questions/2809366/changing-the-version-on-which-netbeans-runs/13187257
Comment 14 Svata Dedic 2013-07-16 11:53:52 UTC
*** Bug 212522 has been marked as a duplicate of this bug. ***