helio-fm / helio-sequencer

Libre music sequencer for desktop and mobile platforms
https://helio.fm
GNU General Public License v3.0
3.13k stars 115 forks source link

[linux] Playback cursor disappears out of sight when zoomed out far enough. #299

Closed toadzroc closed 6 months ago

toadzroc commented 8 months ago

This is a question, not a bug, not yet anyway.

I've written a test piece where the number of bars exceed the width of my screen. When I initiate playback in the edit window, and the playback cursor rolls, it goes to the right (obviously) and disappears out of sight. The canvas doesn't refresh to keep the playback cursor in view. I need to use the minimap to reposition the edit view.

Is this behaviour to be expected, or is it a setting i've missed somewhere?

EDIT: The canvas scrolls during playback when zoomed in closely, but ceases to do so when zoomed a fair way out.

peterrudenko commented 8 months ago

Thanks for bringing it up! Following the playhead has been half-baked since the first versions (hitting Space doesn't follow, hitting Enter starts following).

In the latest development build, I added a "catch playhead" flag to the settings, which should make it behave more consistently and, hopefully, less annoying: it will only follow the playhead if it's not in the viewport or about to leave it. If you manually move the canvas, it will stop following, but you can resume it by pressing Enter. Also even if "catch playhead" is turned off, you can catch playhead once by pressing Enter while playback.

If you have any suggestions for improving it, please shout.