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

Mac Style "Find cursor" ease of access (shake to find) #131

Closed
lordlycastle opened this issue May 29, 2019 · 33 comments
Closed

Mac Style "Find cursor" ease of access (shake to find) #131

lordlycastle opened this issue May 29, 2019 · 33 comments
Assignees
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-Mouse Utilities Refers to the Mouse Utilities PowerToy Product-Tweak UI Design Refers to the idea of a UI Design tweaker Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@lordlycastle
Copy link

Whenever you lose your mouse, on multi-monitor set up it can be difficult to find it. So implement the mac's shake to increase size features as shown here.

@hugobloem
Copy link

A similar feature is available if you press the CTRL key. It can be found under Settings>Devices>Mouse>Additional mouse options>Pointer options>Check: show location when CTRL is pressed.

@lordlycastle
Copy link
Author

@hugobloem thanks for pointing that out. That'll do for now. Pretty hidden setting IMO.

@SocietasEvanescentes
Copy link

Yes. The CTRL look is ugly. They need to update it with fluent design. It looks like it came straight from Windows Vista.

@crutkas crutkas changed the title Shake Mouse to Increase Size Mac Style "Find cursor" ease of access Dec 7, 2019
@crutkas crutkas added Idea-New PowerToy Suggestion for a PowerToy Product-Tweak UI Design Refers to the idea of a UI Design tweaker labels Dec 7, 2019
@niels9001
Copy link
Contributor

Super useful feature. I have a 3 monitor setup with different screensizes and lose my mouse almost every day while not always having my other hand on the keyboard.

There seems to be a Windows app doing this. On Mac, it's called 'Shake to Find'.

More info on the Windows client: https://www.addictivetips.com/windows-tips/shake-to-find-cursor-windows-10/

Could we update the topic name to represent 'Shake to Find' so it's easily to track?

@crutkas crutkas changed the title Mac Style "Find cursor" ease of access Mac Style "Find cursor" ease of access (shake to find) Jan 20, 2020
ryanbodrug-microsoft pushed a commit to ryanbodrug-microsoft/PowerToys that referenced this issue Apr 14, 2020
* fix typo

* make function obsolete 

it is not used in the code

* rewrite the function that converts chinese chars to pinyin

1. Only difference in this rewrite is instead of returning 2D array, return as a combined single string of all the possible pinyin combination. Since fuzzy search does character matching, this shouldn't be a problem.

2. Added a function that returns a custom language converter. In this case Pinyin converter. New converters can be added.

* Use new language converter param + strip out ScoreForPinyin method

* update

* Change parameter name

* fix failing tests

* WIP

* Remove todo

There should be some distinction between score after precision filter and actual raw score derived from FuzzySearch. Although so far RawScore is used in testing, but it seems to describe the structure. Originally it was to avoid assigning score directly as it would be hard to reason about that output of FuzzySearch score is.

* Add constructors, remove default to enforce required properties

* remove setting rawscore in SearchPrecision

* Change method name to reflect intention

* Change parameter name + update comment

* update

* Remove params comment

Co-authored-by: theClueless <14300910+theClueless@users.noreply.github.com>
@huysentruitw
Copy link

If there's any interest in this feature, I'm volunteering to get working on this.

@jhv2017kam
Copy link

jhv2017kam commented Feb 2, 2021

From #9409:

When having several screens you some times loose track of the mouse, enabling press ctrl to highlight mouse pointer with circles helps but not always visible enough.
But it would be nice if there was a taskbar icon with an arrow pointing at the mouse
alternative there could be an indication on the miniature of all screens in the Short Cut guide e.g. a crosshair

motivation: I some times work on a setup with four monitors: three 24" and on 37" (4k)

@niels9001
Copy link
Contributor

@huysentruitw: If there's any interest in this feature, I'm volunteering to get working on this.

@crutkas FYI

@huysentruitw
Copy link

huysentruitw commented Feb 2, 2021

I had a short discussion about this with @crutkas on Twitter some time ago. He pointed (see what I did here) out that resizing the mouse cursor is not a public API. In this repository there seem to be 2 intern projects started around this topic, but the code is premature AFAICS. Maybe we should nag the Windows API team first to add a mouse-resizing API?

Other options are to draw a circle around the mouse, but that will never look as sleek as the MacOSX feature.

@jhv2017kam
Copy link

@huysentruitw
Did you se my idea about a task bar icon with an arrow pointing at the mouse?

@huysentruitw
Copy link

huysentruitw commented Feb 2, 2021

@huysentruitw
Did you se my idea about a task bar icon with an arrow pointing at the mouse?

Yes, but I'm not a fan of that either as users have many configuration options for their taskbar, would be hard to handle all cases. F.e. how usefull would that be on a 49" ultra-wide, with taskbar aligned to the left?

@niels9001
Copy link
Contributor

I had a short discussion about this with @crutkas on Twitter some time ago. He pointed (see what I did here) out that resizing the mouse cursor is not a public API. In this repository there seem to be 2 intern projects started around this topic, but the code is premature AFAICS. Maybe we should nag the Windows API team first to add a mouse-resizing API?

Other options are to draw a circle around the mouse, but that will never look as sleek as the MacOSX feature.

https://twitter.com/ClintRutkas/status/1321142508756238338?s=19

Raymond Chen did a pretty nice concept drawing a 'spotlight' on top of the mouse cursor. Except for nagging the Windows API team (which we should!), we could maybe think of different ways of highlighting the cursor?

@jhv2017kam
Copy link

@huysentruitw

You could change the size/length of the arrow depending on how far away the mouse is.
But I guess there could be some work in figuring out where the taskbar icon it self is located

@huysentruitw
Copy link

I had a short discussion about this with @crutkas on Twitter some time ago. He pointed (see what I did here) out that resizing the mouse cursor is not a public API. In this repository there seem to be 2 intern projects started around this topic, but the code is premature AFAICS. Maybe we should nag the Windows API team first to add a mouse-resizing API?
Other options are to draw a circle around the mouse, but that will never look as sleek as the MacOSX feature.

https://twitter.com/ClintRutkas/status/1321142508756238338?s=19

Raymond Chen did a pretty nice concept drawing a 'spotlight' on top of the mouse cursor. Except for nagging the Windows API team (which we should!), we could maybe think of different ways of highlighting the cursor?

That looks cool! I only wonder how performant that will be when painting an overlay like that on a 5120x1440 resolution with a standard graphics card.

@jhv2017kam
Copy link

@huysentruitw

FWIW: Greenshot (https://getgreenshot.org/) does something similar when "Capture region" (never tried to use that for locating mouse though)

@crutkas
Copy link
Member

crutkas commented Feb 2, 2021

@niels9001 i have access to Raymond’s stuff and well chances are use that as a base.

@niels9001
Copy link
Contributor

@niels9001 i have access to Raymond’s stuff and well chances are use that as a base.

Sharing is caring 😁

@absalan
Copy link

absalan commented Apr 28, 2021

@huysentruitw Any update on this?

@huysentruitw
Copy link

@absalan Not from my side. I'd prefer a mac-style enlarging cursor above the last proposed spotlight-solution. But for enlarging the cursor, we would need the Windows team to expose an API to do it, otherwise we'll have to fiddle with mouse cursor (https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setcursor) on the fly and that code can get pretty messy. Knowing that the Windows team already has that code for the 'Mouse pointer' dialog:

image

@absalan
Copy link

absalan commented Apr 30, 2021

@huysentruitw Thanks for reply. To be honest I found your idea to be the best for me at least. When you have more then 5 monitors, sometime it really annoying to find the cursor. But when all the screens goes dark and focus goes to the cursor with a white circle around it, it will be much easier to find the cursor. I wish we could add that feature to PowerToys. I'll try if I can write some code with some hacks to do that.

@G3NSVRV
Copy link

G3NSVRV commented May 24, 2021

@crutkas
Copy link
Member

crutkas commented May 26, 2021

@G3NSVRV / @absalan best of my knowledge, both those APIs for for the actually app. If i'm wrong, happy to check out a POC.

@eried
Copy link

eried commented Jun 9, 2021

would not be easier to overlay a fake cursor? (instead of enlarging the real one)

PS: I have been looking for a solution (because the CTRL one it is quite ancient feeling) without much luck i.e. http://spinalcode.co.uk/2018/11/06/windows-shake-to-find-cursor/

@G3NSVRV
Copy link

G3NSVRV commented Jun 14, 2021

would not be easier to overlay a fake cursor? (instead of enlarging the real one)

PS: I have been looking for a solution (because the CTRL one it is quite ancient feeling) without much luck i.e. http://spinalcode.co.uk/2018/11/06/windows-shake-to-find-cursor/

that is the worst solution, the new cursors on win10 I believe are not ani files anymore, and behaves like if they were SVG files, since the resize and colouring is more seamless/accurate, and does not pixelate.

@jibbers42
Copy link

Unless I'm misunderstanding, it seems like the current plan might be to use a hokey. Please consider making this feature shake to activate (or an option for shake and/or hotkey). Reasons:

  • I rarely look for my mouse before I start moving it. I tend to think I know where it is already or that I will find it as soon as it moves a bit. If it don't see it right away then I give it a shake. My hand is already on the mouse so why make the cognitive switch to position for and activate a hotkey? This works great on both Ubuntu and MacOS.
  • I dislike the old-school "radar" assist because it's Ctrl to activate and that means it's activating constantly while I work.

@MikeBee
Copy link

MikeBee commented Jul 26, 2021

If there's any interest in this feature, I'm volunteering to get working on this.

I'm very interested. Is there an option to see/compile your fork, or is it private?

@jim0203
Copy link

jim0203 commented Jul 28, 2021

I was working with a client this morning who would love to have access to a "shake to find" cursor. It seems like a lot of people prefer it to the "control to locate" functionality you get in Windows. Has there been any progress on this?

@crutkas crutkas added the Status-In progress This issue or work-item is under development label Oct 20, 2021
@crutkas
Copy link
Member

crutkas commented Oct 20, 2021

in pull request :)

@Aaron-Junker Aaron-Junker added the Product-Mouse Utilities Refers to the Mouse Utilities PowerToy label Oct 20, 2021
@jaimecbernardo jaimecbernardo self-assigned this Oct 20, 2021
@franky920920 franky920920 added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Status-In progress This issue or work-item is under development labels Oct 22, 2021
@dedavis6797
Copy link
Contributor

Resolved with v0.49.0.

@xylplm
Copy link

xylplm commented Nov 20, 2021

Now double-click to find the pointer is not easy to use. Many times I can't click. Multiple desktops are full screen operation. It is hoped that there will be other solutions, at least in the current Mac, shaking the mouse and zooming in is the optimal solution. It does not affect mouse events, and the mouse can be found.

@franky920920
Copy link
Contributor

Now double-click to find the pointer is not easy to use. Many times I can't click. Multiple desktops are full screen operation. It is hoped that there will be other solutions, at least in the current Mac, shaking the mouse and zooming in is the optimal solution. It does not affect mouse events, and the mouse can be found.

We are discussing this in #14028. 😄

@danmoseley
Copy link
Member

Some folks on this thread may be interested in trying out the upcoming crosshairs feature as well -- #15632

@IveMalfunctioned
Copy link

Lol literally suggesting to Microsoft that they copy Apple

@lordlycastle
Copy link
Author

@IveMalfunctioned This is an accessibility feature. Yes it should be copied. Apple does not own idea of accessibility. And there is no need to fix something that’s broken.

Lots Of Love! ❤️

@crutkas crutkas mentioned this issue Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-Mouse Utilities Refers to the Mouse Utilities PowerToy Product-Tweak UI Design Refers to the idea of a UI Design tweaker Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests