vimac icon indicating copy to clipboard operation
vimac copied to clipboard

Option to disable moving mouse cursor to clicked item

Open benwoodward opened this issue 3 years ago • 13 comments

It seems like Vimac moving the mouse cursor to whatever was clicked is new, I don't remember it doing that before. It'd be great if it was optional, it'd be good if I could click a button without having to move my mouse cursor out of the way (which often happens when I'm trying to read something).

benwoodward avatar Apr 21 '21 09:04 benwoodward

There's a related discussion in #251

Is the issue that the mouse pointer has been moved, or that it's visible? It seems to me that the mouse could be kept hidden (typically in macOS the mouse is hidden after typing in text) but still be moved to the location of the click.

blackketter avatar Apr 21 '21 18:04 blackketter

For me the issue is that the mouse cursor is moved. When I'm reading I keep it off to one side of the text. If the mouse cursor is move to where the text is because I clicked a link in the text then I have to move it back. However, if it just remained hidden this wouldn't be an issue.

benwoodward avatar Apr 21 '21 19:04 benwoodward

"revert cursor to original position" was removed to allow hovering, but I've since added the 'move operation' that solely moves the cursor without clicking. I think "revert cursor" can be added back since the move operation can be used for hovering. @kiding What are your thoughts?

dexterleng avatar Apr 22 '21 03:04 dexterleng

Yes, it can be added back. Although I’d still prefer an option in the preferences, I suspect the majority of users would like the cursor to be stationary.

kiding avatar Apr 22 '21 08:04 kiding

Makes sense to me now why it needs to be moved. Where can I read about the 'move operation'?

EDIT: Found it—https://github.com/dexterleng/vimac/commit/dfaf31d05a76cad53684055fdd9fd31332d20ab2

benwoodward avatar Apr 22 '21 08:04 benwoodward

Yes, it can be added back. Although I’d still prefer an option in the preferences, I suspect the majority of users would like the cursor to be stationary.

Yeah, I think aesthetically speaking keeping it in the same original position would be preferred. But is there a reason this should be configurable now that you can execute a move operation?

EDIT: There this this issue when clicking on the menu bar + reverting mouse position https://github.com/dexterleng/vimac/issues/251#issuecomment-804237553

dexterleng avatar Apr 22 '21 10:04 dexterleng

I think I'll add an experimental option for this.

dexterleng avatar Apr 22 '21 10:04 dexterleng

For me, the issue is that the mouse remain hidden after a Vimac click. I don't mind that it's moved to where the click happens, that seems natural.

EDIT: When using the move operation it should always be visible, of course.

blackketter avatar Apr 22 '21 14:04 blackketter

For me, the issue is that the mouse remain hidden after a Vimac click

Could you elaborate on this? On the latest version v0.3.18 the mouse should reappear at the location a click is performed.

dexterleng avatar Apr 22 '21 17:04 dexterleng

Could you elaborate on this? On the latest version v0.3.18 the mouse should reappear at the location a click is performed.

My preference would be that the mouse pointer should be hidden by default in Vimac. The location of that hidden pointer should probably be moved to where a click is generated by Vimac. I find the appearance of the cursor a distraction.

It might make sense to provide some kind of short-term feedback when a click happens. That might be a short animation showing the click. (Like screen recorder does, maybe?)

https://user-images.githubusercontent.com/131679/115761385-2305d880-a357-11eb-9299-cada84193c92.mov

When using the new move option, though, it would make sense to show the cursor in the new location, as that's the feedback that the move worked.

blackketter avatar Apr 22 '21 17:04 blackketter

Could you elaborate on this? On the latest version v0.3.18 the mouse should reappear at the location a click is performed.

My preference would be that the mouse pointer should be hidden by default in Vimac. The location of that hidden pointer should probably be moved to where a click is generated by Vimac. I find the appearance of the cursor a distraction.

It might make sense to provide some kind of short-term feedback when a click happens. That might be a short animation showing the click. (Like screen recorder does, maybe?)

https://user-images.githubusercontent.com/131679/115761385-2305d880-a357-11eb-9299-cada84193c92.mov

When using the new move option, though, it would make sense to show the cursor in the new location, as that's the feedback that the move worked.

Completely agree with all of the above. Screenbrush has a good click animation, it makes a little 'splash' animation where concentric bright coloured lines animate outward from the click for a brief moment and fade.

benwoodward avatar Apr 22 '21 19:04 benwoodward

My preference would be that the mouse pointer should be hidden by default in Vimac

So Vimac moves the cursor to the target location, performs a click, keeps it at location hidden, until the user disturbs it by moving their mouse?

The visual feedback / 'splash' animation idea is great!

dexterleng avatar Apr 23 '21 04:04 dexterleng

So Vimac moves the cursor to the target location, performs a click, keeps it at location hidden, until the user disturbs it by moving their mouse?

Exactly!

blackketter avatar Apr 23 '21 13:04 blackketter