I've used Firefox (2.0.0.14) for testing..

On 5/25/2008 1:06 AM, Max Carlson wrote:
André Bargull wrote:
I noticed while testing:
SWF:
- resizing the html-view gives some graphical artifacts (see attachment)
DHTML (using the "lps/components/extensions/test/html.lzx?lzr=dhtml&lzt=html"):

Which browser are you running in?

- if the edittext has got focus, its text will disappear whenever move the mouse is over the iframe

We should probably blur any active edittexts.

- resizing the 'browser'-like window is pretty hard, because resizing does stop as soon as the mouse is over the iframe (also reproducible before this change)

Yeah, I'm not sure what to do about this. I even try to prevent the mouse from being globally disabled when the button is down! Any ideas you may have are appreciated...

Also, can you file bugs for these issues as you see fit?  Thanks!


On 5/24/2008 3:21 AM, Max Carlson wrote:
Change 20080523-maxcarlson-8 by [EMAIL PROTECTED] on 2008-05-23 17:53:17 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Make html tag act more like a view

New Features: scrollbars attribute can be set to false to hide scrollbars. targets are still watched for placement and width/height changes. In DHTML, iframes are placed inside the view, allowing them to be clipped, placed and have their z-order manipulated with bringToFront() and sendToBack().

Bugs Fixed: LPP-4302 - Laszlo '<html>' Tag creates IFrame whose zIndex overlaps other controls

Technical Reviewer: promanik
QA Reviewer: [EMAIL PROTECTED]
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzSprite.js - Set div id for lzcanvasclickdiv for easy lookup. Call LzMouseKernel.__resetMouse() if a laszlo div is moused over.

LzMouseKernel.js - Add disableMouseTemporarily() API to disable global mouse events until a laszlo div is moused over. Added setGlobalClickable() API to turn global mouse events on/off.

test/html.lzx - Use new view syntax with constraints to size the html tag correctly. Turn history off..

html.lzx - Proxy scrollbars and z values in create() and setPosition(). Add proxy scrollBy(). html now extends view. Add scrollbars attribute which if false will prevent scrollbars on the iframe at init time only. In DHTML, attach the iframe to the sprite and set the default z order to 0. In updatePos() for dhtml, read the view x and y directly and otherwise read it relative to the canvas. For dhtml, set the z based on the html view, otherwise base it on the z of the target. Turn on clickable to catch mouse events in dhtml. bringToFront() and sendToBack() set the z based on the view z for dhtml, otherwise call bringToFront() in the iframemanager. Add scrollBy() method to set the scroll position of the iframe. Add mouse events for dhtml to enable/disable global mouse events and activate iframes.

Tests: lps/components/extensions/test/html.lzx?lzr=dhtml&lzt=html and lps/components/extensions/test/html-swf.jsp run as before. See the bug report for a test case

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
M      lps/components/extensions/test/html.lzx
M      lps/components/extensions/html.lzx
M      lps/includes/source/iframemanager.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080523-maxcarlson-8.tar


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


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


Reply via email to