Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    htmlPane page remains in background when changing tab

    Hi all there. I'm facing a wired problem showing (actually, hidding) a page in a htmlpage. I'll describe as follows.

    I'm using the SmartGWT library, version 2.5. and this problem seems to be present only in the google chrome browser (in development and produccion environments) and there is no server, client, javascript or rpc error message at all.

    I've added an htmlPane to a tabset where I load an html page. The tabset needs to be shown and hidden by some actions. The loading of the page is ok, but I foud the next issues:

    1. when I try to hide the tabset, the htmlpane remains being visible in front of the other widgets. (actually, the tabset is inside a custom VStak composite with other widgets and this composite is which has to be hidden, the composite is hidden correctly, but the htmlpane is still visible)

    2. After being loaded the page, when I try to change the selected tab in the tabset, the loaded page remains as a background image (instead of the clasic white background) in the selected tab. The same behaviour is shown when I change a global tabset to a different tab (containing the tabset whit the htmlpane).

    I've found the same behaviour int the online showcase:
    first, go to http://www.smartclient.com/smartgwt/showcase/#basics_html_load_pages
    next, select the yahoo! button.
    next, select the Home tab.
    Here, the yahoo!'s page is in the background of the home tab content instead of the white background.

    As I said, this wired behaviour happens just in chrome (development and production)

    In the showcase, this behavoiour seems to be only on selecting the Yahoo!'s option (no with the others) but in my project it happens with all my loaded pages. (additionally, google button never loads google's page in the show case)

    This is really important for me to resolve this issue. I hope you can help me. Thanks a lot.

    #2
    We're not seeing this effect.

    In fact, the online Showcase doesn't successfully load Yahoo because they've put some restrictions in place that prevent the site being loaded in a frame (the example will be updated to avoid Yahoo).

    But with other pages (Baidu, etc) there in no "burn-through" effect as you describe.

    Are you running Chrome on something other than Windows? If so, what?

    Comment


      #3
      Hi Isomorphic

      First at all, I'm really sorry for the late reply. (I was working in a released of my related app)

      to answer your question, I'm using google chrome in a windows 7 laptop, but i tried with other laptops, and the efect (again, with chorme and windows 7) is the same.

      I've just developed a workarround to avoid this behaviour, setting the source variable in blank on lossing focus, and re-setting the originar source when getting visible again (althoug, it uses the brandwith every time I show the htmlpane again)

      I've just too (today, 21-03-2013) watched the page of the showcase (before you change it) and I captured some screens to show you. please, see the attachments (screen 1, then screen 2)

      As I said, in the showcase it just happens with the yahoo!'s page, but in my app, it happen with all the pages. I hope to get a good answer from you.
      thanks a lot.
      Attached Files
      Last edited by MagusDrk; 21 Mar 2013, 08:49.

      Comment


        #4
        We're not sure how you're magically able to load Yahoo. Again they have restrictions in place preventing this.

        Try clearing your cache - perhaps you are loading some old version of the Yahoo page as well as an older version of the Showcase.

        Comment


          #5
          Ok.

          When I search in google "SmartGWT showcase" I found the next link:
          http://www.smartclient.com/smartgwt/showcase/

          while loading the page, it says "SmartGWT 3.1 loading 308 samples... please wait" So, I'm not sure how can I be able to load an old (or some specific) version of the showcase.

          the yahoo!'s page restriction is not my issue but it is the fact the loaded page remains as background on changing the tab. (the yahoo!'s page is just another case I've found to illustrate my case.)(a hint could be my browser redirects me from http://www.yahoo.com to http://co.yahoo.com/?p=us)

          I've cleaned the cache too many times, and the issue still exists, so I think thats no the solution.

          Additionally, I've found that https pages are not loading (thats a different issue, but coud be related). How can I make https pages lo load? Do I need a ssl certificate in my app?(Do I need to open other thread about this?)

          Thanks again.

          PDT: Sofware Development looks like magic for those who don't know how it works. ;)
          Last edited by MagusDrk; 21 Mar 2013, 13:35.

          Comment

          Working...
          X