You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Situations in which a keybind-mappable command is removed:
Using an extension (custom node), then uninstall it or disable it
Using the desktop app, then switch back to web version temporarily (shared settings)
When the command no longer exists, it should be possible to assign a new command to the key sequence.
Actual Behavior
When the command is removed, the keybinding is not moved to unset. Since overwriting keybindings is not possible and there is no entry in the settings dialog to remove the keybinding, the key sequence can now no longer be mapped.
Steps to Reproduce
Register an extension by pasting this into browser console:
Assign a keybinding to the 'Test Command' at the bottom of the panel
Reload the page (simulating loading with the extension removed)
Press the key sequence, observe console error
Try to re-bind the key sequence, observe that it can't be overwritten
Try to unbind the key sequence, observe that it's not in settings
Browser Logs
commandStore.ts:97 Uncaught (in promise) Error: Command TestCommand not found
at Proxy.execute (commandStore.ts:97:13)
at Proxy.wrappedAction (pinia.mjs:1405:26)
at store.<computed> (pinia.mjs:932:50)
at keybindHandler (keybindingService.ts:37:26)
Frontend Version
1.9.0
Expected Behavior
Situations in which a keybind-mappable command is removed:
When the command no longer exists, it should be possible to assign a new command to the key sequence.
Actual Behavior
When the command is removed, the keybinding is not moved to unset. Since overwriting keybindings is not possible and there is no entry in the settings dialog to remove the keybinding, the key sequence can now no longer be mapped.
Steps to Reproduce
Register an extension by pasting this into browser console:
Open settings dialog
Go to Keybindings panel in settings
Assign a keybinding to the 'Test Command' at the bottom of the panel
Reload the page (simulating loading with the extension removed)
Press the key sequence, observe console error
Try to re-bind the key sequence, observe that it can't be overwritten
Try to unbind the key sequence, observe that it's not in settings
Browser Logs
Setting JSON
comfy.settings.json
What browsers do you use to access the UI ?
Google Chrome
Other
If the keybinding is set inside of the
registerExtension
call, this error does not occur.┆Issue is synchronized with this Notion page by Unito
The text was updated successfully, but these errors were encountered: