Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    10
    Vote Rating
    1
    doom123 is on a distinguished road

      0  

    Default Tree in MULTI selection mode does not catches SelectionChangedEvent in some case.

    Tree in MULTI selection mode does not catches SelectionChangedEvent in some case.


    1. Create a tree with MULTI selection mode.
    2. Select 2-3 items with ctrl or shift keys.
    3. Select one of selected items by clicking on it (without ctrl/shift keys) (so other selected items are deselected now)
    SelectionHandler catches SelectionEvent, but
    SelectionChangedHandler DOES NOT catches SelectionChangedEvent, though selection has obviously changed.

    The same actions with ListView work fine.

    Also,
    Neither ListView's nor Tree's BeforeSelectionHandler does not catch BeforeSelectionEvent if the component is not in the SINGLE selection mode. Is that as designed or a bug?

  2. #2
    Sencha User
    Join Date
    May 2012
    Posts
    10
    Vote Rating
    1
    doom123 is on a distinguished road

      0  

    Default


    bump

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Thanks for reporting this - we've made a fix to resolve this in SVN, which will be available in the next release.

    As you noted, it worked correctly in the ListView, because the ComboBox was looking to see if the active item was non-null. Instead, the ComboBox checks if the *list* of selected items is empty to decide if nothing has been selected so that null objects can be selected.

  4. #4
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    6
    Vote Rating
    0
    aryzhov is on a distinguished road

      0  

    Default


    The bug still exists in GXT 3.0.6. I found a workaround and I posted it here: http://www.sencha.com/forum/showthread.php?268363.


Thread Participants: 2