processing / processing/processing4
with P2D renderer `key` variable doesnt update when pressing CTRL and another key
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 494
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Created by: grimtin10
Description
When using the P2D renderer the key variable doesn't update when pressing control and then another key.
Expected Behavior
Pressing control and then another key should set the key variable to CODED (65535) and then whatever other key you pressed.
Current Behavior
Pressing control and then another key doesn't update the key variable and it ends up containing CODED for both key presses and any subsequent key presses.
Steps to Reproduce
- Set renderer to P2D
- Create a keyPressed function that prints out the
keyvariable - Press control and then another key
Your Environment
- Processing version: 4.3 (latest)
- Operating System and OS version: Windows 10 Pro 22H2
Possible Causes / Solutions
OpenGL renderer isn't updating key variable when it should be.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem mit dem P2D-Renderer anhand eines Sketches zu reproduzieren, dessen keyPressed-Funktion key ausgibt, und vergleiche control gefolgt von einer weiteren Taste mit nachfolgenden Tastendrücken. Verfolge die im Issue beschriebene Eingabeverarbeitung von P2D/OpenGL. Als erledigt gilt die Aufgabe, wenn key für control CODED und für die nächste Taste den korrekten Wert meldet, anstatt weiterhin CODED zu bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- computer-graphics
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100