You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/11/16 15:41:31 UTC

[GitHub] sdedic opened a new pull request #1023: NETBEANS-1698: Listview only performs action on left-doubleclick. Con…

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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