musescore / musescore/MuseScore

When double-clicking a file in Finder/Explorer and choosing "yes" or "no" in the "Restore session" dialog, the file is not opened

Open
#15,919 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

To Reproduce
Steps to reproduce the behaviour on macOS:

  1. Open one instance of MuseScore and open a score
  2. Make it crash (for example: control-click its Dock icon, hold the Option (Alt) key and click "Force quit")
  3. Now, double-click a MuseScore file in Finder (or equivalently: drag the MuseScore file to the MuseScore app icon in the Dock)
  4. The "Do you want to restore session?" dialog pops up
  5. Choose "Yes" or "No"

Expected:
When choosing "Yes", both the files from the previous session and the newly opened file are opened;
when choosing "No", only the newly opened file is opened.

Actual:
When choosing "Yes", only the files from the previous session are opened, and the newly opened file is ignored;
when choosing "No", nothing happens.

Platform information
Reported on macOS; reported on Windows in #19167; probably relevant on other OSs too

MuseScore version
Last checked in 4.4 (master)

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.

Research direction

Start by reproducing the failure through Finder/Explorer or by dragging a file to the MuseScore Dock icon, then trace how the “Restore session” dialog handles the pending file-open request. Done means choosing “Yes” opens both the previous session files and the new file, while “No” opens only the new file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.