Now my window feels completely lifeless—no animati...
# compose-desktop
s
Now my window feels completely lifeless—no animations, no transitions, nothing. It's even hiding the navigation bar.
k
Do you have a question, a bug to report, or something actionable for this channel?
s
How can I make sure that when I set the window state to maximized, the navigation bar stays visible?
k
Don’t force people to ask for more details. Give enough details so that it’s clear what you have and what you see. How does this look like in non-maximized mode. What is the navigation bar here? Is this specific to navigation bar, or does it happen with just a simple box? Where is the code reproducer that people can quickly copy paste into their IDE and take a look. The more details you withhold, the fewer answers you’re going to get. Help this channel help you.
Also what is “Now”? It feels like you’re dropping us into the middle of your process, but there are no details of what was before that “now”. Was it working, until you made a certain change, and now something (what?) is broken? Or maybe you got a new version of one of the dependencies (which?) Or maybe something else. Nobody’s here a mind reader.
s
Hey, I totally get your frustration and I’m really sorry for not providing enough context earlier — that was my bad. So here’s what’s going on: I created a window and set
undecorated = true
because I wanted to build a custom top bar. I added a custom button that maximizes the window when clicked. But whenever window is maximized it just takes full screen width and navigation bar is also hidden due to this fact. I'm talking about windows navigation bar btw :)
Please let me know if you need more context. I'm new to this Slack channel and also new to Kotlin Multiplatform in general, so I apologize if I haven't provided enough information.
s
Thanks!
k
Also see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8231564 - this issue has been addressed in specific versions of JDK
s
Thank you so much!