Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 481B01042E for ; Thu, 13 Mar 2014 20:37:16 +0000 (UTC) Received: (qmail 6996 invoked by uid 500); 13 Mar 2014 20:37:15 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 6964 invoked by uid 500); 13 Mar 2014 20:37:15 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 6954 invoked by uid 99); 13 Mar 2014 20:37:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 20:37:14 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FRT_ADOBE2,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maurice.amsellem@systar.com designates 66.129.85.153 as permitted sender) Received: from [66.129.85.153] (HELO smtp02.myhostedservice.com) (66.129.85.153) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 20:37:08 +0000 Received: from EXHUB05.netplexity.local (172.29.211.25) by smtp02.myhostedservice.com (172.29.211.12) with Microsoft SMTP Server (TLS) id 14.2.347.0; Thu, 13 Mar 2014 16:36:29 -0400 Received: from EXMBX05.netplexity.local ([fe80::cc58:cfe7:ba3b:fae]) by exhub05 ([172.29.211.25]) with mapi id 14.03.0146.000; Thu, 13 Mar 2014 16:36:46 -0400 From: Maurice Amsellem To: "users@flex.apache.org" Subject: RE: Wrong TextInput RTL behavior after upgrading from 4.11 to 4.12 Thread-Topic: Wrong TextInput RTL behavior after upgrading from 4.11 to 4.12 Thread-Index: AQHPPuf4n1AlWMyEi0mvq8QxvQ5ygprfWDoggABi+AD//746UA== Date: Thu, 13 Mar 2014 20:36:45 +0000 Message-ID: <2095F5EBE04D59409DFCE91FFCEBF7AFAF2D36EA@EXMBX05.netplexity.local> References: <2095F5EBE04D59409DFCE91FFCEBF7AFAF2D3574@EXMBX05.netplexity.local> In-Reply-To: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.211.33] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org So you can use it instead, as long as you are not embedding your text in sc= rolling zone. Would you mind raising a JIRA about the RTL issue ? https://issues.apache.org/jira Maurice=20 -----Message d'origine----- De=A0: Ori 007 [mailto:ori007@gmail.com]=20 Envoy=E9=A0: jeudi 13 mars 2014 21:30 =C0=A0: users@flex.apache.org Objet=A0: Re: Wrong TextInput RTL behavior after upgrading from 4.11 to 4.1= 2 StageTextInputSkin works great. On Thu, Mar 13, 2014 at 8:39 PM, Maurice Amsellem < maurice.amsellem@systar= .com> wrote: > 4.12 uses a new skin that caches the native text as a bitmap when not=20 > in focus (to better handle scrolling) > 4.11 did not do that. > > Can you try with another TextInput that uses 4.11 previous=20 > StageTextInputSkin skin class (the skin class is still there), to see=20 > if the behavior is the same ? > > Maurice > > -----Message d'origine----- > De : Ori 007 [mailto:ori007@gmail.com] Envoy=E9 : jeudi 13 mars 2014=20 > 19:09 =C0 : users@flex.apache.org Objet : Re: Wrong TextInput RTL=20 > behavior after upgrading from 4.11 to 4.12 > > Actually it does not matter what language I write. English also get=20 > the same result. > Another video attached > > http://screencast.com/t/ekJnaDOZ6H > > > > > On Thu, Mar 13, 2014 at 8:00 PM, Ori 007 wrote: > > > Hi Alex > > > > Here is a video the that shows issue. > > http://screencast.com/t/KRoaC9T5 > > > > As you did, i added a second TextInput and when leaving the first=20 > > one, the text jumped to the left side and mirror the letters. > > Please note that i'm using PC but I checked it on an android device=20 > > and it was the same. > > Note that I write in Hebrew (Not Arabic). > > Please be aware that the example includes the "layoutDirection" propert= y. > > > > > xmlns:fx=3D"http://ns.adobe.com/mxml/2009" > > xmlns:s=3D"library://ns.adobe.com/flex/spark" applicationDPI=3D"160"= >=20 > > =20 > > =20 > > > > > > Thanks in advance, > > Ori & Evyatar. > > > > > > > > > > On Thu, Mar 13, 2014 at 6:42 PM, Alex Harui wrote: > > > >> I couldn't reproduce, but I may simply not know how. > >> > >> I added a second TextInput to your example so there is something to=20 > >> change focus to that will cause a focusOut on the first TextInput. > >> Then (on Mac), I ran the app, switched to Arabic, typed "abc" on my=20 > >> keyboard which caused 3 arabic letters to appear on the right side,=20 > >> and the second characters was to the left of the first and third=20 > >> character was to the left of the second. Then I hit tab to focus=20 > >> the second TextInput and everything looked the same on the screen. > >> > >> -Alex > >> > >> On 3/13/14 1:13 AM, "Evyatar Ben Halevi-Arbib"=20 > >> > >> wrote: > >> > >> >Hello, > >> > > >> >After upgrading to version 4.12 TextInput component defined to be=20 > >> >with > >> RTL > >> >direction is mirroring the text after focus-out. > >> >When typing the text looks OK, but when leaving the field the text > >> becomes > >> >LTR and in fact becomes mirror writing. > >> >Note that it worked great on version 4.11. > >> > > >> >The following example can be used to demonstrate the issue - > >> > > >> > > >> > > >> > >> > > >> > xmlns:s=3D"library://ns.adobe.com/flex/spark" > >> >applicationDPI=3D"160"> > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> >Thanks in advance, > >> >Evyatar > >> > >> > > >