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

When I run it on MacOS, I use the Chinese input method to stay on the candidate word interface, and then click another TextField with the mouse, the APP crashes directly.

Open Matcha-xiaobin opened this issue 2 months ago • 8 comments

Describe the bug When I run it on MacOS, I use the Chinese input method to stay on the candidate word interface, and then click another TextField with the mouse, the APP crashes directly.

Affected platforms macOS

Versions

  • Kotlin version*: 1.9.23
  • Compose Multiplatform version*: 1.6.2
  • OS version(s)* (required for Desktop and iOS issues): sonoma 14.3.1
  • OS architecture (x86 or arm64):x86
  • Device (model or simulator for iOS issues): iMac
  • JDK (for desktop issues): 18

To Reproduce Steps and/or the code snippet to reproduce the behavior:

  1. There has two TextField on screen
  2. Click the first one with the mouse, then switch to the Chinese input method to input any text, but stay on the candidate word interface and do not enter it into the TextField.
  3. Click on another TextField

Expected behavior Avoid APP crashes.

Screenshots

https://github.com/JetBrains/compose-multiplatform/assets/5775066/4b1e797f-e2df-499e-83cc-c39ebe3a3cd6

Matcha-xiaobin avatar Apr 16 '24 10:04 Matcha-xiaobin