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
    SopGreg is on a distinguished road

      0  

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

    [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 Files

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      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 User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      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
    SopGreg is on a distinguished road

      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 User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      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
    SopGreg is on a distinguished road

      0  

    Default


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

  7. #7
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      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?

  8. #8
    Ext User
    Join Date
    Jan 2010
    Posts
    24
    Vote Rating
    0
    SopGreg is on a distinguished road

      0  

    Default


    Unfortunately I don't have any webspace to upload it, but I added it to the original post as an attachment.
    I had to remove the "resources" folder (gxt images, css, etc) and the gwt-servlet.jar from the WEB-INF/lib folder so I could upload it here (max 400kb allowed)
    Sorry for the inconvenience.

  9. #9
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I also need your css files and images as i wanted to make sure you use the correct once there too.

    PLease email it to sven@sencha.com (only the compiled output, war directory or whatever you called 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

Thread Participants: 1

Tags for this Thread