Change hqm-20110427-SW6 by [email protected] on 2011-04-27 09:32:56 EDT
in /Users/hqm/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for bidi text input bug
New Features:
Bugs Fixed: LPP-9920
Technical Reviewer: ptw
QA Reviewer: ffeng
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
Some kind of re-entrant bug in the flash TLF library was happening when you
get a CHANGE event from an input text and
try to operate on the field in the same call stack
solution was to retrieve the changed text in one idle frame, and send the
onchange event to the LFC in another frame
Not pretty but I don't have a better way to diagnose this..
tests are:
verify that you can enter text into edittext field in the bidi sampler
verify the disabled edittext field is disabled
in focus-input.lzx, type more text into the rtl input field which says 'This is
some RTL TLF input text'
and verify that each keystroke is updated in the textfield at the bottom of
screen (verifies onchange events
and that the text attr is getting updated on the field)
Tests:
examples/components/bidi_compoknent_sampler.lzx
test/tlf/focus-input.lzx
Files:
M WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.as
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20110427-SW6.tar