All the Lines and Fretboard Diagram displayed twice after undoing move
Add a Fretboard Diagram:
Move it:
Do "Ctrl+Z" to undo the move.
Result: the Fretboard Diagram is now displayed twice:
Config: MuseScore 7ab8acd on Xubuntu 14.10.
Add a Fretboard Diagram:
Move it:
Do "Ctrl+Z" to undo the move.
Result: the Fretboard Diagram is now displayed twice:
Config: MuseScore 7ab8acd on Xubuntu 14.10.
Comments
I assume you did the move by dragging. When I tried, I found the diagram also reattached itself to the next measure even upon just being moved a little. And sometimes instead of seeing two diagrams after undoing the move, I saw no effect at all. But then the diagram is not selectable. Either way, the effect is temporary - a re-layout (eg, Ctrl+A) restores it.
I assume you did the move by dragging.
Yes.
If we move it with the Inspector, there's no bug when undoing moves.
This issue (move by dragging -> Undo) occured on July 31. Between:
- the commit, correct: https://github.com/musescore/MuseScore/commit/6d2225bf2af1fef7c7d183120…
- and the commit, incorrect: https://github.com/musescore/MuseScore/commit/6b1a5a848da50bfe9d86ea56a…
After checking, more precisely, maybe here (with many code lines on the theme of "undo") ?
- https://github.com/musescore/MuseScore/commit/548fa0b7368d6dc83d1e64860…
or?
- https://github.com/musescore/MuseScore/commit/4e426c4808eb432bc7ee8682e…
After checking, Freatboard diagram, but also all the Lines are concerned by this bug. And I confirm that it appeared the last July 31, between the mentionned commits in the previous comment #4.
So, to reproduce: (last Nigthly, October 9, 7ab8acd / Windows 7)
1. Open "My First Score"
2. Fill some measures with quarter notes
3. Drag and drop any line in the score
4. Move by dragging one line with the mouse, right or left, no matter.
5. Undo (via the Toolbar, or Ctrl+Z)
Result: the lines are displayed twice. For example.
Confirmed, with the same observations I made above - the behavior is actually a bit erratic in that sometimes Ctrl+Z appears to have no effect at all rather than producing the double image, but also, the problem fixes itself on next layout.
See also #48356: Crash when dragging element on score from palette
It is a coincidence, and I do not know if the two issues are related. But for this one (lines displayed twice), I investigated there is two days and I was preparing to report it. I had located: it appears on July 31 (in a more precise way that in my previous comment #4)
It was a side effect of this commit: https://github.com/musescore/MuseScore/commit/548fa0b7368d6dc83d1e64860…
This would to fix this issue:#25806: Cannot undo Slur/Tie handle movements made in edit mode
As you can see: a change of position of a tenuto (attached to a slur), followed by Undo, did not a good result in the return of the slur to the right place. Produced with this Nightly: 6d2225b
Until then, everything was going well for fretboard or lines (a Volta in my example) after moving and Undo.
From the mentioned commit, tenuto + slur and Undo works, but it introduces a new issue (so: lines and fretboard displayed twice after moving and undo) As you can see on the next image. Produced with this Nightly: 6b1a5a8
- As said, I do not know if this very recent issue is related:#48356: Crash when dragging element on score from palette
Because I can not reproduce the crash in this moment (only on Debug mode maybe?)
Fixed in d25a3d63b4
Merci cadiz1 pour l'enquête !
Super.
De rien. Une ligne de code à changer pour un bug de près de sept mois, ça va, c'est un bon ratio! Et pour "l'autre" question? J'ai bien compris les étapes maintenant: je dépose une volta par exemple-je la déplace- puis Undo x 2 pour la faire disparaître- je re-dépose une volta. Mais à cette dernière étape, rien de particulier ici. La Volta se dépose comme attendu. Ne pouvant pas reproduire le crash (sous Windows), je ne peux plus aider.
Automatically closed -- issue fixed for 2 weeks with no activity.