Steps to reproduce:
- Open a Unity URP project
- Create a new Shader Graph asset in your assets via Create > Shader Graph > URP > Lit Shader Graph
- Open your new Shader Graph asset by double clicking on it
- Create a node with a Preview (e.g. Channel Mixer) by pressing spacebar to open the Create Node menu and double clicking on the node
- Ensure that the created node is not selected
- Use the shortcut Ctrl + T to Collapse or Expand All Previews
Actual results: Nothing happens
Expected results: The preview on the created node is either collapsed or expanded, dependent on its previous state.
Reproducible with versions:
Not reproducible with versions: -
Can’t test with versions:
- 2023.2.20f1 (shortcut not added)
- 2022.3.36f1 (shortcut not added)
- 2021.3.40f1 (shortcut not added)
Tested on (OS): Windows 11
Notes:
- The 'Collapse All Previews' and 'Expand All Previews' options in the context menu work. It is just the keyboard shortcut that is not functional.
- The same keyboard shortcut (Ctrl + T) is used to expand and collapse a preview of selected nodes. This works. It is specifically when you want to expand or collapse all previews (when you have no specific node selected) when it doesn't work.