Skip to content

Conversation

@konakona418
Copy link
Contributor

@konakona418 konakona418 commented Apr 8, 2025

The webui_maximize function currently invokes _webui_wv_minimize, which causes the window to minimize rather than maximize.

This seems to be a naming error in the implementation.

PS: When the window is set to be transparent using webui_set_transparent, while the window is maximized, click events sometimes fall through the WebUI window and are captured by completely irrelevant windows underneath. This only occurs with transparent mode enabled and the window maximized. I'm using Windows 11 and WebView2 for development.

I believe this is not an intended behavior. It can be a side-effect of transparency in WebView2 on Windows, but it’s quite unexpected.

Would you like me to open a separate issue for this transparency-related behavior?

@AlbertShown
Copy link
Member

Thank @konakona418 for the fix, yes it was a naming typo.

About frameless issue, I'm aware of it, I spent hours with a co-developer to fix it, but no success, that's why we end-up setting webui_set_resizable() to false, and we hided maximize button. Yes, you can open a new issue to track it if you want, but for now we want to finish transparency and CSS dragging feature on Linux and macOS.

@AlbertShown AlbertShown merged commit 2181bae into webui-dev:main Apr 8, 2025
24 checks passed
@konakona418
Copy link
Contributor Author

Thanks for the explanation, and good luck with the ongoing work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants