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.2k stars 1.17k forks source link

Rendering problem on windows platform #2246

Closed Someonewow closed 1 month ago

Someonewow commented 2 years ago

Apps built on the Windows platform, when the window is zoomed in and out, the rendering of the background does not seem to keep up, and some frames are dropped.

The project that demonstrates the problem is official example codeviewer

demo
esp-er commented 2 years ago

Try running with command line flag -Dskiko.vsync.enabled=false -- It's not a solution, really, but you could try and see how much Vsync is affecting things. Edit: Tried it myself and it didn't improve things much, so it wasn't that good of a suggestion. Same problem seems to exist on Linux but it refreshes faster on Linux than Windows on my machines.

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.