pop-os / cosmic-launcher

WIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text field does not maintain focus with certain keyboard inputs.

XV-02 opened this issue · comments

As designed (figma), text entry should always maintain input focus when using cosmic-launcher. This is not currently the case when using keyboard inputs.

For example: It should be possible to open a file at any location in the file system by typing the file path. This feature should also support tab completion in launcher.

In this case, I wish to open the "Cosmic-components" folder in my user's home folder. I type ~/Cos
screenshot-2024-02-29-20-57-56_crop

I then hit [tab], and two failures occur: The first is that the focus is removed from the text field. The second is that the path does not tab-complete (probably because of the loss of focus):
screenshot-2024-02-29-20-58-08_crop

Searching for an application can have a similar problem. If I am for a Cosmic application I might type cosmic and then want to navigate through search results with arrow keys. When I do so, the text field loses focus:
screenshot-2024-02-29-21-12-01_crop screenshot-2024-02-29-21-12-13_crop

Our current gnome release for launcher allows the use of tab or of up/down arrows to navigate the results without loss of focus.