Bug 483161

Summary: "Shake Cursor" effect should have some configuration options
Product: [Plasma] kwin Reporter: Eamonn Rea <eamonnrea>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: duha.bugs, fanzhuyifan, nate
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Eamonn Rea 2024-03-10 19:26:14 UTC
SUMMARY
The "Shake Cursor" effect could benefit from a couple of configuration options, especially if it is to be enabled by default. The ones I have in mind are:
- A configurable end delay.  Right now the effect stays for a fairly long time. On macOS, if I'm remembering correctly, the effect ends pretty much as soon as you stop shaking the mouse. On Plasma, it stays for about 3-4 seconds. This may be desired by some, and not others, so exposing a configurable delay makes sense.
- A configurable "start" delay / configuring the amount of shaking required. I haven't checked in a long time, but I think macOS allows you to configure how "much" you have to shake the cursor. Sure, this could be directly tied to mouse sensitivity, but people may want to configure this. I personally think the amount of shaking required is fine, but others may disagree.
- A configurable cursor size. I find the cursor size fine and I think it's large enough that most people will see it (especially now that Plasma 6 sizes cursors properly regardless of scale factor, woohoo!) but some people might want a smaller, or even a larger cursor size. This could be a simple slider to set the value.
- Perhaps a shortcut to enlarge the cursor? This is one I just thought of while writing this report, so it is not as well thought out, but something I wanted to mention as a just-in-case. There is the "Track Mouse" effect that may render this unnecessary, even if they achieve this in different ways.


STEPS TO REPRODUCE
N/A


OBSERVED RESULT
"Shake Cursor" effect has no configuration options.


EXPECTED RESULT
"Shake Cursor" effect should have some configuration options, such as the ones outlined above (although it need not be a prescriptive nor exhaustive list).


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.8 Linux Zen
KDE Plasma Version: 6.0.1
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2
Comment 1 fanzhuyifan 2024-03-10 20:49:09 UTC
IMHO these options don't seem to be useful to the vast majority of users..
Comment 2 duha.bugs 2024-03-10 20:51:49 UTC
(In reply to Eamonn Rea from comment #0)
> SUMMARY
> The "Shake Cursor" effect could benefit from a couple of configuration
> options, especially if it is to be enabled by default. The ones I have in
> mind are:

With 6.1 there is a KCM for it (config options).
Currently there is only the cursor size

> - A configurable end delay.  Right now the effect stays for a fairly long
Possibly a good default time is enough? Not sure how much work it is to implement a setting for this.

> - A configurable "start" delay / configuring the amount of shaking required.
I like the current default setting aswell. But it makes sense if it not to difficult to implement

> - A configurable cursor size. 
With 6.1 there will be an option for this.

> - Perhaps a shortcut to enlarge the cursor?
Disagree with this one. If you want to find your mouse cursor you have your mouse already in your hand. No need to use the keyboard then.
Comment 3 Nate Graham 2024-03-10 21:04:38 UTC
I agree, most of these don't seem generally useful.

In general you'll have a better time if you request individual features one at a time (i.e. one per bugzilla ticket) and justify them based on specific use cases they would enable that can't currently be done with the status quo.