altdrag icon indicating copy to clipboard operation
altdrag copied to clipboard

Mouse click sometimes stop being registered after using Altdrag

Open jdt1 opened this issue 3 years ago • 2 comments

Hi,

Let me begin by saying that I absolutely love Altdrag and couldn't image working without it anymore. Having said that, there is a minor issue that can be a bit annoying at times.

Sometimes, after using Altdrag for a while, Windows seems to stop registering or forwarding my mouse clicks. The only thing that helps is pressing ctrl + alt + delete. When I click in the blue ctrl + alt + delete menu, the first click doesn't do anything, but the second click works normally. As if the first click resets the mouse somehow. (I don't have any knowledge of how Windows handles mouse clicks and forwards them to the active application).

I haven't been able to find any robust way to replicate the issue, but it seems to happen if I use Altdrag too rapidly. Possibly the issue occurs when the targeted application is busy and not ready to handle the Altdrag action? Again, I don't understand the inner workings of how Windows handles the mouse.

I'm more than happy to provide any further information, do tests, or even do some digging in the code if someone could give me some pointers on where to look.

Cheers,

Jim

jdt1 avatar Feb 07 '22 12:02 jdt1

This generally happens when switching between elevated and non elevated windows. It should not happen when AltDrag is elevated (look at the config). If it still does then is pressing ESC enough? Also you might want to give a try to my fork, I think I mostly fixed those kind of problems, if it still happen on your config, then I would be interested if you find a way to reproduce the bug.

RamonUnch avatar Feb 10 '22 12:02 RamonUnch

Thanks for your reply.

I am always running AltDrag elevated to be able to drag the Windows system tools. I'll try pressing esc if it happens again. I'll also have a look at your fork, it looks interesting!

jdt1 avatar Feb 10 '22 18:02 jdt1