nokyan / resources

Keep an eye on system resources
GNU General Public License v3.0
783 stars 58 forks source link

`Del` key doesn't clear search input #354

Open XhmikosR opened 2 months ago

XhmikosR commented 2 months ago

Is there an existing issue for this?

Current Behavior

When searching in the Processes' or Apps' tab, selecting all text and pressing the Del doesn't clear the input, while Backspace does.

Expected Behavior

The search input text should be deleted when the Del key is pressed

Steps To Reproduce

  1. Open Resources
  2. Go to the Processes tab
  3. Click the search button
  4. Enter some text
  5. Press Ctrl+A to select the search input text
  6. Press Del
  7. Notice that the selected text is not cleared

Environment

Program Version 1.6.0
Package type: Flatpak
System: Fedora Linux 40 (Workstation Edition) x86_64
Hardware info(if applicable): -


### Anything else?

_No response_
nokyan commented 2 months ago

Hi, thanks for the issue. I believe that's because the process list has preference over the search entry for listening to the Del key, I'll look into fixing it soon :)