filter has no effect
Attempting to filter the output of zenity with ctrl+f
and a term has no effect.
Steps to reproduce problem:
- run
zenity --list --checklist --column "Buy" --column "Item" TRUE Apples TRUE Oranges FALSE Pears FALSE Toothpaste
- press
ctrl+f
and enter "pears" into box, or simply type "pears", thectrl+f
part is not necessary - press enter
Actual behavior:
The search box closes and there is no filtering of displayed rows or change in focus of rows. It seems to do nothing, except that typing 't' highlights the "Apples" row, and typing 'f' highlights the "Pears" row, but then toggling the check mark with the space bar no longer works. I have no idea what the meaning of t and f are.
Expected behavior:
I expect that the only row displayed would be the one with "Pears".
I expect that a case insensitive matching would be done against the text in each row, updating displayed rows as the search term is typed, so that only rows with matching strings are displayed, even before pressing enter (this helps with finding things). Then, we might have to press a key, such as enter, to stop the text entry mode and begin navigating the filtered list. Then, the user can use the arrow keys to move up or down between rows, and press the space bar to check or uncheck any items displayed. Then, when finished with the filtered view, the user can press the escape key to end the filtered view and return to the original list, or type a new term to perform a new filtering. This functionality becomes useful with long lists.
Software used:
- ubuntu 22.04
- gnome-shell 42.5-0ubuntu1
- zenity 3.42.1-0ubuntu1