0 Replies Latest reply on Apr 16, 2010 3:08 PM by Jason Szeto

    [svn:fx-trunk] 15522: ComboBox, DropDownList and PopUpAnchor bug fixes

    Jason Szeto Level 3

      Revision: 15522

      Revision: 15522

      Author:   jszeto@adobe.com

      Date:     2010-04-16 15:08:12 -0700 (Fri, 16 Apr 2010)

      Log Message:

      ***********

      ComboBox, DropDownList and PopUpAnchor bug fixes

       

      http://bugs.adobe.com/jira/browse/SDK-25764 - ComboBox will not display first item in dataProvider when dropdown is open

       

      The first item of the dataProvider was the object "Zero". This returns false in an equality check, so I changed the check to compare to undefiend

       

      http://bugs.adobe.com/jira/browse/SDK-25765 - ComboBox does not commit item when closed if Enter key is pressed

       

      Pressing Enter was actually clearing the selection. Fixed ComboBox.applySelection to only commit if the proposed selection is a custom string or if the dropdown is open

       

      http://bugs.adobe.com/jira/browse/SDK-25432 - Spark DropDownList throws RTE when trying to change data provider and open dropdown and use mouse wheel

       

      Added null check

       

      http://bugs.adobe.com/jira/browse/SDK-25132 - Odd rendering of pop up when using PopUpAnchor w/ popUpPosition == center

       

      Rounded off the x/y position of the popUp

       

      QE notes: Add test for PopUpAnchor centered where popup dimensions are odd numbers

      Doc notes: none

      Bugs: SDK-25764, SDK-25765, SDK-25432, SDK-25132

      Reviewer: Kevin

      Tests run: checkintests, ComboBox, DropDownList, PopUpAnchor

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-25764

          http://bugs.adobe.com/jira/browse/SDK-25765

          http://bugs.adobe.com/jira/browse/SDK-25432

          http://bugs.adobe.com/jira/browse/SDK-25132

          http://bugs.adobe.com/jira/browse/SDK-25764

          http://bugs.adobe.com/jira/browse/SDK-25765

          http://bugs.adobe.com/jira/browse/SDK-25432

          http://bugs.adobe.com/jira/browse/SDK-25132

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownCont roller.as