machineghost wrote: ↑Sat Feb 08, 2020 4:37 pm
This still seems like a bug worth fixing,
It's not a bug, but it is quite difficult to explain. Nevertheless, I'll try...
machineghost wrote: ↑Sat Feb 08, 2020 3:36 pm
- Click on track #1
- Use your keyboard to move to track #2
- Paste
At step 1, track #1 is "selected" and also has "keyboard focus".
You can tell that it is "selected" because the panel on the left end of the track has the colour of a selected track (for the default theme, that's a darker blue/grey colour).
You can tell that it has "focus" because there is a yellow border to the track.
"But what does "focus" mean?" I hear you ask.
The main thing that it means, is that any keyboard command will be grabbed by this track rather than any other track. For example, if you press the
"context menu key", then the menu for this specific track will open.
At step 2, look carefully at what happens. The yellow "focus" border moves to track #2, but the first track is still "selected" (the track's panel still has the darker colour).
The "Enter" key toggles the selectedness of the "current track" - that is, that it toggles the selectedness of the track that "has focus". When you press the "Enter" key, the track that has focus grabs the command, and: If the track is "selected", it becomes "non-selected". If the track is "non-selected", it becomes "selected". At this point, (step 2), the first track is "selected", but "keyboard focus" has been moved to the second track. On pressing "Enter", the second track becomes selected in addition to the first track, so now we have two tracks selected. Press "Enter" again, and the second track becomes non-selected, but the first track is unaffected because it doesn't "have focus".
Question: Why do we need to have "focus" and "selectedness"?
Answer: "Focus" is always unique to
one thing at a time. For example, when an effect window is open, keyboard focus will be on
one control, and that is completely independent of "track selection".
Does that help, or only serve to add confusion?