sdedic opened a new pull request #1023: NETBEANS-1698: Listview only performs 
action on left-doubleclick. Con…
URL: https://github.com/apache/incubator-netbeans/pull/1023
 
 
   During testing, I found that NB platform still interprets an already 
consumed mouse event as a proper doubleclick. The method used to check whether 
a mouse event is a doubleclick is MouseUtils.isDoubleClick. 
   
   A brief scan through usages of isDoubleClick revealed that virtually none of 
the handlers check for event's isConsumed. Given that a double-click usually 
triggers some heavyweight action (open, execute, ...) I would like to **propose 
that isDoubleClick returns false** so that all those methods which use the 
helper will remain silent when another listener already handled (and consumed) 
the event.
   
   In addition I'd like to fix `ListView` to only perform action on 
left-doubleclick, since it would happily execute preferred action on 
middle-doubleclick as well.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to