[ 
https://issues.apache.org/jira/browse/PIVOT-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alessandro Pira updated PIVOT-951:
----------------------------------

    Attachment: Sample.java
                patch-mouse-click-2.0.4.diff

I am attaching a simple app to reproduce the problem and the patch I applied to 
solve it.
Actually, I'm not really sure the mouseClickConsumed variable is really 
usefull, IMHO it could be removed.

> Only first click is received by container listeners
> ---------------------------------------------------
>
>                 Key: PIVOT-951
>                 URL: https://issues.apache.org/jira/browse/PIVOT-951
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0.4
>            Reporter: Alessandro Pira
>         Attachments: Sample.java, patch-mouse-click-2.0.4.diff
>
>
> Mouse button listeners added to a container receive only the first mouse 
> click event. Following clicks are never dispatched to listeners.
> Problem is that Container's mouseClickConsumed variable once set to false 
> never becomes true.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to