musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.31k stars 2.66k forks source link

MuseScore 4.2 percussion stems offset, with incorrect flags #20838

Open nathan-stewart opened 10 months ago

nathan-stewart commented 10 months ago

Issue type

Engraving bug (incorrect score rendering)

Bug description

All stemmed unpitched percussion notes get flags at the note head, whether or not the note should have a flag. This is in addition to any flags which should be present.

Steps to reproduce

Create a pitched instrument staff, and a percussion staff. Does not affect pitched instruments (percussion or otherwise)

Screenshots/Screen recordings

screenshot-12a733d7

MuseScore Version

OS: Debian GNU/Linux 12 (bookworm), Arch.: x86_64, MuseScore version (64-bit): 4.2.0-233521125, revision: github-musescore-musescore-eb8d33c

Regression

No.

Operating system

Debian Bookworm

Additional context

No response

MarcSabatella commented 10 months ago

I can't reproduce this on debian. Please ZIP and attach the actual score you are having trouble with - could be there is something corrupt within it, or some sort of manual adjustments that could explain what you are seeing. At the very least, it seems you customized stem directions.

Also, since you are on Linux, be sure to be using the official / supported AppImage downloaded directly from the MsueScore site, not any sort of third-party build. Those often contain major bugs not present in the official releases due to improper build processes.

nathan-stewart commented 10 months ago

stem-bug.zip This is a brand new score. I did record it via MIDI step entry because note entry via does not work for unpitched percussion scores either. I didn't do anything to it.

This is from the website download today. sha256sum /usr/local/bin/MuseScore-4.2.0.233521125-x86_64.AppImage b32011c4c75436f286d9b780772325d6b87463b6a6c9da8d6d4deefd5fdd629f /usr/local/bin/MuseScore-4.2.0.233521125-x86_64.AppImage

MarcSabatella commented 10 months ago

Seems a word might be missing - note entry via what is not working for you? Mouse and keyboard both work as expected for me. For mouse, be sure to select the desired note from the drum toolbar, as described in the percussion chapter of the Handbook.

That said, while mouse and computer keyboard input work as expected, I can confirm the issue reported here when using MIDI input specifcally. Well, I am actually faking that using the built in piano keybaord, which uses the same code path. So, in particular:

1) load the score attached above, or create a new score for snare drum 2) select a measure, enter note input mode 3) press any note (say, middle C) on the MIDI or built-in piano keyboard

Result: the phantom flag appears. However, it disappears upon save/reload - and thus you won't see it when initially loading the given score. But also, the stem direction is "wrong" (arguably what it should be, but not what the drumset definition calls for) - should be down as per the drum set, but displays up in the score, and also in the drum input panel. That much seems possibly related to https://github.com/musescore/MuseScore/issues/20785

nathan-stewart commented 10 months ago

I didn't realize percussion had its own mode, so I didn't know to look for it. Using the drum toolbar, I can in fact enter notes with the mouse.