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

fix #309760: chord symbols realized before executing dialog #6511

Merged
merged 2 commits into from
Sep 1, 2020

Conversation

MarcSabatella
Copy link
Contributor

@MarcSabatella MarcSabatella commented Aug 28, 2020

Resolves: https://musescore.org/en/node/309760

There is a command realize-chord-symbols that you can access
from the tools menu or shortcut if you have defined it,
and also a similarly item on the context menu for chord symbols.
They are slightly differently, however -
the command just runs, whereas the context menu brings up a dialog.
Because they shared the same action,
the context menu was actually executing both versions.
This is fixed by creating a new action for the context menu.
I reuse the name of the command but add an ellipsis,
since it brings up a dialog.

I suppose it's an open question why the behaviors should be different
between invoking this from the Tools menu versus the context menu,
but I'll wait until someone actually complains before changing it.

Resolves: https://musescore.org/en/node/309760

There is a command realize-chord-symbols that you can access
from the tools menu or shortcut if you have defined it,
and also a similarly item on the context menu for chord symbols.
They are slightly differently, however -
the command just runs, whereas the context menu brings up a dialog.
Because they shared the same action,
the context menu was actually executing both versions.
This is fixed by creating a new action for the context menu.
I reuse the name of the command but add an ellipsis,
since it brings up a dialog.

I suppose it's an open question why the behaviors should be different
between invoking this from the Tools menu versus the context menu,
but I'll wait until someone actually complains before changing it.
@MarcSabatella MarcSabatella changed the title Resolves: https://musescore.org/en/node/309760 fix #309760: chord symbols realized before executing dialog Aug 28, 2020
The ellipsis definitely belongs here conceptually,
but it might not always be correct in all languages to simply append it.
So this really should be a new translatable string,
but that change would have to wait for a release when this is OK.
For now, leave the menu item as it was, just "Realize Chord Symbols".
@anatoly-os anatoly-os merged commit f116ed5 into musescore:3.x Sep 1, 2020
anatoly-os added a commit that referenced this pull request Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants