Skip to content

V3: macOS window.collectionBehavior #4756

@m7r

Description

@m7r

Is your feature request related to a problem? Please describe.

I am working an on App with a spotlight like interface.
I added a menu shortcut to activate/focus the window. This works fine if you only work with one space. But the window can't join a fullscreen application.

NSWindowCollectionBehaviorCanJoinAllSpaces | NSWindowCollectionBehaviorFullScreenAuxiliary

Allows the window to be visible in all spaces if in the app ActivationPolicy is set to application.ActivationPolicyAccessory.

Describe the solution you'd like

Unfortunately NSWindowCollectionBehaviorFullScreenPrimary is hard coded in
webview_window_darwin.go Line 38

I would suggest to add collectionBehavior to application.MacWindow options.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions