microsoft / microsoft/calculator
Converter doesn't automatically flip from & to fields during conversion
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 31.1k
- Forks
- 5.8k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Converter doesn't easily flip the from & to fields during conversions (Temperature, Volume, Speed etc.)
Steps To Reproduce
Steps to reproduce the behavior:
- Launch Calculator
- Click on Menu and open the Temperature Converter
- It loads Celsius to Fahrenheit
- Try to flip the conversion
- Change first field from Celsius to Fahrenheit
- Change second field from Fahrenheit to Celsius
Expected behavior
It would be nice if the converter could automatically flip the from & to values during conversion. If a Celsius-> Fahrenheit conversion is changed to Fahrenheit -> Fahrenheit conversion then it should be modify it to Fahrenheit -> Celsius similar to how most of these converters work online. In the above steps if the user shouldn't have to perform step #6.
Screenshots

Device and Application Information (please complete the following information):
- OS Build: 10.0.17763.0
- Architecture: X64
- Application Version: 10.1812.10048.0
Additional context
Might also be good to add a flip or exchange button to directly flip the to & from fields.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior in Calculator's Temperature Converter using the listed steps, then trace the converter controls for the from and to selections. The work is done when changing one selection automatically exchanges the other selection across the listed converters, with an optional direct flip or exchange control if supported by the existing design.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100