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

Draw the line for a Trail even if all its Tracks are offscreen #1472

Open
2 tasks
johnwdubois opened this issue Aug 24, 2024 · 0 comments
Open
2 tasks

Draw the line for a Trail even if all its Tracks are offscreen #1472

johnwdubois opened this issue Aug 24, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@johnwdubois
Copy link
Owner

Bug

  • Lines between 2 successive Tracks in a Trail disappear (when the Tracks are too far apart to be shown on screen).
  • This can be confusing to users, as if the link has been lost.
  • A less confusing solution is needed.

To Reproduce
Steps to reproduce the behavior:

  1. Make a Trail with Tracks in Units that are far enough apart that each of 2 successive Tracks cannot be seen on-screen at one time.
  2. For contrast, also make some Tracks in nearby Units (with consistently visible Trail lines).
  3. Hit ESC to de-select the Trail (to eliminate the pick-whip).
  4. Starting from the first Track in the Trail, scroll down until you can no longer see the first Track, nor its line, nor any other Track in the Trail.
  5. See how the lines disappear.

Goal
A less confusing solution would be to:

  • keep showing the line for the Trail on-screen
  • even when it's Tracks are off-screen
  • but in a way that does not interfere with other Trails whose Tracks are currently visible on-screen.

What to do

  1. While a Trail is selected, and scrolling results in no Tracks being visible on-screen (causing the Trail line to disappear), do this:.
  • flag the Trail as TrailIsOffscreen = TRUE
  • a VirtualTrack should be created "just" offscreen
  • distinguish between VirtualTrackIsOffscreenAbove = TRUE vs. VirtualTrackIsOffscreenAbove = FALSE (i.e. below)
  1. The X position of the virtual Track can be:
  • an arbitrary position toward the right side of the screen (where the screen is mostly empty; this would avoid overloading the screen with "long-distance"/"off-screen" Trails.
  • the last known X position of the relevant Track (before it scrolled offscreen)
  • a combination of the 2 above, sliding from one to the other
  1. Draw the lines to connect the offscreen Trails (preferably on the far right of the screen).
  2. Do this for all offscreen chains that involve lines:
  • offscreen Trails
  • offscreen Resonances
@johnwdubois johnwdubois added bug Something isn't working enhancement New feature or request labels Aug 24, 2024
@johnwdubois johnwdubois added this to Core Aug 24, 2024
@github-project-automation github-project-automation bot moved this to To do in Core Aug 24, 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 enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant