Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    IL, USA
    Posts
    141
    Vote Rating
    0
    tookoo is on a distinguished road

      0  

    Default [FIXED-286][3.x] GroupTabPanel's beforegroupchange event is fired/handled incorrectly

    [FIXED-286][3.x] GroupTabPanel's beforegroupchange event is fired/handled incorrectly


    Ext version tested:
    • Ext 3.x rev 5429

    Adapter used:
    • ext

    css used:
    • only default ext-all.css



    Browser versions tested against:
    • FF3.5 (firebug 1.4.3 installed)

    Operating System:
    • WinXP Pro

    Description:
    • The 'beforegroupchange' event is fired even if the end-user switches tabs in the same group. In addition, return false in the 'beforegroupchange' event handler doesn't prevent the end-user leave the active tab (which in addition causes a weird UI effect).

      These problems can be reproduced in the GroupTabPanel example (http://www.extjs.com/deploy/dev/exam...grouptabs.html). Since I am using it to build the navigation hierarchy in a big project, I would really appreciate if the Ext team (or someone else) can kindly confirm and fix it at the earliest convenience. Thanks.

      In addition, each group tab has a thick black border in IE6.


    Possible fix:
    • not provided

  2. #2
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    IL, USA
    Posts
    141
    Vote Rating
    0
    tookoo is on a distinguished road

      0  

    Default


    And update on this issue? Thanks.

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,065
    Vote Rating
    659
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Confirmed, however it's a bit more complicated than you've described, since the underlying GroupTab still fires a tabchange event.

    I'll put it on the list, but it's probably not the highest priority.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    IL, USA
    Posts
    141
    Vote Rating
    0
    tookoo is on a distinguished road

      0  

    Default


    Yes, the problem is a little bit tricky to describe.

    To be honest, I think the code for GroupTabPanel and GroupTab isn't written and tested well. For example,
    • it provides expandGroup() and toggleGroup(), but not collapseGroup().
    • the GroupTab has an unexpected black border in IE6.
    • setActiveGroup() and setActiveTab() don't have return values, but they may fail if the event handler for beforegroupchange and beforetabchange return false.

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    Hi Tookoo,

    Your issues should be addressed in SVN revision #5760.
    Please let me know if this is what you needed.

Thread Participants: 2