XITRIX / Moonlight-Switch

Moonlight port for Nintendo Switch
770 stars 47 forks source link

[Bug]A touch bug in TouchScreen Mode #140

Closed TangXiaoLin-CN closed 1 month ago

TangXiaoLin-CN commented 4 months ago

You can try using Windows's built-in touch keyboard to reproduce this vulnerability.

The specific manifestation is that after clicking once, the screen keyboard will disappear, and when typing with the built-in touch keyboard in Windows, it will suddenly disappear. Therefore, I guess it is actually a problem with touch events.

renA21 commented 4 months ago

I think the issue is that the touchscreen mode is still doing mouse clicks like in older builds and touchscreen presses at the same time. There were times where I try to open up the start menu it would randomly click on somewhere else.

XITRIX commented 4 months ago

Try to check in this build, please. I've improved the touch behaviour, now it should support multitouch and should not trigger while onscreen keyboard presented

TangXiaoLin-CN commented 4 months ago

Try to check in this build, please. I've improved the touch behaviour, now it should support multitouch and should not trigger while onscreen keyboard presented

The vulnerability seems to still exist, consistent with what netizen RenA21 said. When making a touch click, the position of the mouse will also be clicked, resulting in the disappearance of the touch keyboard.

TangXiaoLin-CN commented 4 months ago

I think the issue is that the touchscreen mode is still doing mouse clicks like in older builds and touchscreen presses at the same time. There were times where I try to open up the start menu it would randomly click on somewhere else.

I think you are correct. After testing, the position of the mouse will indeed be pressed

XITRIX commented 4 months ago

More improvements to the goddess of improvements, check it, please

TangXiaoLin-CN commented 4 months ago

More improvements to the goddess of improvements, check it, please

At present, it seems to be working very well. Thank you for your hard work

XITRIX commented 4 months ago

I'll mark it as "wait for release", if still need some changes, please, report about it

XITRIX commented 1 month ago

Released in v1.1.0