-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
PowerToys Run - Unit converter - Can´t use abbreviations #21472
Comments
It can, like you can do 10m to in and will work, looks like this conversion needs some TLC overrides |
You can try |
Hi @jaimecbernardo and @ethanfangg, what does this issue need? Should we close it? Should I open a PR with the extra abbreviations for |
Hi @GhostVaibhav , I assume this hasn't been tested in a while. If it's still not working, I guess a PR that fixes it would be welcome. Thank you! |
@jaimecbernardo, I have tested it yesterday. It works with |
@GhostVaibhav , there is something that we can do on our side as well, we are converting some units before sending them to UnitsNet: https://github.com/microsoft/PowerToys/blob/3b7adbe6acc381d11d8e17866da4b79444679c08/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/InputInterpreter.cs |
@jaimecbernardo Oh, my bad. It went under my radar. Maybe, I can fix it then. Could you assign it to me? |
Just did. Thanks a lot for picking this up 😄 |
A few quick thoughts
|
Hi @Jay-o-Way
|
Microsoft PowerToys version
0.63.0
Installation method
GitHub, PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
When I type something like "10kph in mph" the unit converter plugin doesn´t recognise it. It also doesn´t change anything if I use the direct activation command.
Instead I need to type "10 kilometerperhour in mileperhour" to get a result.
This isn´t the case for all units e.g. "10ft in m" works fine.
✔️ Expected Behavior
Recognise an input if abbreviations are used and convert it correctly.
❌ Actual Behavior
Only recognises an input if no abbreviations are used.
Other Software
No response
The text was updated successfully, but these errors were encountered: