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
11.79k stars 2.56k forks source link

Crash with Braille panel open: adding stave to instrument with a dynamic #23378

Open shoogle opened 3 days ago

shoogle commented 3 days ago

Issue type

Crash or freeze

Bug description

No response

Steps to reproduce

  1. In preferences, make braille panel visible
  2. New empty score with a single-staff instrument (e.g. flute).
  3. Add a dynamic (e.g. mp).
  4. In the Instruments panel, expand the Flute and click "Add stave". Crash!

Screenshots/Screen recordings

MuseScore Version

4.3 and latest nightly

Regression

Yes, this used to work in MuseScore 4.1.1 Broken in 4.2.0

Operating system

Windows 11

Additional context

No response

zacjansheski commented 3 days ago

I haven't reproduced on 4.3.2 MacOS or master MacOS OS: macOS 14.4, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.2-241630832, revision: github-musescore-musescore-22b46f2

OS: macOS 14.4, Arch.: x86_64, MuseScore Studio version (64-bit): 4.4.0-241790302, revision: github-musescore-musescore-f6a2b15

zacjansheski commented 3 days ago

Also haven't reproduced on Windows 11 4.3.2

zacjansheski commented 3 days ago

It does crash with the braile panel open

zacjansheski commented 3 days ago

Diagnostic files

BrailleDynamAddStaffCrash.zip

zacjansheski commented 3 days ago

Regression occured between 4.1.1 and 4.2.0