musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.29k stars 2.66k forks source link

Dragged tuplet numbers go bananas #24738

Closed RhinoHaggis closed 1 month ago

RhinoHaggis commented 1 month ago

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce

Current behavior: Dragged tuplet numbers fly uncontrollably around the score, and the movements cannot be undone.

  1. Create several tuplets in a passage.
  2. Grab a tuplet number and drag it to a new position. [iteration:]
  3. if this behaves normally, flip the tuplet label with "x", and try again.
  4. If this STILL behaves normally, repeat 2. and 3. with the other tuplet labels [resume:]
  5. Tuplet wil fly around the score, collide with staves.
  6. Try Undo. [some or all parts of the movement cannot be undone]

Expected behavior: Tuplet numbers freely draggable with no phantom impingement.

Several behaviors have regressed. In previous versions, when "brackets" are turned off, tuplet numbers can be dragged freely and naturally into position. They do not collide, and there are no phantom brackets lumbering around.

Thus the presence of phantom brackets restricting the free placement of the numbers, the unpredictability of drag, and the failure of Undo are all regressions.

Supporting files, videos and screenshots

Test file: hairpin height and tuplet drag test.mscz.zip

On the newly opened file, I flip the first tuplet with "x", and then attempt to drag it:

https://github.com/user-attachments/assets/00afada9-bb5f-4e1a-9ae5-d7e178c82e51

Wheeeeeeeeeeeeeeeeeee!

At the end, I attempt to Undo this drag, and the tuplet number jumps down the page, dragging the staff with it.

What is the latest version of MuseScore Studio where this issue is present?

4.4.1-242490810, revision: 0b3dd00

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

MacOS 12.6.6

Additional context

Confirmed behavior with another user in forums.

I have not been able to pin down the exact context that leads to the behavior, but I have always been able to reproduce it after a very small number of tries.

Cannot emphasize enough that --whatever the planned purpose of introducing the brackets-- the "new way" (absent any bugs) of moving numbers about by shifting invisible bracket is extremely time consuming. In a piece with regular running triplets and a hand-set engraving, the change from drag-to-position to slowly-nudge-into-position-by-toggling-back-and-forth-with-the-endpoints is almost unmanageably burdensome.

Checklist

zacjansheski commented 1 month ago

Regression occured between 4.4.0 and 4.4.1

Also reminds me of https://github.com/musescore/MuseScore/issues/24608

Eism commented 1 month ago

@zacjansheski please retest it (fixed https://github.com/musescore/MuseScore/issues/24608)

zacjansheski commented 1 month ago

Fixed by https://github.com/musescore/MuseScore/issues/24608