johnwdubois/rezonator

Chunk-box still draws after its chunk has been scrolled off the screen

Opened this issue · 4 comments

Bug
A Chunk's box still draws at the top of the screen, even after the chunk has been scrolled off the top of the screen.

To reproduce

  1. Make a Rez chain with a chunk in line N, and a second chunk in line N+1.
  2. Scroll down so that line N is off-screen, but line N+1 is still visible (at the top of the screen).
  3. The problem does not occur when scrolling chunks off the bottom of the screen.
  4. Do the same for Tracks. Same problem.
  5. (It seems to happen regardless of line height and font size.)

Screenshots

(See SBC002)

Rez chain (not good, see the highest line drawn on-screen):

Chunks still draw after they have left screen

Rez chain (good, both chunks on-screen):

chunk box stays on screen after chunk scrolls off-screen

Rez chain (not good, one chunk scrolled off-screen):

chunk box stays on screen after chunk scrolls off-screen 02

Track chain (good, both chunks on-screen):

chunk box stays on screen after chunk scrolls off-screen 03

Track chain (not good, one chunk scrolled off-screen):

chunk box stays on screen after chunk scrolls off-screen 04

It is not dependent on large line height or font size:

chunk box stays on screen after chunk scrolls off-screen 06

Is this specific to rez? I don't recall seeing this, but it might be because I haven't done any resonance annotations for quite a while ...

It might be specific to rez links -- perhaps because of Cliques?

I think I can reproduce it now -- see above. (It is not limited to Rez chains.)

This problem stems from having the Nav window turned off. There are also some behavioral bugs related to this:

  • New chains (rez, track, and stack) auto-deselecting when made on tokens that would be hidden by nav window (specifically, tab region)
  • Units sometimes do not draw at the very top of the screen