Skip to content

Conversation

@mike-spa
Copy link
Contributor

Resolves: #30903

@cbjeukendrup
Copy link
Member

This does probably not resolve the full issue: the "length" of the spanners in the palette is hardcoded, but apparently stored in DPI-dependent units, so some kind of migration is needed to make palettes from pre-4.7 look good

@mike-spa mike-spa force-pushed the fixVoltaLayoutInPalette branch from d6f10a4 to f7aafc8 Compare November 18, 2025 12:51
cell->drawStaff = false;
}

qreal w = gpaletteScore->style().spatium() * 8;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can now be removed

This doesn't seem to serve any purpose, it only exists to save the length of SLines in palettes. But that length is irrelevant once the item is inserted in the score (because it's determined by layout), and it's also irrelevant in the Palette, where it should just be set to whatever value allows to draw them properly in the cell.
@mike-spa mike-spa force-pushed the fixVoltaLayoutInPalette branch from f7aafc8 to ddbdb26 Compare November 19, 2025 12:23
@zacjansheski
Copy link
Contributor

Tested on MacOS 15, Windows 11, Ubuntu 22.04.3. Approved
#30903 FIXED

@mike-spa mike-spa merged commit d7df882 into musescore:master Nov 19, 2025
12 checks passed
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.

Palettes are appearing incorrectly in master

3 participants