elementary / applications-menu

Applications Menu for elementary OS and the Pantheon desktop environment
https://elementary.io
GNU General Public License v3.0
103 stars 35 forks source link

Entering search terms in capitals results in unexpected calculation #538

Closed jeremypw closed 2 years ago

jeremypw commented 2 years ago

What Happened?

When entering a search term with CAPSLOCK accidentally on, a calculation result was shown:

Screenshot from 2022-07-04 19 57 15

Some experimentation showed that a single letter produced a sensible answer based on A = 10, B = 11 etc but two letters always returned 99, three letters 999 etc.

Not sure if this is an attempt to give a hexadecimal conversion but in anycase it would make more sense to only perform a calculation if the search term finished with =.

Steps to Reproduce

  1. Open the Application Menu
  2. Type something in capital letters
  3. See strange calculation result

Expected Behavior

Calculations should only be performed an actual expressions and should give the correct answer

OS Version

7.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

peteruithoven commented 2 years ago

This might be a duplicate of #474?

jeremypw commented 2 years ago

Oops yeah, this has been reported several times before. Closing.