Results 1 to 9 of 9

Thread: [2.1.3 / 2.2.0 Beta] Dialog + Firefox = Maximize bug

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Jan 2010
    Posts
    24
    Vote Rating
    0
      0  

    Exclamation [2.1.3 / 2.2.0 Beta] Dialog + Firefox = Maximize bug

    Hi,

    there is a bug with maximized dialogs (that means GXT windows with a buttonbar):
    - the maximized height is larger than the container height, a scrollbar is visible and the buttonbar is below the botton viewport edge
    - the buttonbar gets a strange color
    - this only happens in firefox (3.6.x here)
    - this also happened in 2.1.3, so it's not a 2.2.0 specific bug

    The test case is extremely simple:
    PHP Code:
    import com.extjs.gxt.ui.client.widget.Dialog;
    import com.google.gwt.core.client.EntryPoint;
     
    public class 
    GxtBugs implements EntryPoint {
        public 
    void onModuleLoad() {
            
    Dialog dialog = new Dialog();
            
    dialog.setMaximizable(true);
            
    dialog.setSize(400400);
            
    dialog.show();
            
    dialog.maximize();
        }

    let me know if you need more information

    regards
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    132
      0  

    Default

    Works fine for me against both versions. Can you post a screenshot of how it looks like? Can you publish the build version of this somewhere, so i cna access this?

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    132
      0  

    Default

    Just was able to reproduce it. It is the shadow, it should get hidden while maximized.

  4. #4
    Ext User
    Join Date
    Jan 2010
    Posts
    24
    Vote Rating
    0
      0  

    Default

    Does the shadow also have influence on the dialog content?
    Because the dialog itself looks larger than it should be (which means the area between the titlebar and the buttonbar is too large).
    I can't add attachments here because my firefox freezes when I close the attachments window for some reason.

    Do you already have a possible fix for it?

  5. #5
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    132
      0  

    Default

    Because the dialog itself looks larger than it should be (which means the area between the titlebar and the buttonbar is too large).
    It does not look larger for me. The shadow just makes scrollbars appear for me on the body element.

    try to call
    Code:
     com.google.gwt.user.client.Window.enableScrolling(false);
    before showing the dialog to see if this fixes the problem.


    You can also send me the screenshot by sven@sencha.com

  6. #6
    Ext User
    Join Date
    Jan 2010
    Posts
    24
    Vote Rating
    0
      0  

    Default

    This doesn't fix the problem.
    I added a screenshot to the original post. Maybe it helps.

  7. #7
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    132
      0  

    Default

    Does not look like that for me at all. Is it possible you can compile that application and upload it somewhere so i can access it?

Similar Threads

  1. Ext.Window horizontal maximize bug
    By yohendry in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 3 May 2010, 10:23 AM
  2. bug Window.maximize()
    By luisve in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 26 Apr 2010, 12:39 AM
  3. Replies: 1
    Last Post: 4 Feb 2008, 10:37 PM
  4. Basic Dialog: Hide minimize/maximize buttons
    By rakshith in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 23 Apr 2007, 1:08 AM

Tags for this Thread

Posting Permissions

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