tildearrow / furnace

a multi-system chiptune tracker compatible with DefleMask modules
GNU General Public License v2.0
2.08k stars 188 forks source link

Cursor in pattern order does not follow pattern selected in pattern editor. #1980

Open Soulchip opened 1 week ago

Soulchip commented 1 week ago

When the user scrolls the patterns on the pattern editor the pattern order cursor scrolls with it but the window does not scroll, so the user loses track of what pattern order he is in.

Expected result: The pattern order should scroll up or down when the cursor leaves the viewable area and follow the pattern order cursor.

gtr3qq commented 1 day ago

I'm sorry, but I've spent a week thinking what you mean by it don't follow. Tried recreating per your description, I see noting obviously wrong.
And I'm still bit confused to this day. Believe devs might also be confused.

could you provide more info on the problem? perhaps a video

Soulchip commented 1 day ago

I'm very sorry, I'll use chatGPT to create a better explanation.

ChatGPT explanation:

"When a user is working on a pattern in the pattern editor, that pattern is highlighted in the pattern list and order.

image

However, when the user navigates between patterns in the editor, the highlighted cursor in the pattern list and order does not follow the user's movements. The scroll bar stays in place and never moves.

Recently, a similar bug was fixed in the instrument list. Previously, when moving an instrument in the list, the window did not scroll to keep the instrument in view, causing the user to move the instrument beyond the visible area. This bug is now fixed, and the instrument list scrolls to follow the selected instrument.

The pattern list and order should work the same way. As I navigate through patterns in the editor, the pattern list and order should scroll to keep the currently edited pattern in view.

Currently, this does not happen, and the user must manually scroll after moving through several patterns to see the one they are working on, especially when copying and pasting patterns that are too far apart from each other."

image

In my image here, i'm positioned on pattern 04, but you cannot see the cursor because it went beyond what the scroll position, because the scroll is not following the highlighted pattern. This happens all the time and it's very annoying when making a duplicate of a pattern or copying a pattern on the beginning of a song and pasting it at the very end.