elementary / calculator

Calculator app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
79 stars 29 forks source link

App crashes on paste after / or * operators #266

Closed krisgesling closed 9 months ago

krisgesling commented 9 months ago

What Happened?

The app crashes consistently when pasting a numerical value after entering a math operator

Steps to Reproduce

  1. Launch calculator
  2. Type a number then either times or divide: eg 2* or 2/
  3. Copy a numerical value from text
  4. Paste the value into the the calculator
  5. App crashes
  6. If you repeat the process but in step 2 use a + or - then the app accepts the input fine.

Expected Behavior

Ability to paste in values regardless of the operator being used.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

jeremypw commented 9 months ago

This issue has been fixed in master by fbc12436ac9f9be42fc08a463a1c15e2606950cc