Skip to content

Barlines (except repeats) make score with parts corrupted #26207

@mercuree

Description

@mercuree

Issue type

File corruption

Description with steps to reproduce

This issue is created while investigating https://musescore.org/en/node/374264

  1. Create new score from Treble clef template
  2. Open parts and go back to main score
  3. Enter 4 quarter notes in voice 1 and one whole note in voice 2 (voice 2 is required here)
  4. Enter one note (any duration) to the next measure
  5. Add double barline before the last entered note
  6. Save score / close / reopen
  7. Remove last entered note
  8. Undo
  9. Save score - the message about corruption appears

Not a regression.
Reproduced at least in Musescore 4.0.2
Partially reproduced in Musescore 3.6.2

Supporting files, videos and screenshots

Corruption message:

barlines_corruption1.mp4

Dynamics synchronization lost in full score:

barlines_corruption2.mp4

Crash on closing:

barlines_corruption3.mp4

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

MuseScore Studio version (64-bit): 4.5.0-250180301, revision: github-musescore-musescore-2b1f288

Regression

No.

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

Metadata

Metadata

Labels

P1Priority: HighcorruptionIssues involving file corruptionneeds testingTesting is needed (if issue doesn't reproduce or might be fixed already)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions