AIR 3.2 TextInput - first letter gets cleared by iOS

I am using iOS (havent tested on android) and the skinClass="spark.skins.mobile.TextInputSkin" and am having an issue when I go to enter text from the soft keyboard. When the text input is empty and I press on a key on the keyboard, that letter enters the text input but it gets highlighted right away by iOS and then the second letter I type overwrites the first. It just happens for the first letter. I tested the same setup on AIR 3.1 and it does not happen so I am thinking its a bug with 3.2

This is a complete hack, but it has made it possible to ship Air code on iOS with this issue.
We have created a control based on TextInput to use throughout our program that has a change event.  In this change event we do something like the following:
if (this.text.length == 1 && flash.system.Capabilities.version.substr(0,3).toUpperCase() == "IOS")
                                                       this.insertText(this.text);  //This does not fire the change event.
So, if the user presses a key, and there is only 1 key, that key will be doubled.  This is not perceptible, so the selected text is immediately cleared with the same text.  All characters added after the first work correctly.
Note that all of our TextInputs have a Prompt, so if scoregrid is correct, then this code should be changed to also check for Prompt text.

Similar Messages

  • SHIFT key does not work - one the first letter gets capitalized

    When typing a word in ALL CAPS by pressing the SHIFT key, only the first character appears in CAPS. All subsequent characters appear in lower case even though the SHIFT key is continually pressed.
    The workaround is to backspace over the lower case character(s) one at a time as they are typed and type them again in CAPS, or use the CAPS LOCK key.
    This problem surfaced after a string of updates (Combo 10.5.2 update; Graphics update; keyboard firmware update) and I cannot be certain which one (if any) is responsible for the snafu.
    As someone who types a lot, I urgently need to have this fixed. Thanks.
    Andreas

    I solved the SHIFT key problem. As it turns out, it was not the result of any update or buggy piece of software code, but a conscious (albeit erroneous) decision on my part.
    A few days ago, I installed a new version of TypeIt4Me and in perusing the various settings, I selected the “No DOuble CAps” option. I misinterpreted what this option would do. It modifies the behavior of the SHIFT key which I then thought was a bug in my system.
    TypeIt4Me, btw, by Riccardo Ettore, is a wonderful application. I have used it for more than a decade, and I can honestly say it is the most valuable shareware utility I have ever installed on my macs. I strongly and unconditionally recommend it to all mac users.
    Andreas

  • Data gets cleared when i switch from one tab to other in SubTabLayout

    Hi,
    I have created a PageLayout with with region style SubTabLayout in it.
    I have created two tabs for this SubTabLayout which is using same VO.
    I have few MessageTextInputs type items on both the tabs.
    After entering data into these items of one tab, go to another tab and come back to first tab, data i entered in items on first tab get cleared.
    Can you please help me what setting should i have to do to keep the data in those items even i keep switching the tabs.
    Thanks
    Pavan

    Hi Sumit,
    can you please make me clear.
    my ProcessRequest has the following code.
    EmployeeAMImpl am = (EmployeeAMImpl)pageContext.getApplicationModule(webBean);
    String canid = pageContext.getParameter("param");
    EmpDetailsVOImpl vo= am.getEmpDetailsVO1();
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,canid);
    vo.setMaxFetchSize(-1);
    vo.executeQuery();
    thanks
    Pavan

  • It appears that I can not share documents between my iMacs and mac air without first opening document in an IOS device.  Is this correct?  If so then iCloud for me is a giant step backward especially since idisk will be discontinued next year.

    It appears that I cannot share documents between my iMacs and and Mac air using icloud without first opening document in and IOS device.  Is this true.  If so, then icould is petty much worthless for me, especially since idisk will be discontinued next year.

    jack198 wrote:
    You are correct.  However, a document can not be opened by another computer unless the document has first been open by an iDevice.
    iwork on iOS uses different file formats ( *.tef ) then iwork09 on Mac ( *.key , *. number , *.page ).
    Uploaded documents to icloud.com must first be updated to the *.tef format and then re-written to the cloud system. The online service behind the iwork web-app does the re-conversion to Mac formats, pdf or Microsoft office. All that is happening "in the cloud", not on your Mac as he misses the engine to do the transcoding from the *.tef to the other formats. Mac simply does not know what *.tef is.

  • I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click. How do I get version 4 to do this? Thanks.

    I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click.
    How do I get version 4 to do this?
    Thanks.

    The new but not-ready-for-prime-time autocomplete method searches for matches that contain the entered text, not just ones that begin with the string. Your options are:
    1) type in longer strings that narrow the search
    2) use an add-on to search just the beginnings:
    https://support.mozilla.org/en-US/questions/1037469
    3) install an older version of TB:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • Trouble with slow Macbook Air. I have first generation MacBook Air and have a hard time keeping hard drive from being full. Right now, I have almost 5 gigs available, but mac is slow and I keep getting color wheel when I use Mail. Any suggestions?

    Trouble with slow Macbook Air. I have first generation MacBook Air and have a hard time keeping hard drive from being full. After trashing many docs, I have almost 5 gigs available, but mac is slow and I keep getting color wheel when I use Mail. I'd like to install Lion, but now I'm afraid it will slow down my machine even further. Do I have enough free hard disc space? Is Mail problem related to free hard disc space? Thanks for your help!

    7gb of free disc space is required to install Lion.  Read this about how to free up disc space: http://pondini.org/OSX/DiskSpace.html.  Also, advice on how to speed up your mac: http://www.maclife.com/article/feature/25_ways_speed_your_mac

  • Getting the autocomplete setting to work by typing the first letter of a word

    Before I installed Firefox 5.0, I had made it so that whenever I visited a website that remembered an account/password of mine, this happened:
    1.- It asked for my master password.
    2.- After entering it, I would click on the form field and then type in the FIRST LETTER of the account.
    3.- When entering that exact first letter, Firefox would suggest in a drop-down menu the account or accounts that started with that letter on that particular site, e.g.: say I have a Twitter account that is "koko999". If I went to twitter.com and entered the letter "k" in the form field (after entering the master password), Firefox would suggest the account "koko999" in the drop-down menu.
    4.- After selecting the account that I desired from the drop-down menu, Firefox would automatically autocomplete the password.
    5.- Then, if I closed Firefox, all my active accounts would close/sign out. So, if afterwards I opened Firefox, I would have to repeat from Step 1 if I wanted to use an account, e.g.: if I closed FF while having my Twitter account logged in, and then opened FF again, I would have to start from Step 1.
    Now, I had this setting for a bunch of different websites. After installing Firefox 5.0, this configuration vanished or something. Now, when entering the master password, Firefox autocompletes EVERYTHING. Say, using the example from before, that I go to twitter.com. Firefox asks for the master password, I enter it and then the ID/password for the twitter account automatically fills in without me entering any letter in the form field. And I do not want Firefox to do that!
    So, I'm asking for help. I know that what I what to do is not impossible, I just can't find the way to do it! I kinda need the exact steps. Thanks a lot!

    See:
    * http://kb.mozillazine.org/Password_only_filled_after_entering_user_name
    * http://kb.mozillazine.org/signon.autofillForms (false)
    If you are in Private Browsing then Firefox wont fill the names and passwords automatically.
    You can set the pref <b>browser.sessionstore.privacy_level</b> to 2 (never) or 1 (non-HTTPS, default in Firefox 3 versions) on the <b>about:config</b> page to disable saving cookies via session restore.
    * http://kb.mozillazine.org/browser.sessionstore.privacy_level
    You can also use [[Clear Recent History]] to clear the "Active Logins" when you close Firefox.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    You can use the Filter bar at to top of the about:config page to locate a pref more easily.

  • How can I get Mail to capitalise the first letter of a sentence?

    Hello all,
    this is my first time using apple Support Community.  i am a new apple user and have just got my first MacBookPro (its wonderful).  however, i am having some difficulties. 
    How can i get Mail to capitalize the first letter of a sentence and also capitalize 'i' as 'I' automatically?
    Also, how can i get apps like Pages to do the same? and for that matter typing into internet sites like this one? look at the lack of automatic punctuation!!
    Thank you all for any advice and tips you may have. 
    Paul.

    I don't think whether it's easier or not is really an issue.  The problem is that all of these wonderful technologies are taking away our understanding of how to communicate in writing.  It's not a matter of being lazy and not "wanting" to do it, but rather getting to a point where many people "can't" do it.
    I certainly wasn't pointing any fingers.  I use a calculator (or computer if I happen to be on one at the time) to do the most basic math calculations.  I can be out to lunch with co-workers and we have to pull out a calculator to split a bill 4 ways.  I went through school at a time when calculators were not permitted.  So, at one time, I could have easily done all of that stuff in my head.  So far as math goes, my mind has turned to mush a long time ago.  I doubt I could work my way through a long division problem at this point... even if I sat there and really tried.
    Computers were not generally consumer items when I was growing up.  So I didn't grow up in a world with spell checking.  I have certainly grown to use it though and I'm sure my ability to spell properly has diminished somewhat because of it.  I tend to be less careful when typing something out.  If I'm not sure of the spelling on something, I just let my computer either fix it or give me a suggestion for the corrected spelling.  Fortunately, I grew up having to rely on my own ability to spell, so with that foundation, I tend to do fairly well when it comes to spelling.
    We're at a point now where systems can correct grammar and sentence structure.  I think all of these are great tools to help us out, but they shouldn't be used to take the place of actually knowing how to do things.  Having said that, I'm fairly sure that is exactly what will happen.  Just as today, I rely almost entirely on some form of electronics for everyday math, I'm sure people growing up today with expert systems able to correct everything will rely on those equally.

  • How to get the first letter in Name as INITAL

    I am trying to put the first letter of first name as INITIAL in a sp column but I am not able to get the exact result. Could anybody help me with that
    TIA

    Thanks for the reply
    But where do I find the LEFT in the formula field

  • How can I get rid of the drop down suggestion box that appears as soon as I type the first letter in the address box?  Runnung 7.1.2

    How can I get rid of the drop down suggestion box that appears as soon as I type the first letter in the address box?  Runnung 7.1.2

    Writelady,
    I do not know of any such option. I don't think that it is even possible at this time, however it doesn't mean that maybe sometime in the future Apple or someone else will make a way to do such as your request.
    I do however think that you should let Apple know your opinion if you have not done such yet. You can give them product feedback at the following link. https://www.apple.com/feedback/safari.html
    I hope that this helps,
    -Weston

  • How do I get my new mac to auto cap the the first letter in a sentence?

    can some tell me how to get my new mac to auto capitalise the first letter of each sentence?

    Quick answer, Pages 5.0 no longer does this. Frustrating! If you have Pages 4.3, it can do it.
    Also, check out the More Like This column on the right. Some people have the same question and you might find some good tips there.

  • Formula for getting first letter of the string

    Post Author: jmmj
    CA Forum: Formula
    Hi, I have a problem to get the first letter of the string.  I need to compare first letter first and then change the rest of string to number as unit cost for calculation.  For example, I have string K100, C200,...     if first letter = K then 0 else if first letter = C then tonumber200..... I use CRXI, any assistance will be appreciate.jmmj 

    Post Author: jmmj
    CA Forum: Formula
    It works, thanks Kai!But when I tried to print the report, there are multiple lines shown same invoice number but different unit price. My formular is: IF {OEINPR3.COINTYPE} = 2 OR CCur({OEINPR3.LINETYPE}) = 1  //line type 1 for item,  2 for misc. charge THEN(    IF {OEINPR3.COIN}&#91;1&#93; = "K" OR {OEINPR3.COIN}&#91;1&#93; = "N"  THEN        TONUMBER(MID({OEINPR3.COIN},2,20))    ELSE 0)ELSE      2 //for testing only The result I have: Line#    Inv#    unitprice    total1          IN001    0.00     10.00            IN001   10.00     10.00  2          IN002    0.00     20.00             IN002    20.00     20.00.......The second line of each invoice is correct. How can I print just one line for each invoice which is correct? Thanks!jmmj  

  • I have a new MacBook Air.  When I first got it, I migrated some of my files from my PC to the MacBook Air with no issues.  Now, I',m trying to migrate more documents, music, etc. and migration assistant won't get past "Looking for Other Computers."  Why?

    I have new MacBook Air. When I first got it, I migrated some of my files from my PC to the MacBook Air without any problems.  Now I'm trying to migrate more files, music, etc. and I keep getting the continuous spining circle with "Looking for Other Computers."  I've tried everything and for some reason it is not finding my PC. What am I doing wrong?

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • In Pages, when I hit the return button, the first letter on the new line is not capitalises. How do I get it to capitalise automatically?

    In Pages, when I hit the return button, the first letter on the new line is not capitalises. How do I get it to capitalise automatically?

    Right click the Back button and choose the page you want to go to from the list.
    '''N.B.''' I noticed that your Flash installation is out of date which exposes your system to attack. See: http://www.adobe.com/support/security/bulletins/apsb11-18.html<br><br>
    Update via http://get.adobe.com/flashplayer/

  • Interest doc getting cleared for first due installment instead of the last

    We are creating loans using transaction EK25. There is a problem with the clearing of interest documents. In our scenario, we are clearing the last installments whenever there is an overpayment. But the interest document is getting cleared for the first due installment.  How can we make sure that interest documents are cleared for the last installments. Any insights or information on this?
    Edited by: PraveenGouri on Sep 13, 2011 1:18 PM
    Edited by: PraveenGouri on Sep 13, 2011 1:19 PM
    Edited by: PraveenGouri on Sep 13, 2011 1:19 PM

    Hi,
    Is it a possibility that Interest Documents are created with Clearing restriction which is removed only when next installment is created. This way, your interest document won't get cleared until next installment is created.
    Ravi

Maybe you are looking for