Skip to content

[Feature Request] Regarding Frameless=True #1749

@xceyds

Description

@xceyds

Currently, enabling Frameless=True leads to several issues, including but not limited to:

  • Inability to resize the window
  • Disappearance of the minimize animation
  • Failure to restore the window by clicking the taskbar icon after minimizing

However, WinForms + WebView2 can achieve a nearly perfect frameless window experience. You can refer to this repository for a working example:
👉 https://github.com/XuanchenLin/WinFormedge

This library demonstrates how to build modern, borderless WinForms applications using HTML, CSS, and JavaScript via Microsoft WebView2—complete with features like draggable title bars (appRegion: "drag" in CSS/JS) and proper window management.

I’m wondering: Can pywebview achieve similar behavior on Windows?

I also have a working demo based on .NET Framework 4.7.2 that runs smoothly on Windows 10.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions