Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combination of pickup measure and linked staff makes score corrupted #26233

Open
4 tasks done
mercuree opened this issue Jan 24, 2025 · 4 comments
Open
4 tasks done

Combination of pickup measure and linked staff makes score corrupted #26233

mercuree opened this issue Jan 24, 2025 · 4 comments
Labels
corruption Issues involving file corruption regression MS3 Regression from MS3 (3.6.2)

Comments

@mercuree
Copy link
Contributor

mercuree commented Jan 24, 2025

Issue type

File corruption

Description with steps to reproduce

This issue is based on a report from #24970 (comment)
Two String Concerto No. 1 FrTB MS4 - Corrupted??.mscz.zip

  1. Create empty score using mandolin instrument
  2. Enter dotted half note
  3. Go to measure properties
  4. Set measure duration (actual) to 3/4
  5. Check "Exclude from measure count"
  6. OK
  7. Create a linked staff
  8. Change staff type to Tab. 4-str. common UPD. This step is not required
  9. Try to save file
  10. "This score has become corrupted" message appears

Reproduced in Musescore 4.0.2 and 4.5.0 master
Can't reproduce in Musescore 3.6.2

Supporting files, videos and screenshots

linked_staff_corruption.mp4

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

MuseScore Studio version (64-bit): 4.5.0-250240302, revision: github-musescore-musescore-73c5d40

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

windows 10

Additional context

No response

Checklist

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
@muse-bot muse-bot added corruption Issues involving file corruption regression MS3 Regression from MS3 (3.6.2) labels Jan 24, 2025
@scorster
Copy link

@mercuree

Thanks for this post and the link to my post and attached score.

Interesting that the metric corruption occurs with just the pickup and linked staff. Those were there from the start and I only got the corruption alert, as reported, after adding the percussion staff and added a three measures and a few notes.

Thanks for being so gracious! After I posting in your other thread I noticed I was off topic. Should I delete my comment from that thread and place it here?

@mercuree
Copy link
Contributor Author

@scorster

Those were there from the start and I only got the corruption alert, as reported, after adding the percussion staff and added a three measures and a few notes.

Interesting, but I can't reproduce it.
The corruption only happens when I create a linked staff, and the main staff must contain a pickup measure and the "exclude from measure count" flag must be enabled.
Do you have a version of the file without corruption?

Thanks for being so gracious! After I posting in your other thread I noticed I was off topic. Should I delete my comment from that thread and place it here?

Please don't delete your comment. I already reference it in this issue.

@scorster
Copy link

scorster commented Jan 25, 2025

@mercuree

Thanks for your continuing interest in illuminating and eliminating corruption causes.

Here's an uncorrupted version of the score

Two String Concerto No. 1 FrTB MS4.mscz.zip

@mercuree
Copy link
Contributor Author

mercuree commented Jan 25, 2025

@scorster

Here's an uncorrupted version of the score

This version not only does not have a percussion staff, but it also does not have a linked staff, so there is no corruption in it.
If you create a linked staff for any of the instruments and try to save the file, you will immediately get a corruption message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
corruption Issues involving file corruption regression MS3 Regression from MS3 (3.6.2)
Projects
None yet
Development

No branches or pull requests

3 participants