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 4DC4710693 for ; Sun, 23 Mar 2014 19:52:59 +0000 (UTC) Received: (qmail 41429 invoked by uid 500); 23 Mar 2014 19:52:59 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 40829 invoked by uid 500); 23 Mar 2014 19:52:53 -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 40814 invoked by uid 99); 23 Mar 2014 19:52:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Mar 2014 19:52:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Sun, 23 Mar 2014 19:52:47 +0000 Received: from EXHUB04.netplexity.local (172.29.211.24) by smtp02.myhostedservice.com (172.29.211.12) with Microsoft SMTP Server (TLS) id 14.2.347.0; Sun, 23 Mar 2014 15:52:27 -0400 Received: from EXMBX05.netplexity.local ([fe80::cc58:cfe7:ba3b:fae]) by exhub04 ([172.29.211.24]) with mapi id 14.03.0146.000; Sun, 23 Mar 2014 15:52:26 -0400 From: Maurice Amsellem To: "users@flex.apache.org" Subject: RE: No Prompt in TextInput when layoutDirection set to RTL (Mobile) Thread-Topic: No Prompt in TextInput when layoutDirection set to RTL (Mobile) Thread-Index: AQHPROYDRDAr7oWhqkaYMm2vo2MVUprsA36wgABHSoCAAssZIA== Date: Sun, 23 Mar 2014 19:52:25 +0000 Message-ID: <2095F5EBE04D59409DFCE91FFCEBF7AFAF2DB582@EXMBX05.netplexity.local> References: <2095F5EBE04D59409DFCE91FFCEBF7AFAF2DA7EF@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.31] 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 Hi Ori, after investigating a little, it seems that RTL is not supported in= Flex mobile apps: http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c698e85712b301= 1fe73-7fff.html#WS19f279b149e7481c7c94ce7c12b30152f48-7ffc Specs: http://sourceforge.net/adobe/flexsdk/wiki/Mobile%20Text%20Component= s=20 >http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a= 2d98-7ffe.html=20 >http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2= d98-7ffd.html=20 This is because for performance reasons, mobile apps use TextField and subc= lasses, which do not support bidi, wherease FTE/TFL does. However, doing some more tests shows that RTL alphabets (Arabic or Hebrew) = can actually be displayed, but RTL layout is not supported. This is to say that it's not just a problem with TextInput prompt text. It'= s the whole thing that is not working. Do you get the same behavior in your app? That being said, I think RTL support in mobile apps could be fixed, but it = requires some work. You could open a "New feature" JIRA on that (Support for RTL layout in mobi= le app) and vote on it.=20 Maurice=20 -----Message d'origine----- De=A0: Ori 007 [mailto:ori007@gmail.com]=20 Envoy=E9=A0: vendredi 21 mars 2014 22:02 =C0=A0: users@flex.apache.org Objet=A0: Re: No Prompt in TextInput when layoutDirection set to RTL (Mobil= e) Jira: https://issues.apache.org/jira/browse/FLEX-34181 Thanks. On Fri, Mar 21, 2014 at 10:54 PM, Maurice Amsellem < maurice.amsellem@systa= r.com> wrote: > Ori, I have reproduced the issue. Could you please create a JIRA=20 > ticket, as this is something new. > > Note that both ScrollingStageTextInputSkin and StageTextInputSkin are=20 > impacted (same code) but TextInputSkin also has the issue. > > Maurice > > -----Message d'origine----- > De : Ori 007 [mailto:ori007@gmail.com] Envoy=E9 : vendredi 21 mars 2014=20 > 10:14 =C0 : users@flex.apache.org Objet : No Prompt in TextInput when=20 > layoutDirection set to RTL (Mobile) > > Hi Maurice, > > How are you? > > I have a serious bug that I can not find a solution. > When layoutDirection set to RTL to Textinput the prompt text does not=20 > appear. > > In LTR it's works fine. > > Do you have any advice or quick fix to the problem? > > > Code Example: > xmlns:fx=3D"http://ns.adobe.com/mxml/2009" > xmlns:s=3D"library://ns.adobe.com/flex/spark" applicationDPI=3D"160"> = =20 > prompt=3D"Ori" layoutDirection=3D"rtl" top=3D"50"/> > > Screenshot: > http://screencast.com/t/HjNAd7PQaVG > > Regards, > Ori. >