musescore / musescore/MuseScore
Undoing changing project properties interferes with publishing / saving to cloud
Open
@shoogle is already working on this.
Since May 14, 2023.
cloud
P2
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
- Create score and save it to your computer OR open score from your computer that has never been published / saved to the cloud yet
- Change some project properties
- for example, like in the video, change the title from "Changing the title" to "Changing the title to something else"
- Publish the score
- Undo
- changes the title back to "Changing the title", but also discards the cloud save info, because it is also stored in project properties.
(In fact, you could even say that saving to cloud corrupts the undo stack, because it modifies the project properties without informing the undo stack. But given how theChangeMetaTagscommand is implemented, this does not really cause trouble, except this issue.)
- changes the title back to "Changing the title", but also discards the cloud save info, because it is also stored in project properties.
- Save the score (don't forget, because of #17560)
- Close the score
- this is necessary because as long as the score is open, the cloud info is also stored in NotationProject::cloudInfo
- Reopen the score
- Try to publish again
- expected: Can replace/update the previously published version of this score
- actual: MuseScore has forgotten everything about the previously published score
https://github.com/musescore/MuseScore/assets/48658420/2cbddd91-350b-4c4f-a42e-0ab691b69afd
Fixing this might also fix https://github.com/musescore/MuseScore/issues/20544.
Contributor 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.
Assessment
This issue has not been assessed yet.