compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Selection doesn't work correctly in some cases (Windows)

Open igordmn opened this issue 4 years ago • 2 comments

Compose 1.0.0, Windows 11, issues example

https://user-images.githubusercontent.com/5963351/144286121-c2ced900-3648-4f5b-bf70-82869fad2c32.mp4

igordmn avatar Dec 01 '21 17:12 igordmn

on macOs works correctly. probably related to \r\n\ line endings

igordmn avatar Dec 03 '21 11:12 igordmn

As I understand from the video in the issue description, when selecting the text and the cursor goes to the line with "```" , the selection disappears and then reappears when the cursor goes to the line below. Another issue on the video is that when we start the selection in the middle of code section, and then move the cursor down to the line with "```", the selection goes up instead. Are these steps correct to reproduce the issue?

Unfortunately, I didn't manage to reproduce it yet on VM, and on actual windows machine (win 10). Tried compose 1.0.0 and 1.1.0. Does it keep reproducing for you (perhaps something could've changed in the text returned from github api?)

In the meantime, I noticed another a bit weird behaviour of the selection (both windows and macos): when I start selecting in the end of a line (after the text) and then move the cursor up, the initial line doesn't get selected. https://user-images.githubusercontent.com/7372778/186196809-0e271a98-6370-4c3b-a24e-0c4947498421.mp4

eymar avatar Aug 23 '22 15:08 eymar