Shell 30: fluxer-platform Wayland activation #822

Closed
opened 2026-11-17 23:03:02 +00:00 by charles · 0 comments
Owner

Task 30 of the Desktop shell plan (docs/superpowers/plans/2026-11-17-desktop-shell.md, section "### Task 30:"). The plan on the shell branch is the source of truth; this copy is for reading.

Closes: #55 (the Wayland raise; its Windows box is checked in Task 44) Depends on: 4, 32

Files:

  • Create: crates/fluxer-platform/src/activation.rs · Modify: lib.rs, notify/linux.rs (the click's activation token passed to OnClick), Cargo.toml, README · Test: crates/fluxer-platform/tests/activation.rs

Interfaces:

  • Consumes: Task 4's proven call, Task 32's WindowHost / WindowRef. Produces: activate(&WindowRef, &ActivationToken) -> Result<(), ActivationError> (xdg_activation_v1 on the window's wl_surface; Unsupported elsewhere); Clicked gains activation_token; the tray's token already flows (Task 21).

  • Step 1: failing tests: unsupported_off_wayland, token_never_in_debug, notifications harness: click_carries_activation_token; opt-in desktop test second_launch_raises_window.

  • Step 2–5: FAIL → implement → PASS → commit feat(platform): Wayland activation.

Task 30 of the Desktop shell plan (`docs/superpowers/plans/2026-11-17-desktop-shell.md`, section "### Task 30:"). The plan on the `shell` branch is the source of truth; this copy is for reading. **Closes:** #55 (the Wayland raise; its Windows box is checked in Task 44) **Depends on:** 4, 32 **Files:** - Create: `crates/fluxer-platform/src/activation.rs` · Modify: `lib.rs`, `notify/linux.rs` (the click's activation token passed to `OnClick`), `Cargo.toml`, README · Test: `crates/fluxer-platform/tests/activation.rs` **Interfaces:** - Consumes: Task 4's proven call, Task 32's `WindowHost` / `WindowRef`. Produces: `activate(&WindowRef, &ActivationToken) -> Result<(), ActivationError>` (`xdg_activation_v1` on the window's `wl_surface`; `Unsupported` elsewhere); `Clicked` gains `activation_token`; the tray's token already flows (Task 21). - [ ] **Step 1: failing tests**: `unsupported_off_wayland`, `token_never_in_debug`, notifications harness: `click_carries_activation_token`; opt-in desktop test `second_launch_raises_window`. - [ ] **Step 2–5:** FAIL → implement → PASS → commit `feat(platform): Wayland activation`.
charles added this to the Desktop shell milestone 2026-11-17 23:03:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#822
No description provided.