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

      0  

    Default [FNR] Window invisible while dragging if useProxy = false

    [FNR] Window invisible while dragging if useProxy = false


    Just noticed that in rev 1806 (the one that can be downloaded as GXT v3 DP5) window becomes invisible while dragging it if useProxy is set to false.

    Code:
    public class GxtModule implements EntryPoint {
        @Override
        public void onModuleLoad() {
            final Window w = new Window();
            // This is the line, that makes window go invisible while dragging
            w.getDraggable().setUseProxy(false);
            w.setHeight(300);
            w.setWidth(400);
            w.center();
            w.show();
        }
    }

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    From looking at http://staging.sencha.com:8080/examp...lace:draggable it appears that this has been fixed in a commit made after DP5 - can you confirm?

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    45
    Vote Rating
    0
    raivis is on a distinguished road

      0  

    Default


    Yes, I confirm, that it's been fixed (at-least it's working in a nightly build examples). You can close this thread.

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    45
    Vote Rating
    0
    raivis is on a distinguished road

      0  

    Default


    Code:
    final Window w = new Window();
    w.getDraggable().setUseProxy(false);
    would still make window invisible while moving in Beta 1. The only way I can get window visible when moving is by creating new Draggable object.

    Code:
    import com.google.gwt.core.client.EntryPoint;
    import com.sencha.gxt.fx.client.Draggable;
    import com.sencha.gxt.widget.core.client.Window;
    
    
    public class GxtModule implements EntryPoint {
    
    
        public void onModuleLoad() {
            final Window w = new Window();        
            w.setHeadingText("Drag me");
            Draggable d = new Draggable(w);
            d.setUseProxy(false);
            w.setPixelSize(200, 100);
            w.show();
            w.center();
        }
    }
    Can you please confirm if that's the desired way or it is still a bug for Window?

    Edit: This code will hide windows content anyway, so, I can't drag window and have it's content visible while dragging. It works for ContentPanel thogh.
    Last edited by raivis; 16 Dec 2011 at 4:02 AM. Reason: correction

  5. #5
    Sencha User
    Join Date
    Jul 2011
    Posts
    45
    Vote Rating
    0
    raivis is on a distinguished road

      0  

    Default


    I noticed one more thing: If you drag window by clicking and dragging it's content, the content is visible. But if you drag window by holding it's header, window content is not visible. My guess is that in the first case new draggable is working, but in the second case when I hold windows header, windows default draggable is working.

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