Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-2105 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    Webrat is on a distinguished road

      0  

    Default BorderLayoutData .setFloatable(false) doesn't work.

    BorderLayoutData .setFloatable(false) doesn't work.


    Hello!

    I'm using RC2.

    I have a BorderLayout with 3 Regions:
    1. North
    2. Center
    3. East
    I wanted to have the East-Region collapsible and floatable. That did work. When I opened my webapp in my browser (IE, FF, Chrome) the region was collapsilbe and floatable.
    Now I opened my application in iPads Safari for testing purposes: When touch the collapsed regions-bar it floats over my application BUT doesn't "unfloat" after touching another part of my application. --> So on iPad this app wouldn't be usable.

    OK, now I wanted to have a workaround in setting floatable to false that the application wouldn't hang on iPads Safari. So I did:
    Code:
    eastData = new BorderLayoutData(200);
    eastData.setSplit(false);
    eastData.setCollapsible(true);
    eastData.setFloatable(false);
    Unfortunately ".setFloatable(false)" doesn't work for me. The Region floats still over the rest of my application when the regions-bar is clicked.
    Doesn't "setFloatable() have to behave like I supposed?

    Kind regards
    "Webrat"
    Last edited by Webrat; 26 Apr 2012 at 11:38 PM. Reason: added the information that I used RC2

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    Webrat is on a distinguished road

      0  

    Default Another issue: .setCollapseMine(true) re-enables .setSplit(false)

    Another issue: .setCollapseMine(true) re-enables .setSplit(false)


    Hi again!

    Also there is a problem with .setCollapsibleMini(true) in combination with .setSplit(false).
    .setCollapsibleMini(true) undoes .setSplit(false).

    Code:
    eastData.setSplit(false);
    eastData.setCollapseMini(true);
    I used .setSplit(false) to disable the possibility to resize the region with the mouse by using the splitbar between the regions.
    The use of .setCollapsibleMini(true) shows the splitbar again and makes the region resizable by using the splitbar.

    Regards
    "Webrat"

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
    ovaris is on a distinguished road

      0  

    Default


    Any plans on fixing this issue? I have confirmed that in GXT 3.0.0 this issue is still valid, CollapsePanel method protected void onBarClick(Event event) {.... does not respect borderlayoutdata.setFloatable(false) at all. My workaround is to extend CollapsePanel (via deferred binding) and override onBarClick method.

    Kind regards
    Olli

  4. #4
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for reconfirming the bug. I've examined the code and have noticed that the floatable property is never checked. I've now filed a ticket against the team and will update here with any changes.

  5. #5
    Sencha Premium Member
    Join Date
    May 2012
    Location
    Frome, UK
    Posts
    16
    Vote Rating
    0
    SiBurgess is on a distinguished road

      0  

    Default Also breaks Andriod

    Also breaks Andriod


    This also freezes Chrome and other browsers on Andriod 4.0.3 so seems a common problem on touch devices.
    Last edited by SiBurgess; 31 Aug 2012 at 2:10 AM. Reason: Updated with findings from Andriod

  6. #6
    Sencha Premium Member
    Join Date
    May 2012
    Location
    Frome, UK
    Posts
    16
    Vote Rating
    0
    SiBurgess is on a distinguished road

      0  

    Default


    And freezes the page on Android 2.x browsers.

  7. #7
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    SiBurgess - please submit the android issue as a separate bug report.