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.
Open some file in editor window (I tried php and java) and use right mouse button inside the editor => context menu should be displayed, but nothing happens. Product Version: NetBeans IDE Dev (Build 201108210601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
This is likely a regression due to issue #89607. I'll fix it.
Created attachment 110299 [details] Output from KeyEventDebug.jar This is the output I get when I single right-click from KeyEventDebug.jar
I'm no longer able to reproduce it in latest dev build, so marking as WORKSFORME Product Version: NetBeans IDE Dev (Build 201108310601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Finally I am able to reproduce it on my computer: - start IDE with empty userdir (ergonomics cluster enabled) - create Java project - right-click in editor and it is OK, popup menu appears - restart IDE - turn off start page to not appear again and close it (maybe not needed) - right-click in editor and it is OK - restart IDE - right-click in editor but nothing happens. There is an error message in messages.log that var\cache\all-ergonomics.dat cannot be saved. Product Version: NetBeans IDE Dev (Build 201108310601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Created attachment 110316 [details] messages.log
Jirko, thanks for steps, I was able to reproduce on Ubuntu 11.04 as well. As we were already tracking the problem before the cause is that the c.getUI().getEditorKit(c).getActionByName(ExtKit.buildPopupMenuAction).getDelegate() gives ExtKit$BuildPopupMenuAction instead of NbEditorKit$NbBuildPopupMenuAction. I will find out why that happens.
*** Bug 201642 has been marked as a duplicate of this bug. ***
http://hg.netbeans.org/jet-main/rev/d161f2f4f927
Verified, switched to the latest build and context menus are working. Switching back to an older build correctly shows the bug again and vice-versa.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d161f2f4f927 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #201205 - Right mouse button in editor windows doesn't work.