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

Key: LPP-5430
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P0 P0
Assignee: Max Carlson
Reporter: Dr Senior
Votes: 0
Watchers: 1
Operations

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

Incompatibilities between inputtext and tabelement in IE

Created: 13/Feb/08 04:02 AM   Updated: 19/Jun/08 03:43 PM
Component/s: Components - base
Affects Version/s: Legals, RingDing (4.1)
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Severity: Critical
Fixed in Change#: 9,811
Runtime: DHTML
Flags: External
Fix in hand: False


 Description  « Hide
Try this testcase in IE 7 (I haven't tested on 6). For us, the button becomes unclickable when placed inside a tabelement which also contains an inputtext. Infact, the inputtext and tabelement combo seem to cause havoc in lots of ways.

<canvas>

<tabslider id="info" width="400" x="0" y="25" height="500">
<tabelement text="One" selected="true">
<text> asdlfkja slkdfjalskdfj lkasdf </text>
</tabelement>
<tabelement text="Three">
<button> This buttons works </button>
</tabelement>
<tabelement text="Four">
<inputtext id="registeremail" bgcolor="0xeeeeee">
Some text which you can't mark in IE
</inputtext>
<button y="150"> The inputtext makes me unclickable </button>
</tabelement>
</tabslider>
</canvas>

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dr Senior - 13/Feb/08 04:06 AM
Begging pardon... I forgot to mention that the problem only arises compiling to DHTML

André Bargull - 13/Feb/08 06:31 AM
reproduced in trunk rev. #8005 in IE6 and IE7 (DHTML)

notes for reproducing:
- go directly to the 3rd tabelement (labeled "Four")
- click on the btn
- cannot click again on the btn
- clicking everywhere expect from the inputtext won't restore btn-click behaviour (and except from changing the tabelement..)
- however, if you click on the inputtext, the button becomes clickable again

Other:
user's note that you cannot mark the inputtext couldn't be reproduced

Dr Senior - 13/Feb/08 06:36 AM
Interesting, clicking on the inputtext does *not* make the button clickable again for us.

Also, are you aware than closing and then re-opening the tab will tend to make the button clickable, *so long as the mouse has not triggered any events on the inputtext*.

André Bargull - 13/Feb/08 06:49 AM
>Interesting, clicking on the inputtext does *not* make the button clickable again for us.
Which OL-version are you using?

More fun in IE7:
When start the app, go directly to the 3rd tab and click on the btn, IE will crash (but I must be quite fast to accomplish this and it doesn't happen always, argh)

Dr Senior - 13/Feb/08 07:21 AM
We've only just started looking into using the DHTML runtime professionally, and unfortunately, are finding some behaviours which for us are disasterous.

I suspect our "enemy number one" may be related to the bug we're discussing... but I'm not sure if it is or should be opened as a new issue.

In a nutshell, it will be common for people to try to layer additional flash based applications over DHTML pages generated in OL.

The nightmare (yet another) in Internet Exploder is that these applications *stop receiving mouse input* when placed on DHTML pages generated by OL in IE 7. It is possible to position the mouse in one position and click several times to trigger events in the overlayed application, but *the moment the mouse moves* then something (OL) starts greedily capturing all the events.

This has something to do with the core of OL, not any of its components. Is this a known problem? Should I report this seperately, or should it just be treated as something which may be relevant to this issue and should be explored?




André Bargull - 13/Feb/08 07:37 AM
>Should I report this seperately, or should it just be treated as something which may be relevant to this issue and should be explored?

It'd be great, if you open a separate task to investigate this defect, at best with a small testcase, thanks!

Max Carlson - 19/Jun/08 03:43 PM
r9811 | max | 2008-06-19 15:42:34 -0700 (Thu, 19 Jun 2008) | 16 lines
Changed paths:
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Change 20080619-maxcarlson-F by maxcarlson@Roboto on 2008-06-19 15:02:25 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Prevent mouse from being locked off in IE

Bugs Fixed: LPP-5430 - Incompatibilities between inputtext and tabelement in IE

Technical Reviewer: promanik
QA Reviewer: a.bargull@intensis.de

Details: Enable global mouse events whenever the master app div is moused over.

Tests: See abargull's instructions in LPP-5430