Code: Click and drag selection stops working
Checklist
- [x] Using latest version on the App Store
- [x] Read the docs
- [x] Searched for existing GitHub issues
Configuration
Blink version: 16.0.3 iPadOS version: 16.1.1 Setup: iPad with magic keyboard, code connection to code-server
Describe the bug
When launching code to a self-hosted code-server instance, I randomly loose the ability to select text by clicking and dragging. I use the trackpad to click, which places the cursor as expected, but when dragging no selection is made. After a bit of investigation I have noticed that this bug is reproducible. Steps to reproduce:
- Open a fresh instance of code
- Click and drag works as expected
- Open control center, then close it
- Click and drag does not work anymore
Attached is a video of the process:
https://user-images.githubusercontent.com/27856599/213889429-96d89cac-7229-4050-828b-6fe5d672a38b.mp4
After further exploration, this might be related to https://github.com/microsoft/vscode/issues/167151. There are a few iPad bugs related to VSCode, even though they are mostly related to VSCode web and its use through safari or a PWA.
Depending on how blink code is implemented under the hood these bugs may be the same.
the text selection bug is still present. One way to reproduce it is to resize the VSCode window in width (with Stage Manager activated), once resized one cannot select text with the cursor or the mouse (click and drag). Example : (iPadOS 16.4.1)
https://user-images.githubusercontent.com/21053090/233995324-29f5ac49-59e7-42b3-9ad3-b20d58d08c61.mov