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
[FindMyMouse]Add additional settings #14590
[FindMyMouse]Add additional settings #14590
Conversation
@jaimecbernardo |
@jaimecbernardo
|
Focusing on appearance for this PR. |
@htcfreek What do you mean with unit? |
What do I set here? Opacity in percent from 0 to 100? Zoom in pixel from x to y or in percentage from 0 to 100? Maybe a number box is better for the zoom setting? |
Should we mention the bounds for values in the description or not? |
@jaimecbernardo Just a general thought: I wonder if we should auto collapse the appearance and behavior settings for Mouse utilities by default? The extensive customization options are great, but might 'overwhelm' users when opening the page. Especially since we have multiple utilities on a single page. |
You're right, it's an alpha value. Perhaps I'll make it 100.
Doesn't need to be too configurable, although perhaps I'll raise the maximum a bit for this issue: #14539 |
Background color colorpicker doesn't work for me. Whatever I select it stays black |
@stefansjfw , |
Ok. It works :) |
Changed to "how many times larger".
Placed opacity at the beginning.
Changed to percent. Made the minimum 1%.
What would the maximum delay here be? I agree it is somewhat non-sensical to have very large numbers, but I also saw no reason to limit this.
The reason, in my opinion, for not adding bounds to the description is that then those would have to go through the localization cycle if we changed those, which means we could have some outdated |
Sounds like a good change. Applied it. |
Thanks for the feedback. I've committed change or answered to the suggestions so far. Updating description screenshot as well. PTAL |
src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw
Outdated
Show resolved
Hide resolved
As I understood the zoom factor setting is important for photosensitive users. Should we add a warning bar under the setting, that they should not use a too small value? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation looks good. Works good as well
In this case the issue is with big values. A warning makes sense. Added the change and updating the image in the description as well. |
Nice! |
Does it make sense to bind the visibility on the slider value. For example when it's higher than 50% show the warning? 🤔 |
Why not add the warning in the Description instead of an InfoBar (for the sake of leaving out as much as UI as possible, since the list is growing :))? This will also not flag us for Accesibility related things as the InfoBar should be announced when selecting the previous setting. Spotlight initial zoom |
<value>Overlay opacity</value> | ||
</data> | ||
<data name="MouseUtils_FindMyMouse_OverlayOpacity.Description" xml:space="preserve"> | ||
<value>Opacity percentage for the overlay</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the title already self-explainatory? Doesn't add a lot and basically says the same thing twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niels9001 , so perhaps if I just add make the description "Percentage"? Does this make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about simply adding the unit to the end of the first text?
Spotlight radius (px/pixels)
Spotlight inital zoom (factor)
Overlay opacity (%/percentage)
Animation duration (ms/milliseconds)
Then (imo) only the zoom factor would need a secondary text.
#KISS (keep it short and simple)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be resolved in a way that it's flexible and can be used across all modules (e.g. setting the opacity for Shortcut Guide overlay, or Zone Opacity for Fancy Zones).
One elegant solution could be adding it to the tooltip:
Other option is to add it after the input control. E.g.:
[ NumberBox ] ms
[ Slider ] %
I've created #14607 for this so we can keep this as is and @jaimecbernardo can continue doing awesome things :)!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niels9001 , like this? |
src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw
Outdated
Show resolved
Hide resolved
I don’t want to make that claim without having the low vision board for photo sensitive. Let’s please remove that statement and have them test it. There are tons of nuances here so I don’t want to make assumptions |
@crutkas , |
@niels9001 , Waiting for your approval and I think this can go in after that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary of the Pull Request
What is this about:
Add more settings to Find My Mouse.
What is include in the PR:
Settings for:
How does someone test / validate:
Change some settings and see them applied to Find My Mouse.
Quality Checklist