This troubled me for a long time but I couldn't find the exact cause. Finally I found it: When entering a new form if the user presses shift-tab (or up) then the menu enters an infinite loop when calling prev_focusable().
The attached patch fixes this by making the first focusable item selected on form startup. Not sure if there is a more elegant way to do this but it works at least :)
This troubled me for a long time but I couldn't find the exact cause. Finally I found it: When entering a new form if the user presses shift-tab (or up) then the menu enters an infinite loop when calling prev_focusable().
zui.zip
The attached patch fixes this by making the first focusable item selected on form startup. Not sure if there is a more elegant way to do this but it works at least :)