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

Key: LPP-4916
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: P0 P0
Assignee: Unassigned
Reporter: Robert Yeager
Votes: 1
Watchers: 1
Operations

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

modaldialog cannot be dragged w/ IE7 DHTML in trunk build 6836

Created: 16/Oct/07 01:15 PM   Updated: 13/Dec/07 01:48 PM
Component/s: Kernel - DHTML
Affects Version/s: 3.3.3, RingDing (4.1), 4.0.6/Jujube
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

File Attachments: 1. File great_clickable_test.lzx (27 kb)

Image Attachments:

1. great_clickable_test.png
(0.2 kb)

2. great_clickable_test_not.png
(0.2 kb)

Severity: Major
Fixed in Change#: 7,440
Fixed in branch: trunk
Runtime: DHTML
Fix in hand: False


 Description  « Hide
The following code presents a modaldialog that can be dragged around in SWF and Firefox DHTML, but not IE7 DHTML, with trunk build 6836:

<canvas width="100%" height="100%" validate="false" debug="false" proxied="false" bgcolor="0x00aaaa">
<modaldialog width="200" height="200" title="test" oninit="this.open()">
<view width="100%" height="100%" bgcolor="red"/>
</modaldialog>
</canvas>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
André Bargull - 12/Nov/07 04:12 PM
Also reproducible in IE6.

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

André Bargull - 15/Nov/07 11:59 AM
attached testcase covering a few permutations of visible vs clickable

André Bargull - 19/Nov/07 12:16 PM
LPP-4268 and LPP-4919 are two other variations of this DHTML-Kernel bug.

André Bargull - 01/Dec/07 09:27 AM
LPP-3539 and LPP-5174 are dups, too.

André Bargull - 01/Dec/07 03:14 PM
And another dup: LPP-5179

Dan Swaney - 03/Dec/07 07:14 AM
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 LPP-5179 to repro the problem. The previous attachment was bad.)

André Bargull - 04/Dec/07 02:29 AM
------------------------------------------------------------------------
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:
LPP-4916 - modaldialog cannot be dragged w/ IE7 DHTML in trunk build 6836
(and LPP-3539, LPP-4268, LPP-4919, LPP-5174, LPP-5179)

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


------------------------------------------------------------------------

Mamye Kratt - 13/Dec/07 01:48 PM
(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