ProcessSpy-public icon indicating copy to clipboard operation
ProcessSpy-public copied to clipboard

Delete key after empty search triggers process closing dialog

Open abd3lraouf opened this issue 7 months ago • 3 comments

Describe the bug Pressing the Delete key after entering a search term that yields no results triggers the process closing/confirmation dialog unexpectedly.

To Reproduce

  1. Launch ProcessSpy
  2. Enter a search term that will return no matching processes
  3. Press the Delete key
  4. Observe: the process closing dialog appears instead of simply deleting the search text

Expected behavior The Delete key should delete the search text character by character within the search field, or have no effect if the search field is empty. It should not trigger the process closing dialog when no process is selected.

Desktop (please complete the following information)

  • macOS version: [your macOS version]
  • ProcessSpy version: [your version]
  • Mac system config (processor, RAM)

Additional context This appears to be a focus/input handling issue where the Delete key is being interpreted as a command to close the selected process rather than as a text editing key within the search field.

abd3lraouf avatar Apr 16 '26 16:04 abd3lraouf

Hi @abd3lraouf,

thank you for reporting this. I was able to reproduce the alert dialog being shown when no process is selected. However I couldn't reproduce the case when Search field has focus and Delete key is pressed - that works as expected.

Could you double check? Maybe there is a specific sequence of actions that need to be performed in order?

robert-v avatar Apr 17 '26 08:04 robert-v

Hi @abd3lraouf,

thank you for reporting this. I was able to reproduce the alert dialog being shown when no process is selected. However I couldn't reproduce the case when Search field has focus and Delete key is pressed - that works as expected.

Could you double check? Maybe there is a specific sequence of actions that need to be performed in order?

My bad. I meant to say the delete dialog was visible by pressing delete and when search returns nothing

abd3lraouf avatar Apr 17 '26 16:04 abd3lraouf

This has been fixed in version 1.12.0

robert-v avatar Apr 24 '26 12:04 robert-v