Shared noteheads: selection problem
Open the attached MS file. Note the shared noteheads at A, B, C, D.
- Click on shared notehead A or C. Note that the voice 1 notehead is selected.
- Clear the previous selection, then click on shared notehead B or D. Note that (unexpectedly?) the voice 2 notehead is selected.
Expected behaviour: Click selection should always default to the same voice (probably voice 1?).
- Shift + Click on shared notehead A or C. As expected, only the shared notehead "chord" is selected (because selection follows the voice 1 duration).
- Clear the previous selection, then Shift + Click on shared notehead B or D. Note that (unexpectedly?) the following chord is also selected (because, in this case, selection follows the voice 2 duration).
Expected behaviour: Shift + click on a shared notehead should select only that notehead (i.e. it should follow the shortest duration note).
Attachment | Size |
---|---|
selecting_shared_noteheads.mscz | 5.77 KB |
Comments
Due to the way the layout algorithms work, it is unpredicatable which element will end up on top when there are overlaps between elements of the same type. In 3.0, it will be possible to manually override this, which I guess could help. I've also proposed and implemented / submitted a PR for a feature where successive Ctrl+click operations would cycle through overlapping elements. Unfortunately I've been unable to get anyone excited about that even though I feel it would be very useful.
In reply to Due to the way the layout… by Marc Sabatella
I had found this inconsistency already in the past, but I had not yet looked more closely.
This behavior occurs when the shared noteheads are below or above the standard staff (notes with ledger lines)
A "particular case": the C, first ledger line, may be selected (voice 1) but when clicking "on" or "above" its legder line (and "under" the ledger line for the A, above the staff)
See: ledger lines.mscz
With linked staves, it's a bit different, it works under the staff, but not above: ledger lines + TAB.mscz
A trick is to add lines, in Staff properties (see your edited file): selecting_added lines.mscz
But not sure it's a good idea, because it 's very unexpected - and misleading - to read notes in a standard staff of 7 or 8 lines!
To use only in case of intensive use for a particular score.
The use cases can be numerous, it deserves to be submitted in the Issue Tracker.
NB: in the current master, nothing is selected (hightlighted, ie all remains black) whatever the shared noteheads.
I'd like to propose the following fixes:
In reply to "I've also proposed and… by geetar
It goes without saying, as workarounds, if you prefer to select voice 1 when shared noteheads are on ledger lines, use the Alt + Up shortcut (or accessibility shortcuts)
But that does not solve the question of selection with Shift + click. Which is so with the addition of lines.