-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag/Move Wheel Actions #362
Comments
I should rather generalize click combo action so that Any button can be mapped to a new action if we are within a movement or resize. I will start with generalizing the Wheel action on move/resize. |
Well it is quite crazy, almost ready: Try with those options in the
Of course as usual experimental build: As soon as you start the extra action, movement gets locked and you have to release before being able to drag again. |
Is this a technical limitation or by design? |
It is a bit of both, It would be perfectly possible not to lock the window, but then it becomes quite quirky and more work would be needed to handle it properly. |
It depends on the action. BTW, the action combo |
Indeed there is no Next/Previous stacked window laser mode, it is an oversight, I will add that (easy). As long as the combo action does not change the size of the window it should not add any quirk not to disable movement, so I might do that as well. |
This build tries to be smarter and locks movement only for some specific actions, namely those that can move/resize the window and those that can minimize/close it, or that pop up a new menu When the Move action is not locked, moving will always move the initial window, doing otherwise would be tricky and would require too much specific code to to handle it. |
Works great so far. The only bug I could detect is that the drag-free actions are broken (test5 and test6). |
indeed, I forgot to update this part with the new action system, same for GrabWithAlt stuff. |
When using a while action without moving/resizing the window, a drag-free action will be triggered afterward. |
This is indeed an oversight, I think it is undesirable, and drag-free action should only trigger if no other cation was done in the meantime. |
This one should fix it. |
Love the additional support! Unfortunately, I found with AltSnap1.59test16_x64.zip, the command line option "-af" no longer triggers. Can you please confirm? |
For me it works just fine, both |
I figured out why. I launched AltSnap elevated. But the ahk script that triggers the action is not running from an elevated script/session. Once I elevated the ahk script, the command line option works like before. Sorry for the false alarm. |
No problems, it is still informative, I will keep this in mind if someone else gets the problem. |
#232 (comment)
In light of this, I would suggest expanding the drag-free actions to mouse wheel actions, but without the "free" limitation.
e.g.
Wheel while move:
Zoom Window
Wheel while resize:
Roll/Unroll Window
The text was updated successfully, but these errors were encountered: