Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicating multiple blocks using shortcut keys causes the screen to crash with a fatal error. #21307

Closed
ddryo opened this issue Mar 31, 2020 · 3 comments · Fixed by #21317
Closed
Assignees
Labels
[Priority] High Used to indicate top priority items that need quick attention [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@ddryo
Copy link
Contributor

ddryo commented Mar 31, 2020

Editing screen crashes when copying using the "Shift + command + D" shortcut key with multiple blocks selected.

However, when you select "Duplicate" from the toolbar menu and copy, it works normally.
Also, it was possible to duplicate a single block with a shortcut key.

Screenshots
Crashed screen...
Crashed_screen

To reproduce
Steps to reproduce the behavior:

  1. Select multiple blocks by drag & drop
  2. Try to duplicate using the shortcut key ("Shift + command + D").
  3. Editing screen crashes.

Environment:

  • OS: Mac OS Catalina
  • Browser: Chrome 80.0.3987.162
  • WP Version: 5.4
  • Gutenberg Version: 7.8.1

This is a very serious problem.
If you get this error, your work will not be saved.

People who are used to using shortcut keys will move their hands before thinking.
The screen crashes and when you notice everything is too late.

@ddryo
Copy link
Contributor Author

ddryo commented Apr 1, 2020

Additional information.

Maybe this is a browser dependent bug.
When confirmed on Safari, it did not reproduce.

@talldan talldan added [Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended labels Apr 1, 2020
@torounit
Copy link
Member

torounit commented Apr 1, 2020

Crashed too in 5.4 ( Occurs when Gutenberg 7.8 is enabled or disabled.).

Crash when duplicating with text in selected.

OS: Mac OS Catalina
Browser: Chrome 80.0.3987.162 and firefox 74.0
WP Version: 5.4
Gutenberg Version: 7.8.1

issue

@youknowriad youknowriad self-assigned this Apr 1, 2020
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] High Used to indicate top priority items that need quick attention [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants