Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parts dialog: "Reset" should not immediately recreate the part being reset #26878

Open
cbjeukendrup opened this issue Mar 2, 2025 · 0 comments
Labels

Comments

@cbjeukendrup
Copy link
Contributor

In the Parts dialog, the "Reset" option does the following:

  1. It deletes the underlying Excerpt for that part
  2. It immediately creates a new Excerpt for that part

Step 2 should not happen. Instead, the new Excerpt should only be created as soon as that part is opened again (or exported via the Export dialog). Basically, the part should go back to the state before it was created for the first time.

Why? For example,

  • it is currently impossible to add/edit/remove local time signatures when parts exist (as in, there are parts for which an Excerpt has been created, so parts that don't really exist but are made up in the UI are not a problem). One may hope that the "Reset" option deletes the Excerpt, so that one can work with local time signatures afterwards, but alas, that doesn't work, because a new Excerpt is created immediately.
  • suppose one has accidentally opened a part, but doesn't need it. After opening, the part's content is populated, increasing the file size, memory usage, corruption risk, etc.. One may hope that the "Reset" option undoes that, but it doesn't.

Tangentially related to #26877. Originates from the discussion starting at #11349 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant