feat: shake cursor to find by magnifying the cursor - #2610
Conversation
Drakulix
left a comment
There was a problem hiding this comment.
Seems sane to me (and I personally adore the feature, is the maximum unlimited like in KDE?). Probably needs approval from @pop-os/ux though.
940858e to
d230e20
Compare
It is now! recording-2026-07-21_10-31-23-trimmed.mp4I also changed the default values to be closer to KDE's. For example hold the large cursor for 2 seconds before shrinking (it was 1 before). |
|
Now we just need SVG cursors 🥹 |
|
|
Do we want to add any of the values as a config? For example sensitivity? Not necessarily in the GUI, but in the config files? |
d230e20 to
8e392e1
Compare
|
@hojjatabdollahi Maria agreed to add this feature, but we want a toggle in the Accessibility->Vision section to disable it (on by default). I don't think we need any configuration beyond that. Could you make a cosmic-settings PR for this as well? |
Drakulix
left a comment
There was a problem hiding this comment.
One minor thing, but looks good code-wise!
|
@Drakulix I'm afk till Sunday. But I do have a draft for settings pop-os/cosmic-settings#2100 Feel free to update any of my PRs, or I will do it as soon as I'm back. |
8e392e1 to
f507948
Compare
Drakulix
left a comment
There was a problem hiding this comment.
Thanks! Looks good from the code-side of things. :)
leviport
left a comment
There was a problem hiding this comment.
This is working great! I like the feature.
|
Very helpful, I appreciate it, thank you very much! |
This adds the feature to shake the cursor to locate it.
The algorithm is based on KDE's implementation. Collect the distance the cursor moved in the past 1 second, and divide by the diagonal of the bounding box, if it's more than a threshold, then the user is shaking their cursor.
recording-2026-07-20_16-22-08.mp4