stefansundin / altdrag

:file_folder: Easily drag windows when pressing the alt key. (Windows)
https://stefansundin.github.io/altdrag/
GNU General Public License v3.0
1.42k stars 94 forks source link

Does anyone know? #165

Open gittmin opened 1 year ago

gittmin commented 1 year ago

Does anyone know the code for recognizing touch screen clicks and dragging?

Alt Drag seems not to work with such as touch screen dragging is treated differently on Windows 11 and tablets -- at least differently than the mouse.

Currently only Alt Drag and DeskOK offer alt-dragging for Windows but neither have added functionality for touchscreens as the coding seems to not treat touch clicks the same as mouse clicks or dragging.

ileathan commented 1 year ago

Some windows do actually drag with the touch screen (some apps/properties windows), I'm curious what the difference is.

He said he may add a way to move the windows with just the mouse - hope this means we can use only the touch screen too :D Think he said that years ago though :/

I've tried various ways and have no real workaround.

gittmin commented 1 year ago

Seems to work after certain updates but I'm not sure which ones -- for newer computers with Windows 11 21H 02.04.2023, 14:57, "Spinelli Valentinuzzi" @.>: Some windows do actually drag with the touch screen, I'm curious what the difference is.He said he may add a way to move the windows with just a move - hope this means we can use only the touch screen too :D Think he said that years ago though :/I've tried various ways and have no real workaround.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>

RamonUnch commented 1 year ago

Interacting with the touch screen requires to listen to specific multi-touch APIs in a way that is quite different from what AltDrag does at the moment. Some touch actions may generate some click sequences that can trigger AltDrag, so in some cases it can be possible to interact but in any way it would require specific development to have something usable. To do this development you will need to have a proper touch device and spend a lot of time.

I do not own such a device, and many peoples are in the same situation and are simply not interested by touch outside their smartphone and especially developers that use the Keybaord + Mouse interface most of the time. Devloppers will invest time in the tools they actually use and want to be productive with. This is also why AutoHotKey does not handle touch devices (the dev is not interested and does not use touch devices). This is an issue that already came several times in my fork, and I am in the same situation, I do not own a multi-touch device and I am not much interested in them.