Mouse movement bug in editor viewport

Aperta
#1,554 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp, godot
Ambito
game-dev

Direzione di ricerca

Start by reproducing the issue in an empty project: hold RMB in the editor viewport and move the mouse rapidly. Trace the editor viewport’s camera movement and mouse input handling, then inspect related tests if present. Done means camera movement stays smooth and follows the mouse direction without locking, jittering, or reversing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug topic:3d topic:editor usability
Tested versions

I noticed the bug in Redot as early as 26.1, reproducible as far as the latest git version as of posting this which is v26.4.alpha.gh [f8f15ce]

System information

OpenMandriva Lx 6.0 (Vanadium) Rock on X11 - X11 display driver, Multi-window, 2 monitors - OpenGL 3 (Compatibility) - Mesa Intel(R) HD Graphics 2500 (IVB GT1) - Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 threads) - 7.67 GiB memory

Issue description

Holding RMB to move the camera in the editor viewport, and then moving the mouse really fast causes the camera to lock up and jitter, occasionally moving the camera in the opposite direction.

I'm looking into fixing this issue on my own


Bugsquad edit:

Error showcase:

https://github.com/user-attachments/assets/cacde059-310e-4bc8-9c75-1ef072f8e7b3


Steps to reproduce

Open an empty project, hold down RMB in order to move the camera, and move the mouse around at a rapid speed

Minimal reproduction project (MRP)

N/A

Lingua principale
C++
Stelle
6.1k
Fork
337
Merge medio
5g 8h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Redot-Engine/redot-engine

Tutte le issue di Redot-Engine/redot-engine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.