CesiumGS / CesiumGS/cesium

Drag Mousemove DROP FRAME since 1.93

Open
#11,902 3 comments 0 reactions 0 assignees View on GitHub
category - memory/performance type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

### What happened?

Simply drag the earth, zoom in slightly, then drag, and then find that there are some frames dropped.
I use dichotomy to find out where there is a problem.

I Use CDN to change Cesium verion and find the major version is 1.93 and build from source to find the problem commit became since [4a37d34badbef1b6271a2e1e64d0744c395f0ba2]

sample codes:

```html



Document





const viewer = new Cesium.Viewer("cesiumContainer", {
imageryProvider: new Cesium.UrlTemplateImageryProvider({
url: "https://a.tiles.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.jpg?access_token=pk.eyJ1IjoienhqNTQ3MCIsImEiOiJja2N5bW9kcHEwYmRxMzFvdXVmbjhnbWh3In0.LA4oFRuHdvDBu558A-ux5Q",
})
});

```

![image](https://github.com/CesiumGS/cesium/assets/20026798/4dbfd4db-4686-4dc1-aa03-f5ac4ea4c4a4)

### Reproduction steps

1. open sandcastle website
2. full screen
3. zoom to this aspect

![image](https://github.com/CesiumGS/cesium/assets/20026798/71723dd9-8ffa-4e66-bcbb-d87e919f93bb)
...

### Sandcastle example
https://sandcastle.cesium.com/

### Environment

Browser: Chrome 120
CesiumJS Version: since 1.93.0
Operating System: Windows 10

Contributor guide

Open the contributing guide

Research direction

Reproduce the drag interaction in the Sandcastle website using the provided steps, then compare Cesium 1.92.0 and 1.93.0 from the CDN. Inspect commit 4a37d34badbef1b6271a2e1e64d0744c395f0ba2 and use the sample HTML to narrow the regression; done means dragging after zooming no longer causes the reported dropped frames.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, performance, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.