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.23k stars 2.65k forks source link

Removing Instrument Name in Staff/Part Properties changes clef from Bass to Treble #24274

Open tingtron opened 1 month ago

tingtron commented 1 month ago

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce

Removing Instrument Name in Staff/Part Properties changes clef from Bass to Treble

I have a piano duet score with the second instrument only showing the bass part. image

I need to hide the instrument name (the whole score if for piano only, so it's redundant).

  1. Right click the second instrument.
  2. Select the Staff/Part Properties pop-up dialog
  3. Clear the Long and / or Short Instrument Name
  4. Click Apply Observe:
    • the instrument clef changes from bass to treble and moves down one octave. image

Note: if you do the same clearing of instrument name in the Instruments panel, there is no issue. image

Supporting files, videos and screenshots

https://github.com/user-attachments/assets/7499a89e-19ef-4157-b519-938a09988165

What is the latest version of MuseScore Studio where this issue is present?

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.2-241630831, revision: github-musescore-musescore-22b46f2

Regression

No

Operating system

Windows 11

Additional context

No response

Checklist

tingtron commented 1 month ago

Related issues:

zacjansheski commented 1 month ago

To reproduce from scratch

https://github.com/user-attachments/assets/c507cc5b-343d-48d4-962a-fc096fcfec74