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

Safari cannot copy problem text to clipboard #83598

Closed
mjbvz opened this issue Oct 29, 2019 · 3 comments
Closed

Safari cannot copy problem text to clipboard #83598

mjbvz opened this issue Oct 29, 2019 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-clipboard Editor clipboard issues safari Issues running VSCode in Web on Safari verified Verification succeeded web Issues related to running VSCode in the web
Milestone

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Oct 29, 2019

Testing #83296

Repo

  1. Using safari
  2. Create a ts file:
// @ts-check
"use strict";
const a = 1;
a = 2
  1. In the problems view, right click on the error and select copy

bug
Nothing copied

If I instead press cmd+c, I see a message stating:

undefined is not an object (evaluating 'navigator.clipboard.writeText')
@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug editor-clipboard Editor clipboard issues safari Issues running VSCode in Web on Safari web Issues related to running VSCode in the web labels Oct 30, 2019
@bpasero
Copy link
Member

bpasero commented Oct 30, 2019

Duplicate? #83595

@jrieken jrieken removed their assignment Oct 30, 2019
@sbatten sbatten added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 30, 2019
@vscodebot
Copy link

vscodebot bot commented Oct 30, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Oct 30, 2019
@mjbvz
Copy link
Contributor Author

mjbvz commented Oct 30, 2019

@bpasero Different root cause I think, so reopening. navigator.clipboard does not seem to exist at all on Safari. It does in firefox

@mjbvz mjbvz reopened this Oct 30, 2019
@sbatten sbatten removed the *duplicate Issue identified as a duplicate of another issue(s) label Oct 30, 2019
@sbatten sbatten added this to the On Deck milestone Oct 30, 2019
@rebornix rebornix assigned rebornix and unassigned sbatten Nov 7, 2019
@rebornix rebornix modified the milestones: On Deck, November 2019 Nov 7, 2019
@mjbvz mjbvz added the verified Verification succeeded label Dec 4, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug editor-clipboard Editor clipboard issues safari Issues running VSCode in Web on Safari verified Verification succeeded web Issues related to running VSCode in the web
Projects
None yet
Development

No branches or pull requests

5 participants