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 267331

Summary: Right click does not change focus for context menu actions
Product: editor Reporter: kacer
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: markiewb, tmysik
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description kacer 2016-07-27 10:55:41 UTC
Right click in editor window on class/function/interface name does not change focus for opened menu actions (Go to Declaration, Find Usages). In case of Find Usages this results in "Can't refactor here" message if cursor is in comment on white space.

In NetBeans 8.1 right click moves focus to symbol under mouse pointer.

Tested version:
Product Version: NetBeans IDE Dev (Build 201607260002)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Linux version 4.4.0-22-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Tomas Mysik 2016-07-27 11:40:43 UTC
Sounds to me to be a general problem, not a PHP specific issue. Perhaps multicaret related? Please evaluate, thanks.