Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
    p33t is on a distinguished road

      0  

    Default Window move affects width / size (Chrome)

    Window move affects width / size (Chrome)


    Version(s) of Ext GWT
    Ext GWT 3.0.1

    Browser versions and OS
    Chrome 21.0.1180.89 - Dev Mode
    Chrome 21.0.1180.89

    Linux 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 GNU/Linux

    (Cannot reproduce in: Firefox 15.0, IE 8.0.7601.17514)

    Virtual Machine
    No

    Description
    When a Window is created and then moved down and to the right it experiences an abnormal resize. The window itself is taller and narrower but it's shadow remains the original size. Resizing seems to fix it up.

    Run mode
    Both dev mode and production

    Steps to reproduce the problem
    Create a Window with a single '<p>' paragraph and then move it. See code below.

    Test case
    Code:
        
    public class Entry implements EntryPoint {
            @Override
            public void onModuleLoad() {
                Viewport v = new Viewport();
                v.setWidget(new LaunchPanel());
                RootLayoutPanel.get().add(v);
            }
        }
    
        public class LaunchPanel implements IsWidget {
            private final Widget w;
    
            public LaunchPanel() {
                TextButton b = new TextButton("Open Window");
                b.addClickHandler(new ClickHandler() {
                    @Override
                    public void onClick(ClickEvent event) {
                        Window w = new Window();
                        w.setHeadingHtml("A Window");
                        w.add(new HTMLPanel("<p>Move this window down and to the right.<br/>" +
                                "You should see an abnormal resize with the shadow remaining the original size.<br/>" +
                                "Resizing it fixes it up again.</p>"));
                        w.setMinHeight(10);
                        w.setMinWidth(20);
                        w.setOnEsc(true);
                        w.show();
    
                    }
                });
                w = new SimplePanel(b);
            }
    
            @Override
            public Widget asWidget() {
                return w;
            }
        }
    Attached Images

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
    p33t is on a distinguished road

      0  

    Default Hmm...

    Hmm...


    I guess no-one opens movable windows in Chrome.

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2010
    Location
    Germany, Solingen
    Posts
    239
    Vote Rating
    2
    gishmo is on a distinguished road

      0  

    Default


    Checked your code with GXT 3.0.2 in Chrome and Windows.
    Can't reproduce the issue.

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
    p33t is on a distinguished road

      0  

    Default


    Thanks for that. Hopefully if/when I get my hands on 3.0.2 it'll work fine.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi