Skip to content
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

Add preference: disable mouse hover on the thumbnails #125

Closed
janbl opened this issue Jan 22, 2020 · 12 comments
Closed

Add preference: disable mouse hover on the thumbnails #125

janbl opened this issue Jan 22, 2020 · 12 comments
Labels
preference Introduction of a new preference
Milestone

Comments

@janbl
Copy link

janbl commented Jan 22, 2020

Very often I want a fast app switch when I parallel move the mouse.
At the moment the mouse move selects a random app.
I would like to disable this feature and switch on mouse click only or make this a preference.

@lwouis lwouis added enhancement New feature or request S size labels Jan 22, 2020
@lwouis
Copy link
Owner

lwouis commented Jan 22, 2020

Hey @janbl, thanks for taking time to share your experience!

Since #34, the user can hover the thumbnails to change the selected window. Then, either on release of the shortcut, or on mouse click, the window will be selected.

I understand from you that sometimes you're moving the mouse while you trigger alt-tab, and the unintentional hovering of the thumbnails messes up your window selection, and once you release, it selects the wrong one.

Because people clearly want mouse control, it seems like a preference is the way to go. Adding it would be less than 10 lines of code I believe. We have checkbox already in the preferences, so it's about copying that code, then it's about disabling the hovering if it's off

@janbl
Copy link
Author

janbl commented Jan 22, 2020

Hi @lwouis, that sounds like the ideal solution and would make it far more usable for me.

@lwouis
Copy link
Owner

lwouis commented Jan 23, 2020

@janbl I forgot that I had actually plans for this in #72. You can see there how the shortcut/mouse preferences UI would look like.

Note that the "Select windows with mouse" phrasing is ambiguous. It doesn't separate mouse hover from mouse click. However, no-one has requested to disable mouse click so far, so for the time being I think having this UI disable hover interaction would be reasonable.

Preferences are always a balancing act between giving more control to power-users, and not overwhelming casual-users going there to change very basic functionality.

@lwouis lwouis changed the title Change App on Mouse click only Add preference: disable mouse hover on the thumbnails Jan 24, 2020
@lwouis lwouis added preference Introduction of a new preference and removed S size enhancement New feature or request labels Jan 24, 2020
@PLanB2008
Copy link

+1 for this. Using the mouse while pressing altTab always selects a window I don't really want. In my opinion its more about the selecting the window by hovering than actual selecting it by mouseklick.
Having the option to disable the mousesupport all together would be a great improvement :)

@lwouis
Copy link
Owner

lwouis commented Mar 10, 2020

@PLanB2008 please upvote Kentzo/ShortcutRecorder#114 if you want #72 to move forward. I'm waiting on this to start work on #72

@lwouis lwouis added this to the v4 milestone Mar 11, 2020
@mfn
Copy link

mfn commented Mar 26, 2020

I've also been "hit" by times at times.

HyperSwitch solves this, don't know technically how, in that the first few pixels? ms? of movementsare in fact not triggering the select of the underlying window.

But when you move your mouse more, it does.

@lwouis
Copy link
Owner

lwouis commented Mar 26, 2020

HyperSwitch solves this, don't know technically how, in that the first few pixels? ms? of movementsare in fact not triggering the select of the underlying window.

It does indeed have some interesting behavior. I tested and it's definitely not time based. It is distance based. I think they ignore the first 50px of mouse movement over the whole window. After 50px, they let the mouse interact.

It is not enough for some used like @PLanB2008 who just want mouse off all together, but it may be interesting to implement in addition. Thank you for sharing this observation @mfn!

lwouis added a commit that referenced this issue Apr 1, 2020
lwouis added a commit that referenced this issue Apr 1, 2020
lwouis added a commit that referenced this issue Apr 2, 2020
@lwouis lwouis closed this as completed in 5eade75 Apr 2, 2020
lwouis pushed a commit that referenced this issue Apr 2, 2020
# [3.3.0](v3.2.1...v3.3.0) (2020-04-02)

### Bug Fixes

* .strings encoding should be utf-8 ([7109b08](7109b08))
* avoid having multiple login items ([65816a2](65816a2))
* preferences would not be live (closes [#188](#188)) ([d5b74a1](d5b74a1)), closes [#194](#194)
* simpler/better window focus ([574a640](574a640))

### Features

* localized in 5 new languages ([48bb3df](48bb3df))
* more flexible shortcuts (closes [#72](#72)) ([5eade75](5eade75)), closes [#50](#50) [#125](#125) [#133](#133)
@lwouis
Copy link
Owner

lwouis commented Apr 2, 2020

I just released v3.3.0 which contains a new preference to disable mouse hover selection. I hope you guys enjoy! 👍

I didn't implement the 50px trick. If you think it is still a useful addition, feel free to open a new ticket :)

Feel free to open a ticket if you have any issue with the new version

@janbl
Copy link
Author

janbl commented Apr 2, 2020 via email

@lwouis
Copy link
Owner

lwouis commented Apr 2, 2020

@janbl sorry to hear that the app is crashing for you! I think you are having the same crash as in #202. Could you please see my reply there?

@janbl
Copy link
Author

janbl commented Apr 2, 2020 via email

@lwouis
Copy link
Owner

lwouis commented Apr 2, 2020

Let's continue the conversation in the new ticket #202 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preference Introduction of a new preference
Projects
None yet
Development

No branches or pull requests

4 participants