1 Reply Latest reply: May 27, 2014 3:15 AM by m_mfsi RSS

    Is this a bug in mx:ComboBox ?

    m_mfsi Community Member

      Hi All,


      I'm using a mx:ComboBox control in my extension project for InDesign CS5/CS55.5/CS6 using Extension Builder 2.1, Flash Builder 4.6 and Extension Builder 3.4 SDK.

      When I click my ComboBox control(the text part excluding the down arrow part) after switching application to another and then back to InDesign, the list is shown and then closed quickly. Again if I click on ComboBox then the list is displayed properly.



      Is this a BUG in mx:ComboBox ?

      Please suggest any solutions/workaround to fix the issue.



      <?xml version="1.0" encoding="utf-8"?>

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" historyManagementEnabled="false"




        import mx.collections.ArrayCollection;

        import mx.events.DropdownEvent;

        import mx.events.FlexEvent;

        import mx.events.ListEvent;



        private var cmbBoxItems:ArrayCollection;


        private function onComboBoxClick(event:MouseEvent):void{

        trace('onComboBoxClick() - '+event);



        private function onComboBoxOpen(event:DropdownEvent):void{

        trace('onComboBoxOpen() - '+event);



        private function onComboBoxChange(event:ListEvent):void{

        trace('onComboBoxChange() - '+event);



        private function onComboBoxClose(event:DropdownEvent):void{

        trace('onComboBoxClose() - '+event);




        protected function initializeHandler(event:FlexEvent):void


        cmbBoxItems = new ArrayCollection(["One","Two","Three","Four","Five"]);






        <mx:VBox height="100%" width="100%" verticalAlign="middle" horizontalAlign="center" verticalGap="10">

        <mx:ComboBox  id="testCmbBox" dataProvider="{cmbBoxItems}" click="onComboBoxClick(event)" open="onComboBoxOpen(event)" change="onComboBoxChange(event)" close="onComboBoxClose(event)"/>



        • 1. Re: Is this a bug in mx:ComboBox ?
          m_mfsi Community Member

          Now I'm sure that its a BUG in mx:ComboBox(Mac OS X Lion, InDesign CS5.5) as I'm able to reproduce in Adobe's Kuler panel also as follows,

          1. Open Kuler panel and switch to Browse tab.
          2. Then switch application(Cmd+Tab) and come back to InDesign.
          3. Then click on any combo-box(Highest Rated or All Time).

          We see that the combo-box is not opened for the first time.

          Any help/suggestion/workaround is highly appreciated.