Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS when scrollwheel zooming while hovering on billboard #4440

Closed
hpinkos opened this issue Oct 17, 2016 · 6 comments
Closed

MacOS when scrollwheel zooming while hovering on billboard #4440

hpinkos opened this issue Oct 17, 2016 · 6 comments

Comments

@hpinkos
Copy link
Contributor

hpinkos commented Oct 17, 2016

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/QJz-ipNQpYU

The use reports seeing an Invalid array length error when using the mouse scroll wheel to zoom while the mouse is hovering over a billboard.

this crash only appears to happen when my mouse is over the billboard when the page loads, and I zoom without the mouse moving from where it was before the page loads, and only on OS X.

@hpinkos
Copy link
Contributor Author

hpinkos commented Oct 17, 2016

Can someone with a mac see if they can reproduce this? I couldn't on my windows machine

@smills2929
Copy link

A bit more information. I just had another go of re-creating the crash with a different Windows machine and had no luck.

I tried a few other OS X machines (Sierra and El Capitan) and they all appeared to have the issue.

To reliably recreate the issue:

  1. Load http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Hello%20World.html&label=Showcases
  2. Place the mouse in the Cesium window around the center (roughly) while it is still Loading and don't move it.
  3. Scroll in quickly as soon as 'Loading' has disappeared without moving the mouse. Scrolling in slowly doesn't appear to cause the crash. It also doesn't crash if you wait a second or two before scrolling, or you move the mouse.

@hpinkos
Copy link
Contributor Author

hpinkos commented Oct 18, 2016

Great, thanks for all of the information @smills2929! That will be really helpful when we go to look into this

@smills2929
Copy link

I can confirm that it does not require a billboard to be in the scene or to be the subject of the zoom. It also appears to be the exact same issue as this:
#4177

It has the same error, and occurs only if you zoom while the viewer is still finishing initialising without panning.

@pjcozzi
Copy link
Contributor

pjcozzi commented Oct 19, 2016

@hpinkos close as duplicate with #4177?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants