MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

New palette click & drag interaction (#9964)

Open mathesoncalum opened this issue 2 years ago • 3 comments

Resolves: #9964

mathesoncalum avatar Feb 16 '24 09:02 mathesoncalum

Loving this @mathesoncalum! This will be such a nice feature. A few things I've noticed so far, aside from the QT6 stuff obviously:

  • Your mouse has to enter the page area in order for the element to be placed anywhere when released. Can we make this work outside the bounds of the page in the score area too?
  • Similarly, dragging within page bounds but inside the right margin does not attach the element anywhere.

With regard to time/key sigs, could you explain what the new interaction is? It's already an existing feature, albeit not a very discoverable one, to create local time/key signatures (i.e. ones that only apply to one staff) by holding Ctrl/Cmd while dragging in an element from the palettes.

I see that you can add local voltas too even in 4.3, though when I just tried that and played it back, it just skipped the measure with a local volta. Which isn't great, but also there isn't an obvious logical behavior for that.

(also, making a note to start a music project called Local Voltas)

avvvvve avatar May 21 '24 16:05 avvvvve

Cheers @avvvvve

Looking into your first point.

RE point 2 - well spotted. I think this is only a problem with some elements (see attached). Looking into it.

Yeah it isn't a new interaction for time/key sigs per se, there just isn't any mention in the spec of how ctrl/cmd-modified elements should be handled.

Screenshot 2024-05-21 at 17 42 20 (2)

mathesoncalum avatar May 21 '24 16:05 mathesoncalum

Note to anyone else looking to try this - for now you'll need to use the attached Qt5 build since these changes are currently blocked in Qt6 by this bug.

https://github.com/mathesoncalum/MuseScore/actions/runs/9030476425/artifacts/1490771336

mathesoncalum avatar May 21 '24 17:05 mathesoncalum