AntiMicroX / AntiMicroX/antimicrox

Sending mouse event to navigation bar buttons causes program to hang until program is refocused

Aperta
#1,269 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
C++
Stelle
4k
Fork
249
Merge medio
13m
PR unite (30g)
1

Descrizione

### Is there an existing issue for this?

- [x] I searched the existing issues and did not find anything similar.

### Current Behavior

When sending a mouse event to any of the buttons on the navigation bar, the program will hang until the program is refocused (either by alt-tabbing or clicking back into the program).

While the program is hanging, it continues to buffer controller inputs, the inputs are rapidly played back when the program recovers.

### Expected Behavior

The input on the navigation bar should be executed (or possibly it should fail silently).

### Steps To Reproduce

1. Configure controller to send mouse button inputs
2. Attempt to send input to minimize, maximize, or close buttons on navigation bar
3. The input will be consumed and the program will hang until it is refocused

Image

### Environment

```markdown
Program Version 3.5.1
Compiled from packaging: GitHub Portable Windows Release
Built Against SDL 2.30.6
Running With SDL 2.30.6
Using Qt 5.15.2
Using Event Handler: SendInput
Host OS: windows Version: 10 Architecture: x86_64
```

### Anything else?

The input is correctly handles the input when it is passed in other places, e.g., through the taskbar:

Image

Certain inputs (seems mostly to happen with the analogue sticks and the triggers, maybe related to inputs with a floating point value attached?) will cause the red text that normally indicates controller events are being handled to become stuck on, though this is not consistent:
Image

While the program is hanging, the navigation buttons are shaded as if the mouse button is being held down:

Image

Image

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.