JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.33k stars 1.18k forks source link

SelectionContainer Text cannot copy text #931

Closed D10NGYANG closed 2 months ago

D10NGYANG commented 3 years ago

SelectionContainer { Text(text ="你好") } I ran the code, but could not copy the text from it.

macOS 11.4 Windows 10

LouisCAD commented 3 years ago

It's also non-native at all at the moment, which is not good because it breaks integration with OS features.

For instance, I use PopClip, an app that shows an actionable tooltip on text selection, and it never shows up on Compose for Desktop apps, while it does in Chrome, IntelliJ IDEA and everywhere else on my Mac.

D10NGYANG commented 3 years ago

It's also non-native at all at the moment, which is not good because it breaks integration with OS features.

For instance, I use PopClip, an app that shows an actionable tooltip on text selection, and it never shows up on Compose for Desktop apps, while it does in Chrome, IntelliJ IDEA and everywhere else on my Mac.

Hi, do you have any other solutions?

akurasov commented 3 years ago

@D10NGYANG the fix was integrated into 1.0.0-alpha1-rc1. Should work now (works on my Mac).

okushnikov commented 3 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.