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
{{ message }}
Repository navigation
One Ctrl+Z after two quick deletions restores both #3946
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
One Ctrl+Z after two quick deletions restores both files. Every deletion binds its own Ctrl+Z for the 7 seconds of its toast (packages/web-app-files/src/composables/actions/useFileActionsDeleteResources.ts:111-122), and useKeyboardActions runs every matching binding, so a single Ctrl+Z triggers all pending undos.
Reproduction Steps
Delete file A.
Within 7 seconds, delete file B.
Press Ctrl+Z once.
Expected Outcome
Only B is restored. A can still be restored with the Undo button of its toast.
Activity