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

In examples imageviewer,When showPopUpMessage is called repeatedly in a short time, Toast will never show

Open CaiDingxian opened this issue 2 years ago • 2 comments

Describe the bug In examples imageviewer When showPopUpMessage is called repeatedly in a short time, Toast will never show.

Affected platforms Select one of the platforms below:

  • Desktop

Versions

  • Kotlin version*: 1.6
  • Compose Multiplatform version*: 1.1.1
  • OS version(s)*: Windows 11 22H2
  • OS architecture: arm64
  • JDK (for desktop issues): JDK11

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

  1. click dots button in any miniature image
  2. then click dots button in another miniature,fast
  3. then the Toast will never show when you click again and again

Additional context the bug may cause by Toast.kt
code: if (isShown) { return }

图片

video

https://user-images.githubusercontent.com/37413956/226234664-8cdcdd61-6213-40dd-a384-978012a5078a.mp4

CaiDingxian avatar Mar 15 '23 09:03 CaiDingxian

Could you add a short snippet reproducing the issue?

m-sasha avatar Mar 15 '23 10:03 m-sasha

OK,I have add a video reproducing the issue

CaiDingxian avatar Mar 20 '23 02:03 CaiDingxian

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

okushnikov avatar Jul 14 '24 14:07 okushnikov