RamonUnch/AltSnap

LMB sometimes not working properly

xeophyte opened this issue ยท 22 comments

After updating to 1.59 I'm having weird left-click issues. Sometimes a single click works as a double click, sometimes it doesn't work at all. Sometimes it happens for no reason and sometimes after pressing the middle button. The problem goes away immediately after disabling AltSnap. A little hard to reproduce. My settings:
https://i.imgur.com/G6hgEKg.png
https://i.imgur.com/f774ljr.png
https://i.imgur.com/yYQlYgo.png
https://i.imgur.com/75lFrJw.png

I would prefer to have a copy of your AltSnap.ini file (you can zip it and attach it to a post).
I also need a sequence of actions that triggers the issue, otherwise I will probably be unable to reproduce.

Also try to set AblockHotclick=1 in the [Advanced] section of the ini file, it might help, in theory in your case it should change nothing, because you combined MMB hotclick with the Move action.

AblockHotclick=1 doesn't fix it.
I don't know how to reproduce it yet. So far it seems to be a random occurrence, I don't know what it depends on yet.
I just noticed that the problem goes away when I disable Middle mouse button option.
AltSnap.zip
ini file attached.

I just noticed that the problem goes away when I disable Middle mouse button option.

It is indeed a quite intrusive option, I will try to see how different the behavior should be from 1.58

Thanks a lot for the ini file, I will try my best to reproduce your issue whenever I got time.

Note that the Polish translation is quite incomplete (and was not updated since AltDrag1.0) we are looking for translators, If you want to contribute with the translation I would be grateful and probably many users as well, Improving a translation is a simple matter of editing a text file see #35

It seems that you never use the Alt activation key, so I guess you can safely disable left and right Alt keys in the Hotkeys section of the Keyboard tab. It will probably not fix anything but it will be even less intrusive.

  1. Sorry, I was wrong, it is not connected to Middle mouse button option. When I disabled it, I click apply. The problem just sometimes goes away when I change something in the settings and click apply, no matter what, it's just about applying.
  2. So far, I could only reproduce it like this:
    https://i.imgur.com/cnoQozO.gifv
    I just disable->enable AltSnap and sometimes single-click behaves as double-click, can't open files/folders, can't maximize windows, can't open menus, minimizing browser window with minimize button minimize it and maximize it in one action, and other strange behaviors.
    I also noticed that when the AltSnap is enabled and the problem does not occur I can't close tabs in Notepad++, but when the problem occurs, I can do it. Maybe some connection to #352?
  3. polish translation attached
    pl_PL.zip

Thanks for the info and espacially thanks for the translation!

I am unsure of when the issue started to occur.
If I understand correctly, on 1.58, there was this delay problem, then you were using 1.59test3 and you had zero issues, but when updating to the final 1.59 then this locking problem started to occur?

Could you double check to see if you are still able to reproduce the issue with the test3 build.
hooks1.59test3_x64.zip

If you have no problems with the 1.59test3 (which should be the case from what you said) then this reduces the scope on which I have to search.

If I understand correctly, on 1.58, there was this delay problem, then you were using 1.59test3 and you had zero issues, but when updating to the final 1.59 then this locking problem started to occur?

Yes.

Could you double check to see if you are still able to reproduce the issue with the test3 build.

No problem with test3 build when I reproduce it my way (disable->enable AltSnap, then single-click on the text in the notepad, repeat disabling->enabling until a single click selects the text - behaves as double-click, the problem occurs within a maximum of a few tries).

Going back to 1.59 hooks.dll, I deleted my AltSnap.ini, turned on the program and new default ini was created, then I gradually added my settings. It turned out, that only Middle mouse button enabled causes this. ini files attached.

I also noticed that when the problem occurs, the long single-click is correct, it doesn't act like double-click. For example, long LMB press on the text doesn't select it while normal short click does.

AltSnapINIwithAndWithoutProblem.zip

I think I got an idea (unsure), try this one:
AltSnap1.59fix2_x64.zip
I will go to sleep anyway now.

I got another idea of why this bug might occur, have a try with this one:
AltSnap1.59fix3_x64.zip

fix2 not working.
fix3 seems to work without problems, I'll leave it and test it.
I'm also wondering if it has something to do with the system version.

I'm also wondering if it has something to do with the system version.

It does depends on the Windows version, Newer Windows are less forgiving to inconsistent key states.
It was due to some drag threshold not measured the same at two different places.

Just updated to this 1.59 version myself and immediately noticed this issue.

I can give some input, using this double click tester page I'm able to replicate the issue directly. If I simply hotclick (which in my instance is MB4/MB5 for move and resize) the test window element without moving the mouse (just a quick on/off) it seems to have a direct influence on the double-click conflict. LMB now registers clicks both on press and release, thus creating the double click.

Whenever i do the hotclick again with within my empty desktop, or if i focus another window it seems to reset the issue and it no longer registers on release as well, maybe because of the blacklist process.

Here is my configuration: https://imgur.com/BIqddjK.png

Rimgo front end alternative: https://rimgo.totaldarkness.net/BIqddjK.png

does the AltSnap1.59fix3_x64.zip fixes it for you?

I got another idea of why this bug might occur, have a try with this one: AltSnap1.59fix3_x64.zip

Yes, I have this in use currently. So far this version seems to have helped a lot with limited testing, does not seem to break anything that I can notice with normal use.. however it does still register double clicks with the testing method i was using earlier, but it doesn't cause any conflict with desktop use like it was.

Same here, I don't see any problems with normal use. However, on the mousetester.com, double clicks (both LMB and RMB) appear, but only when I start clicking immediately after pressing MMB. When I click LMB/RMB, for example, after a second, the clicks are not registered as double. Of course Win 11 here.

Could you give me a copy of your .ini file (you can zip it and attach to a post), I want to easily load it for myself.
EDIT: I will check with xeophyte's config, nevermind

I think I got it.
hooks1.59fix5_x64.zip

That seems to have done it, no more double clicks with the test with this v5 fix for me.

Very nice.

I think I got it. hooks1.59fix5_x64.zip

Looks fixed to me too, thanks.