Duplication of system text in a score with parts and invisible staff leads to crash

• Jul 11, 2017 - 09:33
Reported version
2.1
Type
Graphical (UI)
Severity
S2 - Critical
Status
closed
Regression
No
Workaround
No
Project

If you insert a staff text, then you move it up and after all you save the project the text duplicate as you can see in screenshot attached. When you open the project the text is single but if you try to move up the issue returns.

GIT commit: 871c8ce


Comments

Status (old) needs info active

Hmm, I now see it too.
These ain't Staff text, but System text.
And the duplication seems to happen on autosave?

I work on a macOS. It happen on manual save and I'm sure that is a Staff text. The problem is the I can't move these text because It duplicate them so a can't print (also pdf) in correct view.

Later I'll record a video on my Mac.

Title Staff Text duplication System Text duplication

It is System text (and rightfully so, it should show on all parts), as the Inspector and the Status bar clearly show when selecting it

Title System Text duplication System Text duplication on multi measure rests

Seems to happen only if multi measure rests are enabled (for the main score)

Sorry, it's a system text, I had a problem with translation.

Anyway, It is a problem if multi measure it's enable. A work around seems to clean all system text from the main part and the other parts (I suppose the the cloning appears there), the uncheck multi measure rests and recheck it, insert a system text and save.

These are projects created in older MuseScore version (maybe 2.0)

Title System Text duplication on multi measure rests System Text duplication on every save in score whith parts and multi measure rests enabled for main score

Another maybe related issue: changing the offests of these System texts in main score does not survive Save/Close/Open.

2.0.3 does not have the duplication issue, so we're having a regression here, but does have the issue with the offsets

From scratch, from a new project, from a new score (same thing), indeed.

From my part, I have succeeded twice, but I can not reproduce systematically by now.

With a new project doesn't happen. Maybe it's a problem with old project...dammit! Now I tried with a few notes, but doesn't happen...

Hmm, yes, invisible staves may have a play here too

With that sample score from #1 the System texts duplicate (become one more) on every save, manual or Auto, within the same session.

Unhiding all staves (and deleting the last, as that'd otherwise prevent multi measure rests) and the problem is gone. Only deleting that last staff, and the problem is gone too!

So the invisible staff that otherwise would break multi measure rests (and is the only one without a linked part) seems the culprit?

Title System Text duplication on every save in score whith parts and multi measure rests enabled for main score Duplication of systeme text in a score with parts and invisible staff leads to crash

Steps to reproduce:

1) New score for two flutes
2) Generate parts -> new all -> Ok
3) Enter a note in second staff first measure
4) In top staff: select the first whole rest -> enter a system text
5) "I" -> For the second flute: untick "Visible"-> OK
6) Press "M"
7) Drag the text (it's only to better see the duplication later)
8) Wait a few/several seconds (for Auto save I guess)

At one point, you observe the duplication of the text (image below)

9) Right-click on the initial/highlighted text -> Cut

Result: crash
text.jpg

Title Duplication of systeme text in a score with parts and invisible staff leads to crash Duplication of system text in a score with parts and invisible staff leads to crash