ncspot
ncspot copied to clipboard
VIM navigation in context menu is faulty
Describe the bug
VIM up-and-down navigation (j and k) have two main issues in the context menu:
- Close button is accessible via arrow keys but not via pressing
jorend. - When adding a track to a playlist, using
jto scroll down results in the selection moving beyond visibility and the scrollbar not adjusting. The same occurs when trying to scroll up from the bottom of the list withk. Arrow keys and scroll wheel work as expected.
To Reproduce
- open ncspot
- use
oorshift+oto open the context menu for a track - select "Add to playlist" (you must have enough playlists for a scrollbar to appear)
- scroll beyond what is visible using
jor up from the bottom usingk(this is where faulty scrollbar behavior appears) - try to close the menu by holding
j(or pressingend) to select the close button
Try the same steps using arrow keys to see expected behavior.
Expected behavior
- Close button should be selected when scrolling to the bottom with
jor when pressingend. - "Add to playlist" in context menu should scroll up and down with the selection when scrolling with
jandk.
System OS: Arch Linux Terminal: Alacritty Version: 1.1.1 Installed from: cargo
for the close button we can do a workaround by using back keybinding to close it