Numpad custom shortcuts for tuplets not working after restart

In order to improve my workflow, I want to assign Numpad shortcuts for “Create Tuplet” and “End Tuplet Input”—let’s say “+” and “-”, which are displayed as “Num++” and “Num±” in the Key Commands dialog.

The issue is that it works perfectly (and is a huge time saver!) when I set it up, but once I restart Dorico, it no longer works, even though my custom shortcuts still appear in the Key Commands dialog.

To clarify: When I assign these commands, I get for both a warning saying, “Key sequence already assigned to another command, which will override it when its context takes precedence” (respectively for “Fast Forward” and “Rewind”).

However, since the tuplets shortcuts I’m assigning are only used in Write Mode with the caret on, is it normal that they are overridden by the default commands after restarting Dorico? I suspect that’s what’s happening.

I did delete the default shortcuts for tuplets that I’m replacing (“!” and “§” on a French keyboard), and I also tried to remove the default shortcuts for “Fast Forward” and “Rewind.” Yet, it still doesn’t work.

Is it possible to fix this without modifying the keycommands_en.json file ?

When they don’t work, does anything happen? I suspect another scope is overriding them. What other steps to you do before pressing one of them?

Nothing happens, the caret remains activated, but no popover, no tuplet.
I can’t really tell you about the steps before, I am just entering notes as usual, and when I need a tuplet, I press the key…

I know why this fails: You have to create at least one tuplet manually first.

Really?! Is there a reason for that? By “manually”, you mean by clicking on the tuplet sign in the left panel? I have never done this.
I can’t check right now, but I’ll do it asap.

No, sorry, I am wrong … I have just tried adding Num+ for Create Tuplet, and it works for me even after relaunching Dorico. So I still have no idea why it isn’t working for you.

The only difference I can think of is I did not remove the default ; when adding +.

Ah, thank you. But actually, I removed the defaults once I noticed it was not working, as a try to fix it. So, when the issue came out for me, defaults were not removed yet.

Maybe this is related to the French keyboard, and how it interacts with Qt. Unfortunately, other threads I have read about shortcut problems with non-English keyboards seem inconclusive.

Are you on Windows or Mac? This post from Daniel in 2017 might be a clue.

Another idea: Assign another different shortcut, just to see if it works. (I know there’s nothing else like the convenience of Num+)

Thank you very much for your reply and for the link. I am on Windows 11.

It might indeed be a problem related to the French keyboard. But what’s curious, in that case, is that I’ve already created many shortcuts on the Numpad (all the numbers, because I’ve shifted the rhythmic values to match Finale’s, as well as “/”, “*”, “.”, (don’t know how to make key symbols like you do!) and everything works perfectly fine.

I’ll try to assign a different shortcut to tuplets as soon as I’m back at my computer to find out if it’s a French-Numpad-specific issue.

Well, it’s finally working!

The problem is, I couldn’t say why it’s working now or why it wasn’t working before. I manually reassigned all the original shortcuts I mentioned, then reapplied my custom shortcuts.

But I also switched between the English and French keyboards in the preferences. Strangely, when I choose “default” keyboard, Dorico doesn’t assign the French keyboard, even though French is the language I’ve selected for the software - perhaps because I often switch to English to follow this forum more easily.

However, with the English keyboard, all the shortcuts switched back to Dorico’s defaults. When I switched back to the French keyboard, everything worked.

So it might indeed be related to the keyboard setting, as you suggested. Or I did something wrong before, but can’t find out what.

Anyway, thanks a lot @Mark_Johnson for your help!

1 Like