|
|
|
attached testcase covering a few permutations of visible vs clickable
Are you sure this is another dup? It is still happening in the latest RingDing Build 7419.
(Note: I've included an updated attachment to ------------------------------------------------------------------------
r7440 | bargull | 2007-12-04 11:21:58 +0100 (Tue, 04 Dec 2007) | 28 lines Ge?\195?\164nderte Pfade: M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js Change 20071115-bargull-4 by bargull@dell--p4--2-53 on 2007-11-15 23:20:38 in /home/Admin/src/svn/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk Summary: clickable- and visible-property in IE New Features: Bugs Fixed: (and Technical Reviewer: max QA Reviewer: promanik Doc Reviewer: (pending) Documentation: Release Notes: Details: Depending on in which order you set "visible" and "clickable" attributes in dhtml/IE, you got phantom clickable views resp. non-clickable vi ews at all. This was mainly caused by an unnecessary "else" in "LzSprite.prototype.setVisible(..)". Tests: see testcases at bugreports ------------------------------------------------------------------------ (trunk 4 build r7457)
Pounce tested on the following: XP/IE6/swf/dhtml XP/IE7/swf/dhtml XP/FF2/swf/dhtml OS X/FF2/swf/dhtml OS X/SAF2/swf/dhtml OS X/SAF3/swf/dhtml Linux/FF2/swf/dhtml |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Smaller testcase:
<canvas width="100%" height="40%" bgcolor="0x00aaaa">
<class name="testview" extends="view" visible="false" clickable="true" />
<class name="testview2" extends="view" visible="true" clickable="true" />
<testview id="foo" width="100" height="100" bgcolor="red" oninit="this.setVisible(true)" />
<testview2 id="bar" x="150" width="100" height="100" bgcolor="blue" />
</canvas>
Expected behaviour:
"foo" and "bar" are clickable
Actual behaviour:
only "bar" is clickable