wails/.github/workflows
Lea Anthony 0de429b8fc
feat(macos): add CollectionBehavior option to MacWindow (#4799)
* 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>
2025-12-29 11:07:37 +11:00
..
auto-label-issues.yml Fix permissions issue for labeller 2025-05-15 06:35:41 +10:00
automated-releases.yml feat(macos): add CollectionBehavior option to MacWindow (#4799) 2025-12-29 11:07:37 +11:00
build-and-test-v3.yml fix(ci): always run v3 tests for PRs targeting v3-alpha 2025-12-07 17:41:02 +11:00
build-and-test.yml Fix build for Linux/v2.9.0 (#3545) 2024-06-17 21:52:57 +10:00
changelog-validation-v3.yml Update changelog-validation-v3.yml 2025-07-25 07:43:59 +10:00
generate-sponsor-image.yml Update workflows 2025-05-31 07:11:22 +10:00
issue-triage-automation.yml Add issue management automation tools 2025-05-14 20:47:45 +10:00
nightly-release-v3.yml Update nightly release script 2025-09-25 14:03:59 +10:00
pr-master.yml Update go test workflow 2025-05-31 07:52:19 +10:00
projects.yml chore: Update workflows 2022-09-26 18:00:38 +10:00
publish-npm.yml Fix commit of npm package changes 2025-09-28 08:00:42 +10:00
runtime.yml Release/v2.1.0 (#1988) 2022-10-18 07:21:07 +11:00
semgrep.yml Update semgrep runner (#4356) 2025-06-16 22:11:32 +10:00
stale-issues.yml Increase stale workflow operations limit 2025-05-14 20:55:08 +10:00
sync-translated-documents.yml Update node version in pipelines 2024-03-19 21:35:38 +11:00
test-nightly-releases.yml feat(macos): add CollectionBehavior option to MacWindow (#4799) 2025-12-29 11:07:37 +11:00
test-simple.yml Add simple test workflow to verify GitHub Actions recognition 2025-07-13 10:58:52 +10:00
unreleased-changelog-trigger.yml Fix v3 release pipeline: correct git operation order to prevent version lag (#4546) 2025-09-02 20:39:21 +10:00
upload-source-documents.yml Update verify steps in pipeline 2025-03-16 11:35:46 +11:00
v3-docs.yml fix(docs): disable broken d2 diagram and fix installer 2025-11-24 21:33:15 +11:00