Taps on a touchscreen do not register as mouse clicks in some games - am I missing something?

Questions about Wine on Linux
Locked
fallenguru
Level 2
Level 2
Posts: 11
Joined: Sun May 03, 2020 8:45 am

Taps on a touchscreen do not register as mouse clicks in some games - am I missing something?

Post by fallenguru »

So I got a Surface Go 2 to play around with, Ubuntu 20.04 (focal fossa), latest wine-staging from the official repos, that is, the winehq.org ones, not the Ubuntu ones. The touchscreen works fine natively (GNOME), and it works in WINE in principle, e.g. I can click tabs in winecfg.

The iGPU is nothing much, but I thought I'd read some visual novels on it (both are free demo versions, both sites are potentially NSFW, which is why I linked the demos directly, too:


Both require the locale to be set to ja_JP.UTF-8 for text to display properly, though it shouldn't matter for testing if touches register as mouse clicks in-game. MUSICUS!'s menu is English, the Yonagi demo has a launcher, just press the biggest button.

Using the keyboard+touchpad attachment, everything is fine, but tapping on the screen will only move the mouse cursor, it won't register as a click. I tried X11 and Wayland (and both DXVK and Gallium9 -- vanilla WINED3D works best), and there were certainly differences, just not as far as the taps not registering went.

Before I go down the rabbit hole of filing a bug I wanted to ask if touch not working was common knowledge, e.g. if there's a regression, or if it needed tweaks ...
fallenguru
Level 2
Level 2
Posts: 11
Joined: Sun May 03, 2020 8:45 am

Re: Taps on a touchscreen do not register as mouse clicks in some games - am I missing something?

Post by fallenguru »

Update: It's something in wine-staging (6.0-rc1 by now), wine-devel works fine. Should a bug report for this?
Locked