With `focus` touches can hit multiple windows

Aperta
#26,381 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start by locating the deprecated focus implementation and the UI touch-interaction path; the issue does not name files or tests. Reproduce the report with two windows and overlapping UI nodes, then determine how window identity is handled. Done means a touch affects only the node in its own window, or the deprecated focus path is removed as intended.

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

Descrizione

A-Picking A-UI C-Bug

Bevy version and features

main + 0.19

What you did

Spawn two windows with UI nodes at the same position on each, Interaction can register hits from touches on both nodes.

What went wrong

focus doesn't check which window the touch input came from.

Additional Information

focus is deprecated, another reason why it should be removed.

Lingua principale
Rust
Stelle
49.7k
Fork
5k
Merge medio
3g 19h
PR unite (30g)
134

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 bevyengine/bevy

Tutte le issue di bevyengine/bevy

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.