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

[BUG] Meta+A doesn't select all on Windows #28887

Closed
goodwin64 opened this issue Jan 7, 2024 · 3 comments
Closed

[BUG] Meta+A doesn't select all on Windows #28887

goodwin64 opened this issue Jan 7, 2024 · 3 comments

Comments

@goodwin64
Copy link

System info

  • Playwright Version: [v1.35.1]
  • Operating System: [Windows 11]
  • Browser: [All]
  • Other info: tested on MacOS, it works properly

Source code

Steps

  • enter text into field 1
  • enter text into field 2
  • focus on field 1
  • press Meta+A (should select all text)
  • press Backspace
  • repeat several times

Expected

text is deleted, field becomes empty, only the new text remains:
image

Actual

only the last character is deleted, the new text is concatenated to the old one:
image

@dgozman
Copy link
Contributor

dgozman commented Jan 9, 2024

@goodwin64 Well, on Windows you select with Ctrl+A. Have you tried that?

@goodwin64
Copy link
Author

I haven't, I just thought the Meta is a platform-agnostic meta-key 🤔

So, would you recommend specifying a different key combination based on the OS? @dgozman

@dgozman
Copy link
Contributor

dgozman commented Jan 10, 2024

@goodwin64 Yes, for now you have to use a different key combination based on the OS. See #12168 for a feature request to improve this.

@dgozman dgozman closed this as completed Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants