Results 1 to 2 of 2

Thread: HBoxLayoutContainer in widgets makes endless loops

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default HBoxLayoutContainer in widgets makes endless loops

    An Example:
    button = new TextButton();
    button.setIcon(resources.file());
    button.setText(localization.submit());
    button.addSelectHandler(new SelectEvent.SelectHandler() {
    @Override
    public void onSelect(SelectEvent event) {
    AlertMessageBox messageBox = new AlertMessageBox(localization.title(), localization.message());
    http://messageBox.show();
    }
    });

    now Look in SuperDevMode Console and look the chrome Process. Endless Loop and Chrome Process in CPU increase up to 5% !

    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 doLayout size: width: 290, height: 40
    Mon May 16 22:05:46 GMT+200 2016 com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer
    FINEST: x-auto-19 findWidth: false findHeight: true

    The same Problem in Firefox too.

    I think this is very critical. HBoxLayoutContainer is used in many components like grid paging. The same Problem also there !

  2. #2

    Default

    OK, fixed with the solution in google plus.

Similar Threads

  1. [NOREPRO] stretchmax for hboxlayoutcontainer?
    By audra in forum Sencha GXT Bugs
    Replies: 3
    Last Post: 19 Nov 2012, 3:42 PM
  2. Touch MVC, Mobile Widgets -> Desktop profile, custom widgets?
    By aaronwhite in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 3 Feb 2012, 2:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •