TextInput in iOS gains then immediately loses focus won't open softkeyboard. FocusManager says still

Dev Environment: Flash Builder 4.7<br/>
SDK: Flex 4.6.0 (build 23201) AIR 3.5<br/>
Arguments: -local en_US -swf-version=16<br/>
Testing Platform: iOS 6 on iPad 2
Severe bug, I believe.  Renders iOS apps developed using these technologies utterly unusable.
Situation:  Whenever I touch the TextInput component on the testing platform device, it will do one of two things:
It will perform as it is supposed to.  It gains focus (focusIn event dispatched), a blue focus rect surrounds it, the prompt text is replaced by a flashing cursor, the soft keyboard activates and is displayed (all expected events dispatched).
It will fail.  It will gain focus (focusIn event dispatched), and the blue focus rect will appear briefly and then disappear, the prompt text remains displayed and there is no cursor in the field (focusOut event dispatched). The softKeyboardActivate event is dispatched and immediately the softKeyboardDeactivate event is dispatched.  The keyboard does not appear even briefly.
I can tap tap tap tap and eventually one tap (no different than any other) will be successful and #1 will happen instead of #2.
Here's the oddest thing.  The focusManager tells me that the DisplayObject that has the focus is the same object when the focusIn event is dispatched and after the focusOut event is dispatched (and if I check every 10ms using a timer, the results don't change... the correct DO has focus.
Below the code is the trace output.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                xmlns:mx="library://ns.adobe.com/flex/mx"
                                xmlns:c="components.*"
                                width="100%"
                                creationComplete="creationCompleteHandler()">
        <fx:Declarations>
                <s:DropShadowFilter id="dropShadowFilter" blurX="6" blurY="6" alpha="0.5" distance="6" angle="60" strength=".5" quality="{BitmapFilterQuality.HIGH}"/>
        </fx:Declarations>
        <fx:Script>
                <![CDATA[
                        import flash.filters.BitmapFilterQuality;
                        import mx.utils.ObjectProxy;
                        import spark.skins.mobile.TextAreaSkin;
                        import views.tools.MakeAToolBase;
                        [Bindable]
                        private var pad:Number = 15;
                        [Bindable]
                        public var dataProxy:ObjectProxy;
                        [Bindable]
                        public var v:MakeAToolBase;
                        protected function creationCompleteHandler():void
                                trace("LearnItListItemRenderer FUNCTION creationCompleteHander()");
                                dataProxy = new ObjectProxy(data);
                                dataProxy.choosePictureButton = choosePictureButton;
                ]]>
        </fx:Script>
        <s:layout>
                <s:HorizontalLayout horizontalAlign="center"/>
        </s:layout>
        <s:HGroup id="listItem" gap="33" paddingTop="15" paddingBottom="15" horizontalAlign="center" paddingLeft="15" paddingRight="44"
                          verticalAlign="middle" width="100%" height="210" filters="{[dropShadowFilter]}">
                <s:Group height="100%">
                        <s:Rect height="100%" width="100%" radiusX="5" radiusY="5">
                                <s:fill>
                                        <s:SolidColor color="0xffffff" alpha="1"/>
                                </s:fill>
                                <s:stroke>
                                        <s:SolidColorStroke weight=".5" color="0x000066"/>
                                </s:stroke>
                        </s:Rect>
                        <s:Label text="{dataProxy.numberLabel}" fontSize="32" color="#000072" verticalAlign="middle" verticalCenter="0" paddingLeft="12" paddingRight="12"/>
                </s:Group>
                <c:ChoosePictureButton id="choosePictureButton" height="{listItem.height-pad-pad}" width="{(4*(listItem.height-pad-pad))/3}"/>
                <s:VGroup id="textInputBoxesGroup" height="100%" width="100%">
                        <s:TextInput id="behaviorNameTextInput" color="#000000" textAlign="left" width="100%"
                                                prompt="Enter Behavior Name..."
                                                needsSoftKeyboard="true"
                                                interactionMode="touch"
                                                skinClass="spark.skins.mobile.TextInputSkin"
                                                returnKeyLabel="done"
                                                showPromptWhenFocused="true"
                                                touchBegin="trace('touch');"
                                                softKeyboardActivate=  "trace('#############################    SoftKeyboardActive    #####################################');"
                                                softKeyboardDeactivate="trace('############################# SoftKeyboardDeactivating #####################################');"
                                                softKeyboardActivating="trace('#############################  SoftKeyboardActivating  #####################################');"
                                                focusIn="trace('TEXTINPUT FOCUSIN: '+this.focusManager.getFocus())"
                                                focusOut="trace('TEXTINPUT FOCUSOUT: '+this.focusManager.getFocus())"
                                                creationComplete="{data.behaviorNameTextInput=behaviorNameTextInput;}"
                                                />
                        <s:Spacer id="behaviorSpacer" height="2"/>
                        <s:TextArea id="behaviorDescriptionTextArea"
                                                fontFamily="verdana" fontSize="16"
                                                verticalAlign="top" textAlign="left" width="100%" height="100%"
                                                verticalScrollPolicy="on"
                                                interactionMode="touch"
                                                color="#000000" prompt="Enter Behavior Description..."
                                                softKeyboardType="{SoftKeyboardType.DEFAULT}"
                                                needsSoftKeyboard="true"
                                                showPromptWhenFocused="true"
                                                skinClass="spark.skins.mobile.TextAreaSkin"
                                                creationComplete="{data.behaviorDescriptionTextArea=behaviorDescriptionTextArea}"/>
                </s:VGroup>
                <c:YesNoVerticalButtonsGroup/>
        /s:HGroup>
    </s:ItemRenderer>
Trace output [ edited for brevity ]
    TEXTINPUT FOCUSIN: PictureToolsOnTheMoveMakeIt0.TabbedViewNavigatorApplicationSkin6.tabbedNavigator.TabbedVi ewNavigatorSkin8.contentGroup._PictureToolsOnTheMoveMakeIt_ViewNavigator3.ViewNavigatorSki n35.contentGroup.MakeAToolLearnItView471.SkinnableContainerSkin472.contentGroup.itemList.L istSkin475.Scroller477.ScrollerSkin478.DataGroup476.LearnItListItemRenderer566.listItem.te xtInputBoxesGroup.behaviorNameTextInput
    #############################  SoftKeyboardActivating  #####################################
    ############################# SoftKeyboardDeactivating #####################################
    TEXTINPUT FOCUSOUT: PictureToolsOnTheMoveMakeIt0.TabbedViewNavigatorApplicationSkin6.tabbedNavigator.TabbedVi ewNavigatorSkin8.contentGroup._PictureToolsOnTheMoveMakeIt_ViewNavigator3.ViewNavigatorSki n35.contentGroup.MakeAToolLearnItView471.SkinnableContainerSkin472.contentGroup.itemList.L istSkin475.Scroller477.ScrollerSkin478.DataGroup476.LearnItListItemRenderer566.listItem.te xtInputBoxesGroup.behaviorNameTextInput
    ############################# SoftKeyboardDeactivating #####################################
[  FAILED ATTEMPTS 2 - 22 REMOVED FOR READABILITY ]
    TEXTINPUT FOCUSIN: PictureToolsOnTheMoveMakeIt0.TabbedViewNavigatorApplicationSkin6.tabbedNavigator.TabbedVi ewNavigatorSkin8.contentGroup._PictureToolsOnTheMoveMakeIt_ViewNavigator3.ViewNavigatorSki n35.contentGroup.MakeAToolLearnItView471.SkinnableContainerSkin472.contentGroup.itemList.L istSkin475.Scroller477.ScrollerSkin478.DataGroup476.LearnItListItemRenderer566.listItem.te xtInputBoxesGroup.behaviorNameTextInput
    #############################  SoftKeyboardActivating  #####################################
    #############################    SoftKeyboardActive    #####################################

..and I found this block on  my (flex 4.7) error log
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.debug.core 4 125 2013-03-11 14:44:53.687
!MESSAGE An exception occurred while dispatching debug events.
!STACK 0
java.lang.NullPointerException
at com.adobe.flexide.launching.multiplatform.MultiPlatformDebugPortManager.getPortForLaunchURL(MultiPlatformDebugPortManager.java:73)
at com.adobe.flexide.multiplatform.ios.internal.IOSDebugLaunchListener.handleDebugEvents(IOSDebugLaunchListener.java:70)
at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1117)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1151)
at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:415)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Similar Messages

  • I'm updating my iphone4 to ios7 then my phone suddenly won't open, it only appears the itunes logo. what does that mean?

    i'm updating my iphone4 to ios7 then my phone suddenly won't open. it only appears the itunes logo. what does that mean?

    It means your phone is in recovery mode and you will need to restore it:
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    Cheers,
    GB

  • Hi my emails won't open it just says My account is already added then goes back to the welcome page

    Hi my phone won't open my email account it just keeps saying my account is already added then goes back to the welcome page. I have used emails on this phone for over a year and they normally come straight up, can anyone help?

    If you go into Settings > Mail, Contacts, Calendars and select that email account then is 'mail' currently set 'off' for the account ?

  • IOS app for update to Pages won't open

    I just updated Pages for the iPad.  After updating the app, it appeared with a blue dot next to it and the app would not open. I deleted the app and reinstalled a number of times and it still won't open--so I know that's not the solution. Any ideas besides making an appointment with the Genius people?
    Thanks.

    Perform a "reset" on the device by pressing down and holding the home button and the sleep/wake button for up to 30secs. until you see a black screen with the Apple logo, then release.
    Then test to see if it solved the problem.

  • I just downloaded ios 7 and now my phone won't open, anyone know how I can open it?

    I downloaded ios 7 and at first my phone worked fine, I locked my phone and now I cant unlock it even though when someone calls the phone rings.  Does anyone know how I can fix this?

    Hello there, Mark2s.
    The following Knowledge Base article offers some great steps for troubleshooting your issue with charging your phone:
    iPhone and iPod touch: Charging the battery
    http://support.apple.com/kb/HT1476
    Particularly:
    If your battery doesn't charge, or if your device shows a low-battery image, black screen, or "accessory not supported" alert, follow these steps.
    Inspect the connector at the bottom of the phone:
    Make sure that there are no bent pins in the connector.
    Make sure that the connector is free from debris.
    If there are bent pins or debris, please contact Apple Support.
    Otherwise, continue troubleshooting.
    Make sure that the outlet you're using works.
    Make sure that the Apple USB cable and Apple USB power adapter work.
    Plug the device in to power and let it charge for up to 30 minutes. If you don't have an Apple USB power adapter, try connecting to a computer's high-power USB 2.0 port (not a keyboard). The computer must be on.
    If the device still exhibits an issue, try turning your device off and then on again while connected to power.
    If the issue is persists, please contact Apple Support.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • After updating my iPod to the latest IOS 7 bug fix my music won't open or play!?

    It just shows a blank white screen and then jumps to the home screen and then all by itself it switches back to the music blank again. I am using iTunes Match and have tried enabling and then disabling it. I have tried restarting my iPod several times. Nothing has worked so far.

    - Reset all settings                  
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.                     

  • After updating to iOS 8 notification and control center won't open when unlocked

    Ever since I updated my iPhone 5s to iOS 8, the notification and control center will not open while my phone is unlocked. I checked to see if I had it disabled in settings and it turns out I did not. I switched the Access Within Apps as well as the Access While Locked on and off anyway but still nothing. I can only pull the notification and control center open while my phone is locked... it is extremely annoying. I know I'm not the only one though because my friend who updated to iOS 8 on his 5c was having the exact same problems. Some help would be much appreciated. Thank you!

    So yesterday vibration suddenly started working again, after nearly two weeks with the problem above. I have no idea why, I didn't change any settings and the only app that was updated yesterday was Facebook messenger...

  • The load icon goes round and round but unless I click stop then reload the page won't open Whats up with that?

    Pages will not load quickly unless I click the X to stop then click the refresh icon and the page starts to open but will not completely open unless I do the same thing again click X then click refresh then it works fine. Until of coarse I click a link and I have to repeat the above process over and over again.

    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to install for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • IPhone 5 w/IOS 7.1.2 - Notes app won't open.

    I deleted a single note.  Now the Notes app will not open.  If I press the Notes icon, on the Home screen, the app opens, flashes and then disappears.  If I look on the multitask bar, the Notes app is there showing the last note I viewed, before deleting a note.  If I touch it to open, it opens on the main screen and then disappears!  If I look at the multitask bar again, it is there...... I can repeat the multitask bar view repeatedly!  It's like there is an immediate Home button press happening that closes the Notes app!   What's up?

    I went ahead and just restored my iphone to a new phone and then restored my most recent backup.  Problem resolved!

  • I updated to iOS 6 and now some apps won't open what do I do?

    I need help, adding a new app doesn't fix the problem, neither does syncing.  I have also tried restarting the iPad, nothing seems to work.  I don't want to delete the apps and reinstall because they are games that I have been playing for a while and have gotten very far in them.  Any suggestions?

    You can allow apps to save data in icloud.  Not sure of the procedure, but you should search that.

  • When a photo is viewed in iPhoto 9.6, why is it sharp then immediately goes out of focus?

    When viewing photos (full window), the photo initially is sharp then immediately goes a little out of focus. Thanks to some previous forum responses, a fix is to slightly shift the zoom button to the right, clearing the photo right up. When going through 100+ photos, obviously this is an untenable fix. I assume this is a bug that needs repair.

    As a follow-up, I found that if I hold the left mouse button down while on the zoom button, no matter where it is on the slider, the same effect happens, that is that the photo goes out of focus. Once released, the photo sharpens. This DOES NOT happen when the zoom slider is all the way to the left. There as stated earlier the photo stays out of focus.

  • TextInput loses focus after a collection.refresh()

    Hi!
    I have TextInputs inside AdvancedDataGridHeaderRenderers in my ADG making filters by columns.
    But everytime I press a key (and collection.refresh() is called) to make the filter, the target text input loses focus after the call to the collection.refresh() method.
    The ADG headers inputs have the same focusManager object of my parent IFocusManagerContainer, but they are inacessible by TAB (and they do not TAB to each other).
    A note: My collection.refresh() method is called from inside my ADG override of commitProperties method.
    Any ideas?
    Thanks!

    I'd first make sure you need to make a change that requires a refresh.
    There are various ways to avoid/block refresh. It will depend on your needs.
    There is an API on ICollectionView, there is making certain properties not
    bindable and there is capturing and stopImmediatePropagation on the change
    events themselves.

  • Word 2011 for Mac Book pro - I have found that my cursor disappears sometimes when I click on a toolbar function. I found out it is a bug, that the Mac loses 'focus'. I can correct it temporarily by clicking on Format - Font - Cancel. Any info?

    I have Word 2011 on a Mac Book Pro and have had problems with a dissapearing cursor - it makes editing tricky
    After googling it I found out that there is a bug where the Mac loses focus if you click away from the document - it also does this with italics according to other users.
    I had a play with it and found out that when I click on the toolbar in a document where this happens, the cursor disappears, e.g. changing font colour etc. And then, when I click on Format - Font - Cancel it returns
    I'd be interested if anyone else has a comment to add, please do
    thanks

    BTW (speaking as a Dad of 3 daughters in Grad school) if you don't already have and use a DropBox account, or some other similar online "cloud" based backup of your school documents, you should start doing so immediately. By keeping all of your important documents in the Dropbox folder on your computer, you have instant access to them from any other computer (or iPad), should you be w/o your computer while in for repairs (or if, God forbid, it is stolen). It's free for 2 GB of online storage, which is more than enough for a few years worth of Word documents, etc. (If you get other people to sign up via your email "invitation", then Dropbox gives you even more free storage space.) Every time you close a document, it is updated on the Dropbox servers (encrypted), if it is in the Dropbox folder (assuming you give it a few seconds to update before turning off your computer). Do a google search of "Cloud based storage comparisons" to compare the amount of free space each of the competing services give you.

  • Jframe lose focus with jdk 1.4 beta90

    My jframe has two JInternalFrame. One contains a jtree, another contains a jeditorpane. A jpopup menu will appear, after I click the jtree. After I finish the jpopupmenu action, my jeditorpane can not recieve any keyboard event. The only workaround is to switch to any other application, then click jeditorpane again.
    I trace the status of the JFrame.
    1. JFrame get focus
    2. after click jtree, JFrame lose focus
    3. After finish the jpopup menu action, JFrame should gain focus. but JFrame doesn't get that.
    How can I figure it out. Any advice would be highly appreciated.

    i believe it is a bug of jdk14

  • Active program loses focus

    Hello. I've been playing with a Mac recently. I'm new to Mac, but I've years of Linux experience (so don't feel uneasy about having me muck about in the Terminal with vim). I noticed that on this machine the desktop refreshes very slowly, and when it does the active application changes to Finder.
    The program on-screen doesn't change, but it loses focus. So if my browser is the active application, it loses focus, but its still on-screen and no application appears "over" it. The Finder toolbar also appears in the toolbar across the top of the screen (replacing the toolbar of the app which had focus immediately previous).
    This slow refresh and change of active application takes place about every 90 seconds.
    The only change which I know that happened to the machine was the installation of DivX and Xvid (both from the official homepages). Both have been uninstalled since then. The DivX version was causing unhandled exceptions in Toast 8 Titanium upon launch anyway.

    Hi Adrian, and a warm welcome to the forums!
    Thank you.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for action in Safe Mode...
    I note when I boot this way there seems to be no visual indication that I've done a Safe Boot. Is this to be expected? It seems I have the same issue in Safe Boot mode also.
    I checked the startup items you mentioned, the timestamps on each of the files in those 3 directories are all 2005 - 2008. This problem has only cropped up in the last 24 hours though.
    I note that when Finder becomes the active program that top show `crashdump` is topping the list.
    I'm currently grepping my home directory for "crashdump". (although I suspect its likely its being run as a side effect). Next step, the logs and the man pages I guess.

Maybe you are looking for

  • How can I use OmniPortlet and Web Clipping Portlet?

    How can I use OmniPortlet and Web Clipping Portlet?

  • H.323 Trunk-to-Trunk routing with CUCM 9-10 - Best way to program?

    Looking for some expert guidance on the best way to implement trunk-to-trunk call routing in CUCM.  By "best" I mean user friendly/manageable/efficient etc... Here's the application:  Inbound TDM calls will be hitting a large, H.323 gateway with 10-d

  • Stop command not working

    I have a flash file that includes a video clip. The first two lines of AS3 code say: movie_1.stop(); movie_1.alpha = 0; movie_1 is the clip. The clip does not play when I preview it in flash (CS3). At least not until it has been triggered to play. Th

  • Number to fractional string

    hi .... i am very new to the NI Labview, anybody help me to explain the  number to fractional string, which are used in following block diagram. what is the motto behind using the number to fractional sting and please do not suggest me to read contex

  • Solid Sleep Light

    Last week, my sleep light suddenly went from pulsing normally to staying on and solid from the moment I boot up. I can put the computer to sleep (the hard drive and display spin down, and when I wake it, I get the "wake up" whir and spinning of the H