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

Unexpected text copied after switching output mimetype #104003

Closed
bamurtaugh opened this issue Aug 4, 2020 · 3 comments
Closed

Unexpected text copied after switching output mimetype #104003

bamurtaugh opened this issue Aug 4, 2020 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster notebook

Comments

@bamurtaugh
Copy link
Member

Testing #103860

  • Switch output mimetype to text/markdown, select some text and then copy -> correct text is copied and pasted into notepad
    image
  • Switch output mimetype back to text/html, select some text and then copy -> I didn't expect the code cell's contents would be copied, rather than the output content I highlighted
    image

Is there a way we can allow users to copy and paste the html output? Or is that the point of switching to the markdown format?

If this is the correct/expected behavior, please feel free to close.

@rebornix rebornix added notebook bug Issue identified by VS Code Team member as probable bug labels Aug 4, 2020
@rebornix rebornix added this to the July 2020 milestone Aug 4, 2020
@rebornix
Copy link
Member

rebornix commented Aug 6, 2020

@bamurtaugh can you confirm if you are still seeing this issue in latest Insiders?

@rebornix rebornix added the info-needed Issue requires more information from poster label Aug 6, 2020
@rebornix rebornix removed this from the July 2020 milestone Aug 6, 2020
@bamurtaugh
Copy link
Member Author

@rebornix Yes, I just tried again and am still experiencing this. I can copy and paste markdown output, but attempting to highlight and copy the html output still pastes the input cell's contents rather than the output.

image

image

Version: 1.48.0-insider (user setup)
Commit: cfbd199
Date: 2020-08-06T05:59:51.622Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

@rebornix
Copy link
Member

The bug is already fixed in master.

@rebornix rebornix added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 13, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2020
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 *duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster notebook
Projects
None yet
Development

No branches or pull requests

2 participants