ThreeFingersDragOnWindows icon indicating copy to clipboard operation
ThreeFingersDragOnWindows copied to clipboard

In some apps (uwp?) three fingers to drag doesn't work

Open k-kruglov opened this issue 2 years ago • 5 comments

I suppose it might be related to these apps being UWP, I've tried with Unigram (telegram client) and RSS tracker https://apps.microsoft.com/store/detail/rss-tracker/9N85PV1RJD6V?hl=en-us&gl=US or system settings app.

In all of them the standard text selection works (click + drag), when your app provided 3 fingers to drag doesn't.

Surface Book 1, windows 11.

p.s.

As also a mac user, I nearly started crying when I found out about your app on Reddit. I'm so used to this accessibility feature on macs, and switching to Windows was painful every time.

k-kruglov avatar Aug 05 '22 08:08 k-kruglov

For moving and pressing the left click, I use the function mouse_event from user32.dll, which effectively do not work in UWP applications.

I'll have to update the code a bit to make it work with UWP apps, using input injection.

Thanks for the report !

ClementGre avatar Aug 06 '22 08:08 ClementGre

Sounds that this is possible after all, which is great!

k-kruglov avatar Aug 06 '22 10:08 k-kruglov

Can confirm that this does not work on multitasking view. I suppose it's because of the same reason?

lynnrinkui avatar Aug 16 '22 11:08 lynnrinkui

I'm afraid I will not be able to update this app anymore.

I developed it in three days when I had a Windows laptop, but I don't have it anymore, and I figured out I had no wireless trackpad at home.

I hope someone will be able to fork this app to add the UWP support and fix some other bugs. Thank you !

ClementGre avatar Sep 08 '22 08:09 ClementGre

FYI: Some of apps' windows are also not able to be dragged.

  • Microsoft PowerPoint
  • Slack

MasaYan24 avatar Sep 12 '22 20:09 MasaYan24

Hi @k-kruglov, @MasaYan24, @lynnrinkui, I used this project as inspiration to write my own version, if you feel like, please try my version which I believe fixes all the issues you mention. https://github.com/gurinderhans/threefingerdrag

@ClementGre, this is an amazing project, if you choose to, you can incorporate the fixes into your project :)

gurinderhans avatar Nov 25 '22 22:11 gurinderhans

Hi, I just got a Windows laptop to work again on this project.

Thank you @gurinderhans, your app is amazing and fixes a lot of issues. I inspired myself of your code to fix issues in ThreeFingersDragOnWindows. I do will not copy all of your code, but I'll try to fix these issues by looking at your code.

For this issue, I can't reproduce the bug on PowerPoint or in the system preferences, but I do can in the Win + Tab menu.

I was able to fix this issue by using input injection, from user32.dll (just like @gurinderhans did) :

For moving and pressing the left click, I use the function mouse_event from user32.dll, which effectively do not work in UWP applications.

I'll have to update the code a bit to make it work with UWP apps, using input injection.

Then I guess this issue will not be present in the next release !

ClementGre avatar Nov 26 '22 14:11 ClementGre

The program works fine on most UWP apps, such as

Microsoft Store and Microsoft PowerPoint

But on Windows 11 22631.3672, I can't drag files in File Explorer I hope someone will fix this problem.

michaelliunsky avatar Jun 02 '24 04:06 michaelliunsky

Hi @michaelliunsky, can you reproduce the issue with TFDOW started with elevated privilege (as administrator)?

ClementGre avatar Jun 03 '24 08:06 ClementGre

Hi @michaelliunsky, can you reproduce the issue with TFDOW started with elevated privilege (as administrator)?

I solved the problem by accident by turning off my antivirus software. I think it may be the anti-virus software that blocks the normal operation of the program.

michaelliunsky avatar Jun 25 '24 03:06 michaelliunsky