2 Replies Latest reply on May 21, 2012 4:39 PM by Rallymax-forum

    SDK 5,5.5,6 bug: exporter param .hidden

    Rallymax-forum Level 3

      fyi,

      I found a bug with the SDK that doesn't seem to be fixed from (at least back to) SDK 5 thru 6.

       

      If you change a parameter to hidden and then unhide it, the gui item doesn't return to it's original location - in fact most the time it pops to the top of the group.

       

      eg

       

           I'm a string: blah blah

           I'm a slider: -------------+--------------- 45

           I'm an int:   [dropbox value 1]

       

      now if you do exMyParamSlider.hidden = kPrTrue and save it back it will disappear as expected.

       

           I'm a string: blah blah

           I'm an int: [dropbox value 1]

       

      But if you now turn it back on  (exMyParamSlider.hidden = kPrFlase) it will most likely be at the top...

       

           I'm a slider: -------------+--------------- 45

           I'm a string: blah blah

           I'm an int: [dropbox value 1]

       

      I hacked around it for the last year by using .disable instead but it sure would be nice to be able to hide it and have it reliably come back to the same location.

      I need to support CS5, CS5.5 so I'll stick with this hack but if I make a CS6 onwards plugin it would be nice to be able to rely on it doing the right thing.

       

      Rallymax.