Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIM navigation in context menu is faulty #1475

Open
julianjarjour opened this issue Jun 30, 2024 · 0 comments
Open

VIM navigation in context menu is faulty #1475

julianjarjour opened this issue Jun 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@julianjarjour
Copy link

julianjarjour commented Jun 30, 2024

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 j or end.
  • When adding a track to a playlist, using j to 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 with k. Arrow keys and scroll wheel work as expected.

To Reproduce

  1. open ncspot
  2. use o or shift+o to open the context menu for a track
  3. select "Add to playlist" (you must have enough playlists for a scrollbar to appear)
  4. scroll beyond what is visible using j or up from the bottom using k (this is where faulty scrollbar behavior appears)
  5. try to close the menu by holding j (or pressing end) 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 j or when pressing end.
  • "Add to playlist" in context menu should scroll up and down with the selection when scrolling with j and k.

System
OS: Arch Linux
Terminal: Alacritty
Version: 1.1.1
Installed from: cargo

@julianjarjour julianjarjour added the bug Something isn't working label Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant