Edit string data dialog opens empty, with no strings and 0 frets, from "Instrument/Staff properties"

Open Beginner friendly
#35,829 0 comments 0 reactions 1 assignee View on GitHub

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
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp
Domain
desktop

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

P2 regression nightly UX/interaction
Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce
  1. Create a new score with Classical Guitar.
  2. 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
2026-11-29_empty-edit-string-data-dialog
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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from musescore/MuseScore

All issues in musescore/MuseScore

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.