Edit string data dialog opens empty, with no strings and 0 frets, from "Instrument/Staff properties"
Maintainers usually reply within 1 day
@igorkorsukov is already working on this.
Since Dec 1, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Read EditStringData and EditStaff::editStringDataClicked(), where the issue identifies the dialog setup and the direct construction path. Check how the table setup is triggered when the dialog opens through Interactive, then compare it with the direct path. Done means the Classical Guitar dialog shows its six strings and fret count and clicking OK preserves that data.
Written by the indexing model from the issue text.
Description
Issue type
UX/Interaction bug (incorrect behaviour)
Description with steps to reproduce
- Create a new score with Classical Guitar.
- Right-click the staff -> Instrument/Staff properties. In Pitch properties, "Number of strings" shows 6.
Actual: the dialog's string list is empty and "Number of frets" is 0. Clicking OK saves that empty data to the instrument.
Expected: the dialog lists the instrument's 6 strings and its number of frets, as in 4.7.
Possible cause: 71bc6c4b0b moved the table setup in EditStringData from the constructor to componentComplete(). That function is only called when a dialog is opened through Interactive (interactive.cpp). EditStaff::editStringDataClicked() creates the dialog directly with new EditStringData(...) and exec(), so the setup never runs. I tested that calling esd->componentComplete() after construction makes the dialog work again.
Supporting files, videos and screenshots
In which versions of MuseScore Studio is this issue present?
Latest main (527e4cfd49)
Regression
Yes, this works in the latest released version and is broken in the nightly builds
Operating system
macOS 27.0.1
Additional context
Found while testing a fix for #34314, which needs this dialog. I used Claude Code with Opus 5.5 to find the cause of the error, all testing was done manually, same as code writing.
Checklist
- This report follows the guidelines for reporting bugs and issues
- I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- I have attached all requested files and information to this report
- I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
- Dominant language
- C++
- Stars
- 15.5k
- Forks
- 3.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 124
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from musescore/MuseScore
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
MusicXML export: overlapping dashed text lines (<dashes>) are all exported with duplicate number="1"Opencommunity MusicXML
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
MusicXML import loses explicit slur direction when the stop precedes the start in document orderOpenneeds review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs review
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
musescore/MuseScore#35683 · 1 comment ·
Maintainers usually reply within 1 day
All issues in musescore/MuseScore
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
eclipse-score/logging#531 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
azahar-emu/azahar#2944 ·
Maintainers usually reply within 1 day
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
conan-io/conan-center-index#31637 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#7777 · 1 reaction ·
Maintainers usually reply within 4 days