-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layout flickers when resizing the window (regression) #4744
Comments
Can't reproduce it on macOS. |
@MatkovIvan I don't think I touched |
I'm also having problems with window resizing on windows. I'm not sure if this is the same problem, but it might be? If it's different I can make another issue. The hardcoded 200 width moves around as I resize the window, on windows, and then snaps back to 200 when I stop moving it. On a Mac, the 200 width remains in place as the rest of the window expands and shrinks. This is on 1.6.2
Please forgive this horrible video quality... windowsresizing.mov |
I should say that CMP 1.6.0 also did not have this problem. |
Sorry. I only tested Windows. The macOS and Linux were remnants of issue template. |
Reproduced in minimal skiko app without Compose. Happens only for DirectX. OpenGL for Windows works |
Explanation here - #4521 (comment) |
Fixes a couple of issues like: JetBrains/compose-multiplatform#4744 (TODO: collect all references) Before (slow-mo) https://github.com/JetBrains/skiko/assets/1836384/5768b139-d08f-4142-8c14-2969107807f9 After (slow-mo) https://github.com/JetBrains/skiko/assets/1836384/cc9a5103-3d30-412e-a5a4-baf590d657b8
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Describe the bug
When changing window width on desktop, the content of the window repeatedly shrinks or expands while the resizing is in progress.
This problem did not exist in compose multiplatform 1.5.10.
Affected platforms
Versions
To Reproduce
Run the below app and resize the window with mouse.
Additional context
This also happens even when window is not resizable. when programmatically changing window size, the content breaks for a moment:
video.mp4
The text was updated successfully, but these errors were encountered: