
| Key: |
LPP-7079
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
P0
|
| Assignee: |
Unassigned
|
| Reporter: |
André Bargull
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Severity: |
Minor
|
| Fixed in Change#: |
11,262
|
| Fixed in branch: |
trunk
|
| Runtime: |
SWF9
|
| Fix in hand: |
False
|
|
To reproduce:
- click on green area
Expected:
- debug-message 'onclick - child'
Actual:
- debug-message 'onclick - parent'
testcase:
---
<canvas debug="true">
<view width="100%" clickable="false" height="80" bgcolor="#ffaaaa">
<handler name="onclick">Debug.write('onclick - parent')</handler>
<handler name="oninit" >this.setAttribute('clickable', true)</handler>
<view width="100%" height="50" bgcolor="#aaffaa">
<handler name="onclick">Debug.write('onclick - child')</handler>
</view>
</view>
</canvas>
---
|
|
Description
|
To reproduce:
- click on green area
Expected:
- debug-message 'onclick - child'
Actual:
- debug-message 'onclick - parent'
testcase:
---
<canvas debug="true">
<view width="100%" clickable="false" height="80" bgcolor="#ffaaaa">
<handler name="onclick">Debug.write('onclick - parent')</handler>
<handler name="oninit" >this.setAttribute('clickable', true)</handler>
<view width="100%" height="50" bgcolor="#aaffaa">
<handler name="onclick">Debug.write('onclick - child')</handler>
</view>
</view>
</canvas>
--- |
Show » |
|
r11262 | bargull | 2008-09-28 13:29:13 +0200 (Sun, 28 Sep 2008) | 34 lines
Ge?\195?\164nderte Pfade:
M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M /openlaszlo/trunk/examples/components/grid_example.lzx
M /openlaszlo/trunk/lps/components/lz/gridtext.lzx
Change 20080927-bargull-SVC by bargull@dell--p4--2-53 on 2008-09-27 15:37:52
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix swf9 sprite clickability
New Features:
Bugs Fixed:
LPP-7079,LPP-7058,LPP-6943Technical Reviewer: hminsky
QA Reviewer: mamye
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
the clickbutton needs to be placed behind all child-sprites (
LPP-7079),so it's now placed at the 0th position.
grid_example.lzx:
- use short form for init-handler (not a required change)
- use strings when assigning values to workdef/homedef (avoids swf8 debug-info)
gridtext.lzx:
- change attribute type to "node" (not a required change)
Tests:
testcase at
LPP-7079grid example (
LPP-7058,LPP-6943)------------------------------------------------------------------------