Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Posts
    22
    Vote Rating
    0
    hstang is on a distinguished road

      0  

    Default [FIXED] [2.0] Dialog flickers in FF

    [FIXED] [2.0] Dialog flickers in FF


    Hi,

    I have a button that opens up a dialog. In FF 3.5, the initial rendering is noticeable and not seamless. (In IE and Chrome, this doesn't occur). You can see the window expanding and centered in 1 second.

    Environment:
    Firefox 3.5 (i did not test on 3.0)
    GXT 2.0

    Complete code below:
    Code:
    public class Test implements EntryPoint
    {
      public void onModuleLoad()
      {
        final Dialog dialog = new Dialog();
        dialog.setBodyBorder(false);
        dialog.setHeading("Dialog");
        dialog.setWidth(600);
        dialog.setHeight(250);
        dialog.setHideOnButtonClick(true);
        dialog.setModal(true);
        dialog.add(new DualList());
        Button button = new Button("ShowMe", new SelectionListener<ButtonEvent>()
        {
          @Override
          public void componentSelected(ButtonEvent buttonEvent)
          {
            dialog.show();
          }
        });
        RootPanel.get().add(button);
      }
    
      class DualList extends LayoutContainer
      {
        @Override
        protected void onRender(Element parent, int index)
        {
          super.onRender(parent, index);
          FormPanel panel = new FormPanel();
          panel.setHeading("Drag and Drop Lists");
          final DualListField lists = new DualListField();
          panel.add(lists, new FormData("98%"));
          panel.setWidth(550);
          add(panel);
        }
      }
    }

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,691
    Vote Rating
    107
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Fixed in SVN.