Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-18 Thread Alex Harui
Spark or MX?  If Spark, then maybe they can’t handle non-TextFields getting 
focus?


On 9/17/12 8:33 AM, Wouter Schreuders wschreud...@gmail.com wrote:






Hi All

I'm busy testing our application in the windows 8 store app browser and I've 
noticed that the keyboard automatically appears when you click on a flash text 
input but not when you click on a flex text input. I'm guessing that MS are 
doing some kind of event detection which invokes the onscreen keyboard but that 
they didn't do the same thing for flex text inputs. I've also checked it seems 
that one cannot invoke the keyboard manually with javascript.

Has anyone run into this problem before and found a solution? I've also noticed 
that it DOES bring up the keyboard if you have set displayAsPassword=true for 
some reason.

Has anyone got any idea why this is happening and how I can work around/solve 
it?

Thanks

Wouter






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-18 Thread Wouter Schreuders
Hi Alex

The problem occurs with the spark RichEditableText therefore also textInput
(not for MX:textInput). I set up a little test inside of windows 8 metro
where traced out all the events for both a normal textInput and a textInput
with displayAsPassword=true and they are firing identical events. The one
with displayAsPassword=true invokes the keyboard perfectly everytime.
I've also extended the RichEditableText class and overwritten some of the
methods that are dependant on the displayAsPassword flag to see if that
makes any difference but no luck.


On 18 September 2012 21:50, Alex Harui aha...@adobe.com wrote:

 **


 Spark or MX?  If Spark, then maybe they can’t handle non-TextFields
 getting focus?



 On 9/17/12 8:33 AM, Wouter Schreuders wschreud...@gmail.com wrote:






 Hi All

 I'm busy testing our application in the windows 8 store app browser and
 I've noticed that the keyboard automatically appears when you click on a
 flash text input but not when you click on a flex text input. I'm guessing
 that MS are doing some kind of event detection which invokes the onscreen
 keyboard but that they didn't do the same thing for flex text inputs. I've
 also checked it seems that one cannot invoke the keyboard manually with
 javascript.

 Has anyone run into this problem before and found a solution? I've also
 noticed that it DOES bring up the keyboard if you have set
 displayAsPassword=true for some reason.

 Has anyone got any idea why this is happening and how I can work
 around/solve it?

 Thanks

 Wouter






 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui

  



Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-18 Thread Alex Harui
I would break it down to an AS-only test where you set focus to a Sprite and 
see if you get the keyboard.

Which version of player are you using?  Is metro officially supported?


On 9/18/12 1:11 PM, Wouter Schreuders wschreud...@gmail.com wrote:






Hi Alex

The problem occurs with the spark RichEditableText therefore also textInput 
(not for MX:textInput). I set up a little test inside of windows 8 metro where 
traced out all the events for both a normal textInput and a textInput with 
displayAsPassword=true and they are firing identical events. The one with 
displayAsPassword=true invokes the keyboard perfectly everytime. I've also 
extended the RichEditableText class and overwritten some of the methods that 
are dependant on the displayAsPassword flag to see if that makes any difference 
but no luck.


On 18 September 2012 21:50, Alex Harui aha...@adobe.com wrote:





Spark or MX?  If Spark, then maybe they can’t handle non-TextFields getting 
focus?




On 9/17/12 8:33 AM, Wouter Schreuders wschreud...@gmail.com 
http://wschreud...@gmail.com  wrote:






Hi All

I'm busy testing our application in the windows 8 store app browser and I've 
noticed that the keyboard automatically appears when you click on a flash text 
input but not when you click on a flex text input. I'm guessing that MS are 
doing some kind of event detection which invokes the onscreen keyboard but that 
they didn't do the same thing for flex text inputs. I've also checked it seems 
that one cannot invoke the keyboard manually with javascript.

Has anyone run into this problem before and found a solution? I've also noticed 
that it DOES bring up the keyboard if you have set displayAsPassword=true for 
some reason.

Has anyone got any idea why this is happening and how I can work around/solve 
it?

Thanks

Wouter






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui