microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.35k stars 6.55k forks source link

PowerToys Run history only includes calculations if you have copied or pressed Enter #35786

Open marypcbuk opened 6 days ago

marypcbuk commented 6 days ago

Microsoft PowerToys version

0.85.1

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. type in a sum in PowerToys Run
  2. do NOT select the result or press Enter
  3. use !! to get a history list
  4. notice that the sum does not appear despite this text in the documentation. "If you recently did some math like = 1245+6789, and you need to recall it, it will be in the history. You can find it with !! 678 or even !! 8034."

✔️ Expected Behavior

The documentation leads me to expect that all calculations will be accessible in history even if I didn't copy them.

❌ Actual Behavior

the calculation is not shown in the history.

If this is the intended behaviour then it's an issue with the documentation rather than with PowerToys Run but it would be really useful to be able to get back to a calculation I did earlier in the day and need to look back at because I didn't remember to copy it at the time!

Other Software

No response

IamSmeagol commented 5 days ago

I experience the same thing on v0.86.0 however, I don't think the docs need to be updated. It states "[...]" previously selected results from other plugins" in the first line of the history's documentation. The examples below it can easily misunderstood if you miss that line. Maybe some additionally emphasis is needed.

marypcbuk commented 5 days ago

the 'previously selected results' is clear, but the mention of calculations without repeating that is what I found confusing because there are lots of things I can do with the result of a calculation that don't need me to select it and I feel that's not true of most other types of results.

IamSmeagol commented 5 days ago

Calculator is unique in that you don't always select the result, most run plugins you always select it. I suppose you could change to a feature request for an option to have all calculator outputs get added to history or you could request extra clarification for the docs. What do you think?

marypcbuk commented 5 days ago

personally I'd prefer the first (or maybe an option to have that if people feel it would be too intrusive as the default); at the very least I think the docs should note how people do tend to use calculator differently so this may not match what they expect.