Gutenberg: Select all shortcut selects all blocks instead of content in block (Microsoft Edge)

Created on 12 Dec 2019  路  8Comments  路  Source: WordPress/gutenberg

Describe the bug
In Microsoft Edge the select all shortcut ctrl+A selects all blocks instead of only selecting all of the content in a block.

This is not consistent with the behaviour in Chrome and Firefox. In other browsers only when using the shortcut again are all of the blocks selected.

To reproduce

  • Click in a paragraph block

    • Press once selects all text

  • Click in another paragraph block

    • Press once selects all bocks

  • Click in another paragraph block

    • Press once selects all bocks

Expected Behaviour

  • Click in a paragraph block

    • Press once selects all text.

  • Click in another paragraph block

    • Press once selects all text

    • Press twice selects all bocks

Here is a screencast: https://youtu.be/djIfj67Qdbk

Environment

  • OS: Windows 10
  • Browser: Edge
  • Version: 18 (42.17134.1.0)
  • WordPress: 5.3
  • Gutenberg: 7.3
Browser Issues [Type] Bug

All 8 comments

Not only a problem in Edge, I also reproduced this in Firefox the other day.

@MarcoZehe I was not able to reproduce this issue in Firefox.

Here is a short screencast of Firefox: https://youtu.be/JrSH711-37g

Sorry, I am blind and cannot see the screen. So I'll take your word for it. I did reproduce it earlier this week, but when I tried just now, it worked fine. Not sure what's up with that or what condition triggers the behavior.

@grappler Is this something you're still experiencing with the latest version of the plugin?

@talldan Yes, this bug is still existent. Any reason why you would expect it to be fixed?

I did notice that now the first time running "select all" in a paragraph block works fine but after that it always selects all of the blocks.

@grappler What you describe is how it's intended to work. Press once to select all text, press a second time to select all blocks.

As such I'll close the issue.

@talldan But that is not the case in Edge.

Current Behaviour

  • Click in a paragraph block

    • Press once selects all text

  • Click in another paragraph block

    • Press once selects all bocks

  • Click in another paragraph block

    • Press once selects all bocks

Expected Behaviour

  • Click in a paragraph block

    • Press once selects all text.

  • Click in another paragraph block

    • Press once selects all text

    • Press twice selects all bocks

Here is a screencast: https://youtu.be/djIfj67Qdbk

Thanks for the extra info @grappler, I can confirm that now that you've clarified how to reproduce the issue.

The Issue is now reopened. I've also updated the issue description with those details from your latest comment.

Was this page helpful?
0 / 5 - 0 ratings