You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Harui (JIRA)" <ji...@apache.org> on 2014/06/22 16:34:24 UTC

[jira] [Resolved] (FLEX-34219) Tooltip displays in a wrong tag

     [ https://issues.apache.org/jira/browse/FLEX-34219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Harui resolved FLEX-34219.
-------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.12.2

Accepted patch with modifications in 0c91593a8d18f6348ad8434bf48acda148719bc0

Please check your patches for whitespace modification and clean them up before submitting.  Also please try to follow patterns for curly brace placement in the existing source.

I also didn't see a need to use getQualifiedClassName in the topLevelApplication test (which also considered a slow method)

Thanks for the patch.

> Tooltip displays in a wrong tag
> -------------------------------
>
>                 Key: FLEX-34219
>                 URL: https://issues.apache.org/jira/browse/FLEX-34219
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.11.0
>            Reporter: Bi Jane Jia
>            Assignee: Alex Harui
>              Labels: easytest
>             Fix For: Apache Flex 4.12.2
>
>         Attachments: 4.12.1_FLEX-34219.patch, main.mxml
>
>
> STEPS TO REPRODUCE:
> ===================
> 1. Run the attached Main.mxml
> 2. In tag "toolTip", click the checkbox to turn it on.
> 3. Select tag "toolTip2" and move the cursor in the middle textinput, you can see tooltip of "BBBBBBBB" shows up.
> 4. Select tag "toolTip".
> 5. Click the checkbox to turn it off and then click the check box to turn it on.
> RESULT:
> =======
> tooltip of "BBBBBBBB" shows up in tag "toolTip"
> EXPECTED:
> =========
> tooltip for textinput of tag "toolTip2" should not show up in tag "toolTip"
> WORKAROUND:
> ===========
> Do not set tooltip in the change event. Set tooltip in the click event of tag "toolTip2".
> <mx:Canvas  label="toolTip" width="100%" height="100%">
> 	<mx:VBox  width="100%" height="100%">
> 		<mx:VBox>
> 			<mx:VBox>
> 				<mx:TextInput id="Txi" width="140"  height="24" />
> 			</mx:VBox>			
> 			<mx:CheckBox id="ChkBx" height="100%"/>
> 		</mx:VBox>
> 			
> 	</mx:VBox>
> </mx:Canvas>
> 	
> <mx:Canvas  label="toolTip2" width="100%" height="100%" click="changeState()">



--
This message was sent by Atlassian JIRA
(v6.2#6252)