Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): Mac
Affected OS(s): Mac OS 10.6
Browser: Other (specify version)
Language Found: English
Description
Steps to reproduce:
1. Create a drop down list
2. Add a custom item renderer that would truncate the label when it is too long.
For example you can add Label to the ItemRenderer with:
- showTruncationToolTip = true
- width = 100%
- maxDisplayedLines = 1
4. Run the application
5. Open the DropDownList.
6. Close the DropDownList.
7. Click on the label of the DropDownList to open.
Actual Results:
A toolTip of the first item in the data provider shows up.
Expected Results:
There should be no toolTip
Workaround (if any):
Here is the stack trace from the toolTipStart event:
Main Thread (Suspended)
ToolTipBugInnerClass0/toolTipStarted
ToolTipBugInnerClass0/___ToolTipBugInnerClass0_Label1_toolTipStart
flash.events::EventDispatcher/dispatchEventFunction [no source]
flash.events::EventDispatcher/dispatchEvent [no source]
mx.core::UIComponent/dispatchEvent
mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::targetChanged
mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::checkIfTargetChanged
mx.managers::ToolTipManagerImpl/showImmediately
mx.managers::ToolTipManagerImpl/registerToolTip
mx.managers::ToolTipManager$/http://www.adobe.com/2006/flex/mx/internal::registerToolTip
mx.core::UIComponent/set toolTip
spark.components.supportClasses::TextBase/http://www.adobe.com/2006/flex/mx/internal::setIsTruncated
spark.components::Label/truncateText
spark.components::Label/http://www.adobe.com/2006/flex/mx/internal::composeTextLines
spark.components.supportClasses::TextBase/updateDisplayList
mx.core::UIComponent/validateDisplayList
mx.managers::LayoutManager/validateDisplayList
mx.managers::LayoutManager/doPhasedInstantiation
mx.managers::LayoutManager/doPhasedInstantiationCallback