Shortcut for "hide invisibles" no longer working in Dorico 5.0.20

Hi there,

I noticed that the default shortcut to “hide invisibles” (Shift+° on my german keyboard layout) is no longer recognized in Dorico 5.0.20. I tried to reassign the shortcut, but of the two keys that I press, Dorico will only recognize the Shift key). Does anybody else have this problem?

Greetings from Germany!
Jochen

Same problem here. Initially works but after having clicked with the mouse anywhere in the score it stops working.

1 Like

It seems it’s a problem with the german keyboard layout, right? It might be useful to put it in the title if it’s accurate — I don’t experience it on the french keyboard layout.

Hm, but it works before clicking with the mouse.

This is caused by a change in the way certain keys are handled in Qt and we didn’t catch the fact that we need to change the default shortcut for “hide invisibles” in German before we shipped Dorico 5.0.20 – sorry about that. If you edit the shortcut in the Key Commands page of Preferences to ° you should find that it starts working once more.

1 Like

Thank you for your insight. Unfortunately, the shortcut definition field will not recognize the ° key at all and awaits further keystrokes.

Same problem here.

Assign any key combination you like, then quit Dorico. In the Finder, go to:

~/Library/Application Support/Steinberg/Dorico 5

You’ll see a file in there called keycommands_de.json. Open this in a text editor and find the string View.HideInvisibles. Edit the shortcut from whatever you chose to °, then save the file.

Now restart Dorico, and all should be well.

1 Like

So I started from scratch:
deleted ~/Library/Application Support/Steinberg/Dorico 5/keycommands_de.json
defined shortcut for View.HideInvisibles to something
edited keycommands_de.json, looks now like this:

{
	"common" : {
		"contexts" : [
			
			{
				"context" : "kGlobal",
				"shortcuts" : [
					
					{
						"View.HideInvisibles" : [ "°" ]
					}
				]
			}
		]
	},
	"delta" : "true",
	"version" : "5.0.20"
}

When I open a project the command works at first. Then as soon as I have clicked with the mouse anywhere in the score the key command doesn’t work anymore.

I can’t explain that. Do you encounter the problem if you use a different key? Perhaps one that doesn’t add a diacritic/accent?

I use “Shift-esc” now, works as expected:

{
	"common" : {
		"contexts" : [
			{
				"context" : "kGlobal",
				"shortcuts" : [
					{
						"View.HideInvisibles" : [ "Shift+Esc" ]
					}
				]
			}
		]
	},
	"delta" : "true",
	"version" : "5.0.20"
}

But I’m surprised that the old key command still shows up:

The existing key command will appear because it’s still defined in the factory set.

Ah, thank you. So I assume that deleting this will do no harm.