PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

CmdPal: error in calc after pressing Space button

Open dnlw07 opened this issue 11 months ago • 0 comments

Microsoft PowerToys version

0.91

Installation method

PowerToys auto-update

Area(s) with issue?

Command Palette

Steps to reproduce

after pressing = and then Space the error occurs:

Value cannot be null. (Parameter 'input')
Microsoft.CmdPal.Ext.Calc
   at Microsoft.CmdPal.Ext.Calc.Helper.CalculateHelper.InputValid(String input)
   at Microsoft.CmdPal.Ext.Calc.Helper.QueryHelper.Query(String query, SettingsManager settings, Boolean isFallbackSearch, TypedEventHandler`2 handleSave)
   at Microsoft.CmdPal.Ext.Calc.Pages.CalculatorListPage.UpdateSearchText(String oldSearch, String newSearch)
   at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()

✔️ Expected Behavior

Space value should be ignored and not allowed be inserted.

❌ Actual Behavior

Image

Additional Information

No response

Other Software

No response

dnlw07 avatar May 22 '25 21:05 dnlw07