View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003279 | NoesisGUI | C# SDK | public | 2024-04-26 12:09 | 2024-05-17 17:27 |
| Reporter | stonstad | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.2.2 | ||||
| Target Version | 3.2.4 | Fixed in Version | 3.2.4 | ||
| Summary | 0003279: KeyDown and PreviewKeyDown Not Firing for KeyCode Tilde '~' | ||||
| Description | Players use the tilde button to open and close a chat window. When they press tilde (~) it is captured in TextBox input. I'd like to filter this text out by hooking PreviewKeyDown and setting the event to handled. But KeyDown and PreviewKeyDown events do not fire for tilde in TextBox or parent UserControls. Am I doing something wrong or is this by design? _InputTextBox.KeyDown += (sender, e) => // never fires for Tilde Thank you. | ||||
| Platform | Any | ||||
|
Can you debug which UnityEngine.KeyCode is produced when pressing the Tilde key in your keyboard? |
|
|
The key is BackQuote. KeyCode.BackQuote ' When I described the key as Tilde I was incorrect. This is what it is commonly called, but the actual key is 'Back Quote'. Noesis KeyDown and PreviewKeyDown events do not seem to be firing for UnityEngine.KeyCode.BackQuote. |
|
|
That KeyCode is not mapped, could you try by adding it to the NoesisKeyCodes.cs table: _unityToNoesis.Add(UnityEngine.KeyCode.BackQuote, Noesis.Key.Oem3); We will fix it for the next release. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-04-26 12:09 | stonstad | New Issue | |
| 2024-04-29 13:38 | jsantos | Assigned To | => jsantos |
| 2024-04-29 13:38 | jsantos | Status | new => assigned |
| 2024-04-29 13:38 | jsantos | Target Version | => 3.2.4 |
| 2024-05-02 12:34 | sfernandez | Status | assigned => feedback |
| 2024-05-02 12:34 | sfernandez | Note Added: 0009452 | |
| 2024-05-06 11:43 | sfernandez | Note Edited: 0009452 | |
| 2024-05-06 11:43 | sfernandez | Note Edited: 0009452 | |
| 2024-05-09 20:43 | stonstad | Note Added: 0009520 | |
| 2024-05-09 20:43 | stonstad | Status | feedback => assigned |
| 2024-05-09 21:30 | sfernandez | Status | assigned => feedback |
| 2024-05-09 21:30 | sfernandez | Note Added: 0009521 | |
| 2024-05-17 17:27 | sfernandez | Assigned To | jsantos => sfernandez |
| 2024-05-17 17:27 | sfernandez | Status | feedback => resolved |
| 2024-05-17 17:27 | sfernandez | Resolution | open => fixed |
| 2024-05-17 17:27 | sfernandez | Fixed in Version | => 3.2.4 |