Touch Input Is Broken with Multiple Monitors

Aperta
#10,408 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
arch-linux, cpp, linux
Ambito
game-dev

Direzione di ricerca

Start by reproducing with a touchscreen plus one extra active monitor, then with the touchscreen alone, and check whether Proton's touch-to-pointer coordinate mapping is offset by the secondary monitor's position or the inputs are being delivered as plain pointer events rather than touch. Compare the two configurations with Proton's logging enabled to see which component receives the tap, since the symptom (visual decal appears, button press does not) points at hit-testing coordinates rather than at the touch event itself. Done means a documented root cause naming the component and layer (X11/Wayland driver vs. Wine input translation vs. game), not necessarily a patch.

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

Descrizione

When more than one monitor is connected and turned on, touch inputs using touch screen monitors are broken in multiple games running with Proton. Touch input is registered visually, like showing a decal where tapped, but selecting buttons and using swipe inputs most often do not work. It usually takes several attempts to select a button.

Touch inputs work as expected when the touch screen monitor is the only active monitor or with native Linux games running through Steam (Slay the Spire 2).

https://github.com/user-attachments/assets/b820830c-bd7d-44db-a5de-8582df36fb35

I am running Arch Linux with the 7.3.5-2-cachyos kernel on KDE. This is also a problem with the regular Arch Linux kernel, but I only tested the versions listed below on the above kernel. I've also tested on two different computers with two different touch screen monitors (a portable monitor and a laptop monitor). Steam is installed using the official Arch repositories.

Proton versions tested:

  • Experimental (26621173)
  • 11.0-3 (26870980)
  • cachyos-11.0-20261015-slr (v3)
  • GE-Proton11-14
  • dwproton-11.0.17
  • TKG 967
  • EM-10.0.37-HDR
  • wineland-11.0-20261124 (v3)

Games tested:

  • Raft (1.09_precrossplayupdate) (10199006)
  • Umamusume: Pretty Derby (1.35.5) (26534632)
Lingua principale
C++
Stelle
33.3k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 ValveSoftware/Proton

Tutte le issue di ValveSoftware/Proton

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.