Skip to content

Read lyric print-object="no" as hidden - #2064

Merged
mscuthbert merged 2 commits into
masterfrom
fix-lyric-print-object
Oct 8, 2026
Merged

mscuthbert merged 2 commits into
masterfrom
fix-lyric-print-object

Conversation

@mscuthbert

@mscuthbert mscuthbert commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Originally AI written as a "side quest" (i still find that metaphor chuckle inducing...almost dead) -- myke review says good -- except for a repeated attribute

Lyric musicxml import did not set hideObjectOnPrint properly from print-object

Found while working on the Accidental-creation speedups for #2010.

AI-assisted (Claude)

xmlToLyric passed print-object through setStyleAttributes, whose
yes/no-to-bool conversion does not invert, so print-object="no" became
hideObjectOnPrint = False and "yes" became True. Use setPrintObject, as
the exporter already does. Export was correct, so a hidden lyric did not
survive a round trip until now.

Bump to 11.0.0b11 since cached musicxml parses are wrong.

Found while working on the Accidental-creation speedups for #2010.

AI-assisted (Claude)
@coveralls

coveralls commented Oct 8, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 93.368% (+0.002%) from 93.366% — fix-lyric-print-object into master

@mscuthbert
mscuthbert marked this pull request as ready for review October 8, 2026 01:08
@mscuthbert
mscuthbert merged commit bc3a2ad into master Oct 8, 2026
7 checks passed
@mscuthbert
mscuthbert deleted the fix-lyric-print-object branch October 8, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants