Polyglot Notebook: [NetTestingE2E][Intermittent]Unable to copy & paste into filter field.
Opened this issue · 0 comments
Describe the bug
If we copy chars from the cell or notebook and then paste into filter field, the copied chars unable to pasted into filter field for both using hotkey Ctrl+ V or right-click 'Paste' button. Sometimes, it pastes this cell again or it pastes the below one markdown in the *.dib file.
Note:
- I only encounter this issue when copying & pasting chars into filter field, don't repro it when typing chars in filter field.
- Repro VM: 10.158.80.11.
Steps:
- Ctrl+Shift+P => "Polyglot Notebook: Create new blank notebook"
- Select "Create as .dib" ->Select "C#"
- Set the cell contents to "var x = "test123";" and execute cell
- Copy test123 and paste the strings into Polyglot Notebook variables - filter field.
Build info:
Detailed Repro Build info: VSCodeUserSetup-x64-1.101.2 +dotnet-interactive-vscode-1.0.6323011.vsix
VSCode Link: https://code.visualstudio.com/insiders/#
dotnet-interactive-vscode-1.0.6323011.vsix
https://dev.azure.com/dnceng/internal/_build/results?buildId=2177104&view=artifacts&pathAsName=false&type=publishedArtifacts
Sdk info: dotnet-sdk-9.0.300-win-x64.exe
Actual Results:
Unable to copy chars from cell and then paste into filter field.

Expected Results:
The chars can be pasted into field with no issue.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
- OS
- [ √] Windows 11
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- [√ ] Visual Studio Code
- Visual Studio Code Insiders
- Visual Studio
- Other (please specify)