Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frameless Window Broken AF #1420

Open
MonaChanDev opened this issue Jun 24, 2024 · 3 comments
Open

Frameless Window Broken AF #1420

MonaChanDev opened this issue Jun 24, 2024 · 3 comments

Comments

@MonaChanDev
Copy link

Specification

  • pywebview version: 5.1
  • operating system: Windows 10 - 64bit
  • web renderer: default one on Win 10 (gui= not setted)

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

  • NO I am willing to work on this issue myself (sadly 😢).
  • NO I am not prepared to support this issue financially (sadly x2 😢).
@Xanderplayz16
Copy link
Contributor

Xanderplayz16 commented Jul 7, 2024

maximize makes the app fullscreen

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

@MonaChanDev
Copy link
Author

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
Copy link
Owner

r0x0r commented Jul 8, 2024

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

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

No branches or pull requests

3 participants