blinksh / blink

Blink Mobile Shell for iOS (Mosh based)
https://blink.sh
GNU General Public License v3.0
6.12k stars 567 forks source link

Code: Click and drag selection stops working #1686

Open Pietroro opened 1 year ago

Pietroro commented 1 year ago

Checklist

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:

Attached is a video of the process:

https://user-images.githubusercontent.com/27856599/213889429-96d89cac-7229-4050-828b-6fe5d672a38b.mp4

Pietroro commented 1 year ago

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.

cschoenecker commented 1 year ago

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