flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: mouse cursor changes from arrow to text selection intermittently
Date Tue, 11 Mar 2014 16:16:57 GMT
You should be able to use capture phase to assign one listener that
listens to all children.

The TLF code is using flash.ui.MouseCursor.

-Alex

On 3/11/14 6:48 AM, "modjklist@comcast.net" <modjklist@comcast.net> wrote:

>Hi Alex, I'm not sure what to implement from your comments. Since I don't
>know when the problem occurs, I don't know when to attempt a solution. Is
>there any code I can include to prevent this from happening (rather than
>reverting back to arrow cursor after it happens)?
>
>If not, is there any design pattern I could use to create a global Event
>Listener for mouseOut events related to TextInput (and also perhaps
>TextArea, etc.), to either revert the mouse icon back to an arrow icon
>using, for example, CursorManager.setCursor() or other means? 99% of the
>time it won't do anything useful, but 1% it will hopefully eliminate this
>problem. 
>
>----- Original Message -----
>
>From: "Alex Harui" <aharui@adobe.com>
>To: users@flex.apache.org
>Sent: Sunday, March 9, 2014 9:50:11 PM
>Subject: Re: mouse cursor changes from arrow to text selection
>intermittently 
>
>Figures. I think Spark cursors are handled in TLF and SDK code and not
>the player. 
>
>I think I see code that will revert the Ibeam if you set read-only mode.
>You could try setting editable=false and back to true and see if that
>helps any. 
>
>The code looks like it expects a mouseOut event but only while the editor
>is in a certain COMPOSE_STATE. That seems error prone to me.
>
>-Alex 
>
>On 3/9/14 11:49 AM, "modjklist@comcast.net" <modjklist@comcast.net>
>wrote: 
>
>>Spark 
>> 
>>----- Original Message -----
>> 
>>From: "Alex Harui" <aharui@adobe.com>
>>To: users@flex.apache.org
>>Sent: Saturday, March 8, 2014 9:31:35 PM
>>Subject: Re: mouse cursor changes from arrow to text selection
>>intermittently 
>> 
>>Spark or mx TextInput?
>> 
>>On 3/8/14 9:02 AM, "modjklist@comcast.net" <modjklist@comcast.net>
>>wrote: 
>> 
>>>While using my web/desktop application (in SDK 4.9, 4.10, 4.11, and
>>>4.12 
>>>nightly, and FP 11.9 and 12), I seem to run into the scenario fairly
>>>often where, after using a text input box, the mouse cursor doesn't
>>>always revert back to the arrow cursor icon (it stays the text
>>>selection 
>>>icon as I navigate elsewhere throughout the app).
>>> 
>>>To restore the arrow mouse icon, I need to click/focus on a TextInput
>>>field again, then remove focus from it.
>>> 
>>>This is intermittent, and so far, I haven't been able to figure out how
>>>to reproduce reliably.
>>> 
>>>Has anyone observed this in their apps (if so, any solutions out
>>>there)? 
>> 
>> 
>
>


Mime
View raw message