Broken: 2.8x
**Short description of error**
When using the context menu to assign shortcut to a button or checkbox, the shortcut is created in a wrong space, which may lead to error popups when pressing that shortcut with mouse hovering over a different space.
**Exact steps for others to reproduce the error**
1. Load the default scene.
2. In 3D viewport, expand the Overlays popover, right-click the Wireframes checkbox and assign a shortcut through the context menu.
3. Note that shortcut works while the mouse is over the 3D viewport.
4. Move the mouse over the Properties and try pressing the shortcut. You'll get an error popup.
This is due to the shortcut being created in the Window space, not 3D View space.