mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
* feat(macos): add CollectionBehavior option to MacWindow (#4756) Add configurable NSWindowCollectionBehavior support for macOS windows, allowing control over window behavior across Spaces and fullscreen. New options include: - MacWindowCollectionBehaviorCanJoinAllSpaces - MacWindowCollectionBehaviorFullScreenAuxiliary - MacWindowCollectionBehaviorMoveToActiveSpace - And more... This enables building Spotlight-like apps that appear on all Spaces or overlay fullscreen applications. Closes #4756 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Potential fix for code scanning alert no. 140: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 139: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * feat(examples): add spotlight example for CollectionBehavior Demonstrates creating a Spotlight-like launcher window that: - Appears on all macOS Spaces - Floats above other windows - Uses accessory activation policy (no Dock icon) - Has frameless translucent design 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * feat(macos): support bitwise OR for CollectionBehavior options Update CollectionBehavior to use actual NSWindowCollectionBehavior bitmask values, allowing multiple behaviors to be combined: ```go CollectionBehavior: application.MacWindowCollectionBehaviorCanJoinAllSpaces | application.MacWindowCollectionBehaviorFullScreenAuxiliary, ``` Changes: - Update Go constants to use actual bitmask values (1<<0, 1<<1, etc.) - Simplify C function to pass through combined bitmask directly - Add ParticipatesInCycle, IgnoresCycle, FullScreenDisallowsTiling options - Update documentation with combined behavior examples - Update spotlight example to demonstrate combining behaviors 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| android | ||
| badge | ||
| badge-custom | ||
| binding | ||
| build | ||
| cancel-async | ||
| cancel-chaining | ||
| clipboard | ||
| contextmenus | ||
| custom-protocol-example | ||
| dev | ||
| dialogs | ||
| dialogs-basic | ||
| dock | ||
| drag-n-drop | ||
| environment | ||
| events | ||
| events-bug | ||
| file-association | ||
| frameless | ||
| gin-example | ||
| gin-routing | ||
| gin-service | ||
| hide-window | ||
| html-dnd-api | ||
| ignore-mouse | ||
| ios | ||
| ios-poc | ||
| keybindings | ||
| liquid-glass | ||
| menu | ||
| notifications | ||
| panic-handling | ||
| plain | ||
| raw-message | ||
| screen | ||
| services | ||
| show-macos-toolbar | ||
| single-instance | ||
| spotlight | ||
| systray-basic | ||
| systray-clock | ||
| systray-custom | ||
| systray-menu | ||
| video | ||
| websocket-transport | ||
| window | ||
| window-api | ||
| window-call | ||
| window-menu | ||
| wml | ||
| linux_status.org | ||
| README.md | ||
v3
NOTE: The examples in this directory may or may not compile / run at any given time during alpha development.
Running the examples
cd v3/examples/<example>
go mod tidy
go run .
Compiling the examples
cd v3/examples/<example>
go mod tidy
go build
./<example>