1. #1
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    7
    Vote Rating
    0
    p.mangin@cddoc.fr is on a distinguished road

      0  

    Default Hidden windows are visible

    Hidden windows are visible


    With Ext4.0.7, I use designer "Version 1.2.2 Build:48" and a controller declared in designer.js.
    I have to hide windows on render in spite of "hidden" is set on true.
    Not very nice as windows appear briefly before to be hidden.
    Is it a bug of the designer, the library? If it is, do you know a work around?

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,878
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    windows are hidden by default so not sure what your doing to alter this behavior. Note that the default value for hidden is true http://docs.sencha.com/ext-js/4-0/#!...dow-cfg-hidden
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    7
    Vote Rating
    0
    p.mangin@cddoc.fr is on a distinguished road

      0  

    Default


    Thanks. I agree. But as I am working with a controller, so I can very easily withdraw my own code to get the designer behaviour only. I made only a viewport and 2 windows. The windows are still visible in spite of the default hidden set. More over, each window is:
    hideMode: visibility
    layout: fit
    closeAction: hide
    modal: true
    That's all. Have I missed a detail in the configuration?

  4. #4
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,878
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Can you share some code?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  5. #5
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,878
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Have you tried Designer 2?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  6. #6
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    7
    Vote Rating
    0
    p.mangin@cddoc.fr is on a distinguished road

      0  

    Default Here is the *.xds

    Here is the *.xds


    test.xds[ATTACH=CONFIG]remove[/ATTACH]

    Fine inclose the *.xds I use with library ext407.
    I have not tried designer 2 yet.

  7. #7
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    7
    Vote Rating
    0
    p.mangin@cddoc.fr is on a distinguished road

      0  

    Default


    I have tried designer2 Build 311 Beta. It resolves the issue on windows, but I get a new one on the treeview container autoexpand. I stopped there the effort for migrate the application. So I'll have to find a tip on designer 1.2 as everything work fine except for windows hidden .

  8. #8
    Ext JS Premium Member
    Join Date
    Jan 2011
    Posts
    7
    Vote Rating
    0
    p.mangin@cddoc.fr is on a distinguished road

      0  

    Default


    I finally used "cls" with those css tags:
    .hide_window{
    visibility:hidden;
    }

    .show_window{
    visibility:visible;
    }
    Every windows comes with hide_window cls and for showing:
    Ext.getCmp('my_window').addCls('show_window');//once
    Ext.getCmp('my_window').show(); or hide() evrey time needed.

  9. #9
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,878
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Have you tried using hideMode: display
    ?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  10. #10
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,878
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    I guess that's the default. I'm not sure what your doing as I don't have any of the code your using to display this window ...

    why not simply not call .show() on the window until your ready?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Thread Participants: 1

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