window_manager icon indicating copy to clipboard operation
window_manager copied to clipboard

windowManager.setTitleBarStyle(TitleBarStyle.normal) should update window style to WS_OVERLAPPED

Open j0000el opened this issue 4 months ago • 0 comments

I have a flutter game on Windows that can start up in either fullscreen or windowed mode depending on user settings. If it stats in fullscreen, the window is created with WS_POPUP window style passed to the CreateWindow(). If the user prefers to go to windowed mode, I call windowManager.setFullScreen(false). This will go into windowed mode but the title bar will be hidden. If I call windowManager.setTitleBarStyle(TitleBarStyle.normal) to reveal the title bar, it is still hidden. I would expect setTitleBarStyle(.normal) to update the main window style to WS_OVERLAPPED to ensure the title bar is visible.

j0000el avatar Oct 27 '25 17:10 j0000el