Bug 464152

Summary: Factors should remain visible while you type a formula
Product: [Plasma] plasmashell Reporter: contact
Component: Calculator widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: bugseforuns, nate
Priority: NOR Keywords: usability
Version First Reported In: master   
Target Milestone: 1.0   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Idea for a really nifty calculator UX, that would be cool but also maybe out of scope.

Description contact 2023-01-11 14:34:19 UTC
1. open Calculator
2. type 1 + 2

OBSERVED BEHAVIOR:
The Calculator displays "2".

EXPECTED BEHAVIOR:
The Calculator displays "1+2"

ADDITIONAL INFORMATION
I am aware, that this is how old-school physical calculators used to work, but I think it is impractical in a modern Desktop, for the meta discussion, visit Ticket #463809.
Comment 1 Nate Graham 2023-01-11 16:43:55 UTC
So you would prefer that the formula not be calculated until you explicitly click the = button?
Comment 2 contact 2023-01-11 18:37:28 UTC
(In reply to Nate Graham from comment #1)
> So you would prefer that the formula not be calculated until you explicitly
> click the = button?

Yes.
Additionally, I really like the android implementation:

It will show you the entire formula, but also the current result of your calculation greyed out.

When you hit enter, your formula then gets replaced with the result.

I've also mocked up a concept for a really neat behavior in this regard, but that might be feature creep.
Comment 3 contact 2023-01-11 18:38:33 UTC
Created attachment 155217 [details]
Idea for a really nifty calculator UX, that would be cool but also maybe out of scope.
Comment 4 Nate Graham 2023-01-11 21:25:38 UTC
Gotcha. Kalk does it that way. Seems reasonable.
Comment 5 Nate Graham 2023-01-11 21:26:03 UTC
*** Bug 464154 has been marked as a duplicate of this bug. ***