-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Describe the bug
When I share the window state placement to WindowPlacement.FullScreen everything works fine but I change it back to WindowPlacement.Maximized it remains full screen.
Affected platforms
- Desktop
Versions
- Kotlin version*: 1.9.22
- Compose Multiplatform version*: 1.6.0-rc02
- OS version(s)* (required for Desktop and iOS issues): MacOs 13.0.1
- OS architecture (x86 or arm64): arm64
- JDK (for desktop issues): 17
To Reproduce
Steps and/or the code snippet to reproduce the behavior:
- Change window state placement to
WindowPlacement.FullScreen - Change window state placement to
WindowPlacement.Maximized - You will see that the window is still in full-screen mode.
This is a screen recording describing the issue:
https://github.com/JetBrains/compose-multiplatform/assets/41842296/4d7df284-b367-4452-bc34-8e7965425597
Expected behavior
The full-screen mode should be disabled.
This is a screen recording describing the expected behavior:
https://github.com/JetBrains/compose-multiplatform/assets/41842296/0b42c46e-b761-4f5b-b8d0-9e06e1ee366e
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.