Skip to content

Text lines ending in some special characters lose newline on open #30824

@iainhallam

Description

@iainhallam

Issue type

Engraving bug (incorrect score rendering)

Description with steps to reproduce

  1. Open a new file
  2. Add a text or vertical frame
  3. Add text, or edit the text frame, and enter a line of text; finish the line with an elision symbol from the special characters dialogue
  4. Add a newline, and type more text
  5. Save the file; close it
  6. Open the file; observe the newline has disappeared

Supporting files, videos and screenshots

How it looks just after saving:

Image

How it looks just after opening:

Image

Test file showing the error on both vertical and text frames:

Elision errors.mscz.zip

(As you can see from my test, this isn't confined to the elision characters - I also used a crotchet note head and the same behaviour happens.)

In which versions of MuseScore Studio is this issue present?

At least 4.4 to 4.6.3

Regression

I was unable to check

Operating system

Windows 11

Additional context

I'm using frames to enter lyrics of verses not present in the staves, and some lines end in elisions to indicate no breath should be taken. Every time I open these files, I have to put the newlines back before exporting to PDF or printing.

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

Assignees

Labels

engravingShape, position, or ability to notate musical symbols & text in the scoreneeds reviewThe issue needs review to set priority, fix version or change status etc.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions