fabrialberio / PinApp

GNU General Public License v3.0
78 stars 7 forks source link

[Bug]: Search bar loses focus after clicking on app and pressing Ctrl + F again #18

Closed hyuri closed 1 year ago

hyuri commented 1 year ago

Describe the bug

Pressing Ctrl + F (bringing up the search bar), typing an app's name, clicking on the entry for the app and then pressing Ctrl + F again erases the the app's name from the search bar and does not focus the search bar.

What I expected to happen: Pressing Ctrl + F should always set focus to the search bar.

To Reproduce

Steps to reproduce the behavior:

  1. Press Ctrl + F
  2. Type the name of an app you have installed
  3. Click on the app in the search result
  4. Press Ctrl + F
  5. See how the search phrase is removed from the search bar and the focus is not set to the search bar

Screenshots

Searching for Olive then clicking on it (it's not opening for editing when I click on it, by the way. I'll file another bug report): image

Then I press Ctrl + F again — it clears the search bar and doesn't set the focus on it: image

Linux distribution

Pop!_OS 21.10 Gnome 40.4.0 (on X11)