[GH-ISSUE #144] Complexity in selection indexes #78

Closed
opened 2026-02-28 14:46:50 +03:00 by kerem · 3 comments
Owner

Originally created by @ghost on GitHub (Nov 7, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/144

Selection indexes is common feature in paging, playing tracks, and cursor motion. However, it is difficult to understand when or where an index will be changed. This difficulty cause some unexpected behaviors found in #133 and #137. In addition, i found following error . After i opened AlbumList block from Artists block, went back to Library and open AlbumList block from the Library and select an album, wrong album was selected.

One solution for these problms is to reset states of indexes or pages when pop_navigation_stack is called but this seems to be a temporary one and better solution might exist.

Originally created by @ghost on GitHub (Nov 7, 2019). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/144 Selection indexes is common feature in paging, playing tracks, and cursor motion. However, it is difficult to understand when or where an index will be changed. This difficulty cause some unexpected behaviors found in #133 and #137. In addition, i found following error . After i opened `AlbumList` block from `Artists` block, went back to `Library` and open `AlbumList` block from the `Library` and select an album, wrong album was selected. One solution for these problms is to reset states of indexes or pages when `pop_navigation_stack` is called but this seems to be a temporary one and better solution might exist.
kerem closed this issue 2026-02-28 14:46:50 +03:00
Author
Owner

@ghost commented on GitHub (Nov 8, 2019):

Sorry, the behavior i reported in the previous comment behavior seems to be fixed.

<!-- gh-comment-id:551410810 --> @ghost commented on GitHub (Nov 8, 2019): Sorry, the behavior i reported in the previous comment behavior seems to be fixed.
Author
Owner

@sputnick1124 commented on GitHub (Sep 29, 2020):

Can this be closed, then?

<!-- gh-comment-id:700407414 --> @sputnick1124 commented on GitHub (Sep 29, 2020): Can this be closed, then?
Author
Owner

@ghost commented on GitHub (Sep 29, 2020):

Sorry, i forgot to close this issue. I've closed this.

<!-- gh-comment-id:701021217 --> @ghost commented on GitHub (Sep 29, 2020): Sorry, i forgot to close this issue. I've closed this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#78
No description provided.