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

Not allowed to launch because a user gesture is required. #1

Open
tennox opened this issue May 21, 2022 · 0 comments
Open

Not allowed to launch because a user gesture is required. #1

tennox opened this issue May 21, 2022 · 0 comments

Comments

@tennox
Copy link
Owner

tennox commented May 21, 2022

Sometimes, only the first vscodium open action works (and no further ones) until you perform some interaction with your actual app.
The devtools' devtools (right click inside devtools and select 'inspect') shows this:

Not allowed to launch 'vscodium://file/home/manu/dev/bookr/client/bookerdata-subscriptions.js:57:15' because a user gesture is required.

I have tried maaaany things, including:

  • different ways of opening the URL
  • using a <a href="vscodium://"> element
    but to no avail...

The only known workaround:

  1. Undock the devtools
    image
  2. Put it back where you want it. (optional)

This seems to detach the devtools into a different context where the interaction of clicking on the filename inside devtools counts as user gesture (why the f*** not without undocking??)

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

1 participant