<html>
<body>
Approved!<br><br>
This example shows there is still something wonky going on when you try
and select the inputtext after moving between the modal dialog and the
canvas. It works much better than the current code!<br><br>
<br>
&lt;canvas&gt; <br>
&nbsp; &lt;simplelayout axis=&quot;y&quot;
spacing=&quot;5&quot;/&gt;<br>
&nbsp; &lt;inputtext width=&quot;100&quot;
bgcolor=&quot;0xeeeeee&quot;/&gt; <br>
&nbsp; &lt;button onclick=&quot;md.open();&quot;&gt;Show Modal
Dialog&lt;/button&gt; <br>
&nbsp; &lt;modaldialog id=&quot;md&quot; width=&quot;200&quot;
height=&quot;100&quot; title=&quot;Modal Dialog&quot;&gt; <br>
&nbsp;&nbsp;&nbsp; &lt;simplelayout axis=&quot;y&quot;
spacing=&quot;5&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;inputtext width=&quot;100&quot;
bgcolor=&quot;0xeeeeee&quot;/&gt; <br>
&nbsp;&nbsp;&nbsp; &lt;button
onclick=&quot;parent.close()&quot;&gt;OK&lt;/button&gt; <br>
&nbsp; &lt;/modaldialog&gt; <br>
&lt;/canvas&gt; <br><br>
<br>
<blockquote type=cite class=cite cite="">The testcase at the top of
LPP-4916 works for me in IE 6 and 7.&nbsp; Approved!<br>
&nbsp;<br>
André Bargull wrote:<br>
&gt; Ok, here is my next/last attempt to fix LPP-4916: <br>
&gt;
<a href="http://svn.openlaszlo.org/openlaszlo/patches/20071115-bargull-4.tar">
http://svn.openlaszlo.org/openlaszlo/patches/20071115-bargull-4.tar</a>
<br>
&gt; This time, I tried to bind __LZclick's display-style on the
visibility <br>
&gt; of a sprite, in belief this may help to get around the LPP-3307
issues..<br>
&gt; (dhtml/IE6 is working and dhtml/IE7 isn't working, but ie7 should
<br>
&gt; amend ie6, shouldn't it?)<br>
&gt; <br>
&gt; If this change isn't working either [under dhtml/IE7], I guess Max
<br>
&gt; should give some input on the changes for LPP-3307, especially on
<br>
&gt; &quot;LzSprite.prototype.setVisible(..)&quot;.<br>
&gt; <br>
&gt; This is the current (erroneous) state of<br>
&gt; &quot;LzSprite.prototype.setVisible(..)&quot;:<br>
&gt; ---<br>
&gt; [...]<br>
&gt; if (this.__LZclick &amp;&amp; this.quirks.fix_ie_clickable) {<br>
&gt;&nbsp;&nbsp;&nbsp; /* we won't change __LZclickdiv's
display-style<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; * as soon as we have got a __LZclick-div
(ie-only)<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; * =&gt; buggy!<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; */<br>
&gt;&nbsp;&nbsp;&nbsp; this.__LZclick.style.display = v ? '' : 'none'; }
else {<br>
&gt;&nbsp;&nbsp;&nbsp; this.__LZclickdiv.style.display = v ? 'block' :
'none'; } [...]<br>
&gt; ---<br>
&gt; <br>
&gt; On 12/2/2007 4:43 AM, Philip Romanik wrote:<br>
&gt;&gt; I tried your new changeset but I'm seeing the same behavior in
IE7/dhtml.<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt;&gt; The application from LPP-3307 is working for me in IE6/dhtml
with <br>
&gt;&gt;&gt; the previous changeset...<br>
&gt;&gt;&gt; May you try this one (updated):<br>
&gt;&gt;&gt;
<a href="http://svn.openlaszlo.org/openlaszlo/patches/20071115-bargull-4.tar">
http://svn.openlaszlo.org/openlaszlo/patches/20071115-bargull-4.tar</a>
<br>
&gt;&gt;&gt;&nbsp; <br>
&gt;&gt;&gt; - André<br>
&gt;&gt;&gt;&nbsp; <br>
&gt;&gt;&gt; On 12/1/2007 7:40 PM, Philip Romanik wrote:<br>
&gt;&gt;&gt; &gt; The change fixes LPP-3539, but it breaks the app from
LPP-3307 (as <br>
&gt;&gt;&gt; &gt; well as the weather app) in IE7/dhtml.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; The app from LPP-3307 is:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; &lt;canvas height=&quot;200&quot;&gt;<br>
&gt;&gt;&gt; &gt;&nbsp;&nbsp; &lt;view clickable=&quot;true&quot;
width=&quot;300&quot; height=&quot;200&quot;&gt;<br>
&gt;&gt;&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;inputtext x=&quot;50&quot;
width=&quot;175&quot; bgcolor=&quot;0xeeeeee&quot;/&gt;<br>
&gt;&gt;&gt; &gt;&nbsp;&nbsp; &lt;/view&gt;<br>
&gt;&gt;&gt; &gt; &lt;/canvas&gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; In IE7/dhtml the inputtext cannot be selected. If I
remove the <br>
&gt;&gt;&gt; &gt; changeset, LPP-3307 works again.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; Still waiting for your reviews.<br>
&gt;&gt;&gt; &gt;&gt; [This change resolves LPP-3539, LPP-4268, LPP-4916,
LPP-4919 and <br>
&gt;&gt;&gt; &gt;&gt; LPP-5174.]<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; -------- Original-Message --------<br>
&gt;&gt;&gt; &gt;&gt; Subject:&nbsp;&nbsp;&nbsp; For Review: Change
20071115-bargull-4 Summary: clickable-<br>
&gt;&gt;&gt; &gt;&gt; and<br>
&gt;&gt;&gt; &gt;&gt; visible-property in IE<br>
&gt;&gt;&gt; &gt;&gt; Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thu, 15
Nov 2007 23:36:11 +0100<br>
&gt;&gt;&gt; &gt;&gt; From:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; André
Bargull &lt;a.bargull@intensis.de&gt;<br>
&gt;&gt;&gt; &gt;&gt; To:&nbsp;&nbsp; max@laszlosystems.com,
promanik@laszlosystems.com<br>
&gt;&gt;&gt; &gt;&gt; CC:&nbsp;&nbsp; laszlo-dev@openlaszlo.org<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Change
20071115-bargull-4 by bargull@dell--p4--2-53 on<br>
&gt;&gt;&gt; 2007-11-15<br>
&gt;&gt;&gt; &gt;&gt; 23:20:38 in
/home/Admin/src/svn/openlaszlo/trunk<br>
&gt;&gt;&gt; &gt;&gt; for
<a href="http://svn.openlaszlo.org/openlaszlo/trunk" eudora="autourl">
http://svn.openlaszlo.org/openlaszlo/trunk</a><br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Summary: clickable- and visible-property
in IE New Features:<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Bugs Fixed:<br>
&gt;&gt;&gt; &gt;&gt; LPP-4916 - modaldialog cannot be dragged w/ IE7
DHTML in trunk <br>
&gt;&gt;&gt; &gt;&gt; build<br>
&gt;&gt;&gt; &gt;&gt; 6836<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Technical Reviewer: max<br>
&gt;&gt;&gt; &gt;&gt; QA Reviewer: promanik<br>
&gt;&gt;&gt; &gt;&gt; Doc Reviewer: (pending)<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Documentation:<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Release Notes:<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Details:<br>
&gt;&gt;&gt; &gt;&gt; Reverting parts of changesets rev. #3457 and rev.
#3460 to fix<br>
&gt;&gt;&gt; LPP-4916.<br>
&gt;&gt;&gt; &gt;&gt; These changesets seems to be unnecessary (at least
now), because <br>
&gt;&gt;&gt; &gt;&gt; removing it does not revive the bug at LPP-3307
(Max might give <br>
&gt;&gt;&gt; &gt;&gt; more infos to LPP-3307).<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Tests:<br>
&gt;&gt;&gt; &gt;&gt; see testcases at bugreport<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Files:<br>
&gt;&gt;&gt; &gt;&gt; M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; Changeset:<br>
&gt;&gt;&gt; &gt;&gt;
<a href="http://svn.openlaszlo.org/openlaszlo/patches/20071115-bargull-4.t">
http://svn.openlaszlo.org/openlaszlo/patches/20071115-bargull-4.t</a><br>
&gt;&gt;&gt; &gt;&gt; ar<br>
&gt;&gt;&gt;&nbsp; <br>
&gt; <br>
&nbsp;<br>
--<br>
Regards,<br>
Max Carlson<br>
OpenLaszlo.org</blockquote></body>
</html>