History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-2680
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P0 P0
Assignee: Max Carlson
Reporter: Max Carlson
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Any view physically positioned over a clickable view (but not a child view) catches all mouse events in DHTML

Created: 13/Sep/06 02:24 AM   Updated: 21/Feb/07 11:56 AM
Component/s: Kernel - DHTML
Affects Version/s: Legals PR3
Fix Version/s: 4.0.0

Time Tracking:
Not Specified

Severity: Critical
Fixed in Change#: 1,839
Runtime: N/A
Fix in hand: False


 Description  « Hide
We used to think this was just text fields (LPP-2520) but it applies to views as well - it's pretty serious! I'm gonna revive my fix for LPP-2520 and try to get it working for real... Here's a simple test case:

<canvas>
    <view width="60" height="50" bgcolor="black">
        <handler name="onmouseover">
            this.setBGColor(0xcccccc)
        </handler>
        <handler name="onmousedown">
            this.setBGColor(0xeeeeee)
        </handler>
        <handler name="onmouseup">
            this.setBGColor(0xcccccc)
        </handler>
        <handler name="onmouseout">
            this.setBGColor(0x000000)
        </handler>
    </view>

    <view width="30" height="50" opacity=".5" bgcolor="yellow"/>
</canvas>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Frisco Del Rosario - 09/Feb/07 10:27 AM
I don't think this is fixed. The bottom view still reacts to mouse events when the top view is 'moused'.

Max Carlson - 21/Feb/07 11:56 AM
This issue is fixed. In TOT, I saw consistent behavior across swf7 and dhtml in firefox 2 mac.