Bug 464153

Summary: Calculator does not follow precedence rules
Product: [Plasma] plasmashell Reporter: contact
Component: Calculator widgetAssignee: contact
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate, niccolo
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description contact 2023-01-11 14:42:30 UTC
REPRODUCE:
1. Type 1+2*3 
2. Press Enter

Expected: 7
Observed: 9

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 Niccolò Venerandi 2025-10-21 09:18:01 UTC
This is not what the calculator widget is for. If you want to want to perform more complex math, other widgets can help you there; as an example, the Application Launcher is able to do even very complex maths through the search box, allows editing the input, and allows to be pinned to stay open. The calculator widget is not meant to be that.