Skip to content

在 macOS 上 WidgetWindowAgent 会导致 Window 菜单的 Fill 和 Center 不可用 #227

@starxg

Description

@starxg

问题

当我给 QMainWindow 设置 WidgetWindowAgent#setup 后,该选项变成不可用

Image

取消后,就可以用了

Image

我已经将复现代码上传到 GitHub:https://github.com/starxg/qwindowkit-macos-bugs

Window 菜单

Window 菜单通过 [NSApp setWindowsMenu:nsMenu]; 设置,具体请查看:osx-native.mm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions