Describe the bug
In the improved connect dialog handling of #3859, there is an edge case with keyboard navigation.
If the server list from the directory has only one server, it is not possible to select it with the keyboard.
When using Tab to move into the server list, no server is initially selected. Pressing cursor Down or Up
moves to the next server in the list and selects it. However, if there is only one server in the list, the cursor
keys are not accepted, and it is impossible to select that single server without using the mouse.
To Reproduce
Open the connect dialog and select a custom directory which only contains a single server.
One such directory is newjam.softins.co.uk. Using only keyboard, Tab into the server list. The server
is not selected. Press Down or Up. The server remains unselected.
Expected behavior
Being able to select the single server. So that when Tabbing into the list, if there is no saved server from
being previously in the list, it should select the first item by default.
Version of Jamulus
3.12.3dev-a24e09ce, after merge of #3859. Also present in backport #3870 currently, not yet merged.
Additional context
Fix is ready, will raise PR.
Describe the bug
In the improved connect dialog handling of #3859, there is an edge case with keyboard navigation.
If the server list from the directory has only one server, it is not possible to select it with the keyboard.
When using Tab to move into the server list, no server is initially selected. Pressing cursor Down or Up
moves to the next server in the list and selects it. However, if there is only one server in the list, the cursor
keys are not accepted, and it is impossible to select that single server without using the mouse.
To Reproduce
Open the connect dialog and select a custom directory which only contains a single server.
One such directory is
newjam.softins.co.uk. Using only keyboard, Tab into the server list. The serveris not selected. Press Down or Up. The server remains unselected.
Expected behavior
Being able to select the single server. So that when Tabbing into the list, if there is no saved server from
being previously in the list, it should select the first item by default.
Version of Jamulus
3.12.3dev-a24e09ce, after merge of #3859. Also present in backport #3870 currently, not yet merged.Additional context
Fix is ready, will raise PR.