macOS Mojave 10.14.6 (18G95)
MacBook Pro (Retina, 13-inch, Mid 2014)
Processor: 2.6 GHz Intel Core i5
Graphics: Intel Iris 1536 MB
Broken: Version 2.80 (2.80 2019-07-29)
Short description of error
If you add a shortcut to the "Show in viewport (screen icon)" for the modifiers, it only works for that instance & if you delete the modifier and use the shortcut it gives an error (see attached image)
Exact steps for others to reproduce the error
1/ Launch Blender, add "subdivision surface" to the default cube.
2/ Right click on "Show in viewport icon" and assign a shortcut eg command k
3/ add another "subdivision surface" modifier
4/ Use shortcut and only the first instance of the modifier toggles on and off. Shouldn't these be global shortcuts affecting each one? This also applies if you add it to the Quick favorites menu (only works for that instance of the modifier).
5/ Delete both modifiers
6/ use the shortcut again and you get the error
Hope that helps,
Have a good day