r0x0r / pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS
https://pywebview.flowrl.com
BSD 3-Clause "New" or "Revised" License
4.62k stars 537 forks source link

Frameless Window Broken AF #1420

Closed MonaChanDev closed 4 weeks ago

MonaChanDev commented 2 months ago

Specification

Description

I am trying to break away from Tauri and Electron, trying flask + pywebview. I am making a custom window, with custom title bar that integrates classic windows controls. The problem is that the frameless window doesn't work properly, maximize makes the app fullscreen and the window animations simply don't work, and from the taskbar you can't take advantage of the classic window functions...

To replicate everything, just try calling the maximize() and minimize() functions on the frameless window and also see the behavior on the taskbar...

In the meantime, do you recommend another alternative?

Practicalities

Xanderplayz16 commented 2 months ago

maximize makes the app fullscreen

That's intended behavior. Maximize should make the app fullscreen.

MonaChanDev commented 2 months ago

I don't think so, since the same command on a bordered window does the same thing as the Windows maximize button, also doing the animation... Furthermore, I don't know what kind of contribution you thought you were bringing to the issue with this answer :/

r0x0r commented 1 month ago

While it has never been spec'd, I agree with @Xanderplayz16 that maximized state of frameless window is fullscreen. What is your proposal?

github-actions[bot] commented 4 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.