possible lookto() issue in chrome

  • Hi Klaus,

    we're using 'lookto, loadpano, + js call to change window.location' to navigate around panoramas. On random occasions, the loadpano is interrupted, and the js call changing the location is never triggered. This is happening in chrome version 19.0.1084.56, all platforms (mac, windows, linux), flash 11.2 r202 and chrome 21.0.1171.0 dev, flash 11.3 r31 on linux (other platforms not tested). Tests on Firefox 13 (linux), with 11.2 r202 flash consistently load the pano and change the location.

    We tried to remove the lookto() call (marked in the code below) and this seems to fix the issue as well as adding a wait(1) directly after it - suggesting it might be some kind of race condition. Varying toV, toH and FOV parameters of lookto(), or dropping the motion type param does not have any effect. Enabling debugging of krpano does not reveal any errors.

    Steps to reproduce (a few retries / refreshes of the page might need to be done, as the issue is not always triggered)

    1. open http://www.360cities.net/image/golestan-2-tehran
    2. click on the arrow 'Golestan Palace - Tehran - Iran (32m)' on the right side (the issue seems to be triggered more often when all the pano tiles are not yet fully loaded).
    3. the transition with lookto() starts, but no other action should happen after zooming towards the hotspot.

    Is this a known issue? I've searched the forum, but found no similar topics, so any help would be appreciated. Our xml generated for this action + hotspot and the interrupted request + sshot from network tab are below.

    Thanks

    Balazs

    Network tab screenshot

    Code
    Request URL:http://www.360cities.net/image/golestan-palace-tehran
      Request Headersview source
      Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Referer:http://www.360cities.net/image/golestan-2-tehran
      User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1171.0 Safari/537.1

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!