musescore / musescore/MuseScore

Buttons missing on save changes dialog when a second window is open

Open
#33,300 1 comment 1 reaction 1 assignee View on GitHub

@RomanPudashkin is already working on this.

Since May 8, 2026.

P1 regression nightly UI
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

UI bug (incorrect info or interface appearance)

Description with steps to reproduce

Master branch

  1. Create a new score (e.g. From Template -> General -> Treble clef).
  2. Create another score so that another MSS window appears (single-process mode is ON).
  3. Go back to the first score and try to close it or to close the entire window.

Result: The "Do you want to save your changes" dialog appears but no buttons appear on it.
If you do the same for the second window, the save changes dialog appears correctly there.
When you close the secod window (closing just the second score is not sufficient), restores proper save changes dialog in first window.

Image

Some errors appear in the logs:
23:01:06.604 | INFO | main_thread | ActionsDispatcher::doDispatch | try call action: file-close
23:01:06.606 | DEBUG | main_thread | | try open uri: muse://interactive/standard, page: {"modal":"","module":"Muse.Interactive","params":{"buttons":[],"contentTitle":"Do you want to save changes to the score ¬タワUntitled score¬タン before closing?","customButtons":[{"buttonId":18,"isAccent":false,"isLeftSide":false,"role":9,"text":"Don¬タルt save"},{"buttonId":8,"isAccent":false,"isLeftSide":false,"role":9,"text":"Cancel"},{"buttonId":20,"isAccent":true,"isLeftSide":false,"role":9,"text":"Save"}],"defaultButtonId":20,"detailedText":"","dialogTitle":"","text":"Your changes will be lost if you don¬タルt save them.","textFormat":2,"type":"WARNING","withDontShowAgainCheckBox":false,"withIcon":true},"path":"StandardDialog","type":2,"uri":"muse://interactive/standard"}
23:01:06.614 | WARN | main_thread | Qt | qrc:/qt/qml/Muse/UiComponents/ButtonBox.qml:85: TypeError: Value is null and could not be converted to an object
23:01:06.617 | WARN | main_thread | Qt | qrc:/qt/qml/Muse/UiComponents/ButtonBox.qml:75: TypeError: Cannot read property 'accentButton' of null
23:01:06.617 | WARN | main_thread | Qt | qrc:/qt/qml/Muse/Interactive/StandardDialogPanel.qml:131: TypeError: Cannot read property 'text' of null

https://github.com/user-attachments/assets/7417c04f-42c5-4a77-b94e-7330abbc7ddf

Supporting files, videos and screenshots

n/a

In which versions of MuseScore Studio is this issue present?

master

Regression

Yes, this works in the latest released version and is broken in the nightly builds

Operating system

Windows 10

Additional context

No response

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

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.