Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Location
    Geelong, Australia
    Posts
    7
    Vote Rating
    3
    ggierer is on a distinguished road

      0  

    Exclamation [DUPE] Unable to preview the project but ok to design and export

    [DUPE] Unable to preview the project but ok to design and export


    Designer version tested:
    • Build Version xds-1.0.2.14
    Operating System:
    • Windows 7 Pro 64bit
    Description:
    • The attached project file works perfectly in design mode but I am unable to preview the project. Note that exporting is fine and each individual panel displays fine in preview window.
    Steps to reproduce the problem:
    • open the attached project file in Ext Designer and try to preview
    The result that occurs instead:
    • nothing is displayed in the preview window. Individual components preview fine.

    Attached Files

  2. #2
    Sencha User
    Join Date
    Jan 2010
    Location
    Brno, Czech Republic
    Posts
    35
    Vote Rating
    1
    honzakuchar is on a distinguished road

      0  

    Default


    For me, completely same. And when you put all linked components together into one, it will work ok.

  3. #3
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    I'll take a look at the project file. The preview is much like viewing it in a live browser...if it's broken in Preview, then it's broken in a live browser.

    The most common reason is GridPanels that have no stores bound to them. If you have GridPanels, and they don't have a Store, it's broken. You get a warning on export for missing store configurations for a reason...the GridPanel will throw an error when it's initializing and the components will stop rendering resulting in a broken view. Even if it's a dummy store, you should configure all GridPanels with a store. In Design view, the Grid gets a store no matter what just so it renders for you We'll consider the same for Preview, though it has some value seeing it break in Preview because you know it will break in the browser too.

    The easiest thing to do is to view the component in a browser with a debugging console (Firefox + Firebug, Safari/Chrome + Web Inspector, etc.) and check for JS errors. They are quite helpful in figuring out errors.

  4. #4
    Sencha User
    Join Date
    Jan 2011
    Location
    So California
    Posts
    5
    Vote Rating
    0
    dchristensen is on a distinguished road

      0  

    Default [DUPE] Unable to preview the project but ok to design and export

    [DUPE] Unable to preview the project but ok to design and export


    Same issue here, but I don't think it's a problem with the grid or a store. I can see the data in the Design view, but the Preview window is blank as well as the export (which also works BTW.)

    Also, the Design view doesn't show all of the components in the second Tab (layout: 'fit'). I have a GridPanel and a FormPanel - one above the other. If I select the FormPanel in the "Components" tree, it shows the form and part of the GridPanel (rows 1 & 2 are shifted up out of view.)
    Attached Files

  5. #5
    Sencha User
    Join Date
    Mar 2011
    Location
    Valencia, Spain
    Posts
    6
    Vote Rating
    0
    JonasTG is on a distinguished road

      0  

    Default


    Hello, I have a similar problem with a custom component that I created, it contains a combo with a store bound (xmlstore, but directstore for test). The problem is that if I preview te component it runs fine, but if I preview the entire component hierarchy it crash (but not the exported project in localhost server preview).

    Any solution??

    Attach the demo prject: project_demo.xds

  6. #6
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    I'll take a look into this today.

Similar Threads

  1. Export Project does nothing
    By Wayne Hiller in forum Ext Designer: Bugs
    Replies: 2
    Last Post: 18 Jun 2010, 7:50 AM
  2. [FIXED-143] Preview OK, Export generates layout errors
    By dudek in forum Ext Designer: Bugs
    Replies: 5
    Last Post: 18 May 2010, 7:33 AM
  3. designer preview and export not working
    By LoganHutch in forum Ext Designer: Help & Discussion
    Replies: 7
    Last Post: 29 Mar 2010, 4:07 PM

Thread Participants: 4

Tags for this Thread