[ 
https://issues.apache.org/jira/browse/PIVOT-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029438#comment-14029438
 ] 

Roger Whitcomb commented on PIVOT-951:
--------------------------------------

Committed the suggested patch after testing with the "Sample" application.

branches/2.0.x:
Sending        2.0.x/wtk/src/org/apache/pivot/wtk/Container.java
Transmitting file data .
Committed revision 1602230.

trunk:
Sending        trunk
Sending        trunk/wtk/src/org/apache/pivot/wtk/Container.java
Transmitting file data .
Committed revision 1602231.

Also committed the sample application as "Pivot951.java":
Adding         2.0.x/tests/src/org/apache/pivot/tests/issues/Pivot951.java
Transmitting file data .
Committed revision 1602233.

Sending        trunk
Adding         trunk/tests/src/org/apache/pivot/tests/issues/Pivot951.java
Committed revision 1602234.

I would like confirmation that the issue is resolved to your satisfaction, 
and/or if you have further input about the "mouseClickConsumed" variable and 
its usage.  We will try this in our application to make sure nothing is broken.

> 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
>            Assignee: Roger Whitcomb
>         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