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

Key: LPP-4884
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: P1 P1
Assignee: Unassigned
Reporter: Steve O'Sullivan
Votes: 0
Watchers: 0
Operations

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

All small applications, except weather, will fail to display in IE7/swf.

Created: 12/Oct/07 11:34 AM   Updated: 06/Nov/07 04:32 PM
Component/s: SA - Survey
Affects Version/s: 4.0.5WaffleCone
Fix Version/s: RingDing (4.1), 3.3.3, Cranberry

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 6,891
Runtime: N/A
Fix in hand: False


 Description  « Hide
All small applications, except weather, will fail to display in IE7/swf. They will display if the IE7 window is resized.

The machines that can reproduce this problem are all running flash 9.47 and the IE7 version is 7.0.6000.16544/7.0.5730.11.
  
Mayme's personal machine is running flash 9.28 with the same version of IE7 and does not have the problem.
  
Small applications affected are: Survey, Contact List, Animation, Image Loading, Music and Component Sampler. Weather will load properly regardless of browser window state.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Amy Muntz - 13/Oct/07 03:46 PM
Moving to Cranberry.

Max Carlson - 16/Oct/07 02:32 PM
Author: max
Date: 2007-10-16 14:26:24 -0700 (Tue, 16 Oct 2007)
New Revision: 6877

Modified:
   openlaszlo/trunk/lps/includes/source/lzhistory.js
Log:
Change 20071015-maxcarlson-v by maxcarlson@plastik on 2007-10-15 21:12:58 PDT
    in /Users/maxcarlson/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: UPDATED: Fix display of small applications in IE7

New Features:

Bugs Fixed: LPP-4884

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Reconfigure the styling of iframes so it no longer breaks IE 7.

Tests: Small applications display in IE 7 again in the laszlo explorer, http://192.168.1.122:8080/wafflecone/examples/contactlist/contactlist.lzx and contactlist.html no longer show an iframe.



Modified: openlaszlo/trunk/lps/includes/source/lzhistory.js
===================================================================
--- openlaszlo/trunk/lps/includes/source/lzhistory.js 2007-10-16 21:23:39 UTC (rev 6876)
+++ openlaszlo/trunk/lps/includes/source/lzhistory.js 2007-10-16 21:26:24 UTC (rev 6877)
@@ -40,13 +40,17 @@
             // use an iframe;
             var i = document.createElement('iframe');
             Lz.__setAttr(i, 'id', 'lzHistory');
- Lz.__setAttr(i, 'border', 0);
+ Lz.__setAttr(i, 'frameborder', 'no');
+ Lz.__setAttr(i, 'scrolling', 'no');
+ Lz.__setAttr(i, 'width', '0');
+ Lz.__setAttr(i, 'height', '0');
             document.body.appendChild(i);
+ i = document.getElementById('lzHistory');
+ _this._iframe = i;
+ i.style.display = 'none';
             i.style.position = 'absolute';
- i.style.display = 'none';
- i.style.left = '-1000px';
- _this._iframe = document.getElementById('lzHistory');
- var doc = _this._iframe.contentDocument || _this._iframe.contentWindow.document;
+ i.style.left = '-999px';
+ var doc = i.contentDocument || i.contentWindow.document;
             doc.open();
             doc.close();
             //alert('currstate ' + currstate);


_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Max Carlson - 17/Oct/07 03:04 PM
Author: max
Date: 2007-10-17 15:00:47 -0700 (Wed, 17 Oct 2007)
New Revision: 6891

Modified:
   openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js
Log:
Change 20071015-maxcarlson-a by maxcarlson@plastik on 2007-10-15 15:03:05 PDT
    in /Users/maxcarlson/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: UPDATED: Fix display of small applications in IE7

New Features:

Bugs Fixed: LPP-4884

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Reconfigure the styling of iframes so it no longer breaks IE 7.

Tests: Small applications display in IE 7 again in the laszlo explorer, http://192.168.1.122:8080/wafflecone/examples/contactlist/contactlist.lzx and contactlist.html no longer show an iframe.



Modified: openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js
===================================================================
--- openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js 2007-10-17 19:50:33 UTC (rev 6890)
+++ openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js 2007-10-17 22:00:47 UTC (rev 6891)
@@ -35,13 +35,17 @@
             // use an iframe;
             var i = document.createElement('iframe');
             Lz.__setAttr(i, 'id', 'lzHistory');
- Lz.__setAttr(i, 'border', '0');
+ Lz.__setAttr(i, 'frameborder', 'no');
+ Lz.__setAttr(i, 'scrolling', 'no');
+ Lz.__setAttr(i, 'width', '0');
+ Lz.__setAttr(i, 'height', '0');
             document.body.appendChild(i);
+ i = document.getElementById('lzHistory');
+ _this._iframe = i;
+ i.style.display = 'none';
             i.style.position = 'absolute';
- i.style.display = 'none';
- i.style.left = '-1000px';
- _this._iframe = document.getElementById('lzHistory');
- var doc = _this._iframe.contentWindow.document;
+ i.style.left = '-999px';
+ var doc = i.contentDocument || i.contentWindow.document;
             doc.open();
             doc.close();
             if (_this._currentstate != '') doc.location.hash = '#' + _this._currentstate;


_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Steve O'Sullivan - 06/Nov/07 02:08 PM
Small applications now open properly in IE7 on WXP SP 2, Flash 9.47.

Steve O'Sullivan - 06/Nov/07 03:52 PM
Proper behavior tested in r7124 trunk.

Steve O'Sullivan - 06/Nov/07 04:32 PM
Porper behavior also tested in r7137. Small applications open in IE7 when compiled in swf7.