Skip to content

Commit 1d3aa18

Browse files
committed
docs: release v0.2.1 and align the support matrix with the SDK
Update the documentation site and its package metadata to v0.2.1, matching the SDK release. Version and packages: - `package.json` and `package-lock.json` (root and `packages[""]`) move to 0.2.1; the dependency entries in the lockfile are untouched. - The Chinese and English home pages state the current version as v0.2.1. Platform support matrix, aligned with the SDK's real behaviour: - The matrix now carries 13 rows instead of 7: accent colour, notification icon and notification actions are listed separately, and the session column is split into lock, logout, suspend/hibernate and reboot/shutdown — logout is best-effort on XFCE and the tiling compositors. - A ❌ grade is added for "the platform has no such concept", which the previous ⚠️-only scale could not express. - Theme detection on Hyprland, Sway and generic X11 downgrades from ✅ to ⚠️, and the ⚠️ section records that the read answers `Theme::Unknown` when every probe comes up empty. - Both matrices close with a reminder that the runtime answer comes from `capabilities()` / `support_level()`, never from the table. `SupportLevel` and `UdaError`, corrected against the source: - `SupportLevel` is `Full` / `Partial(reason)` / `None`; `Partial` carries its reason and `reason()` returns it. The pages previously described `Restricted(reason)` and `Unsupported`, neither of which exists. - `UdaError::Unsupported` and `UdaError::FeatureUnsupported` are both wrong; the variant is `NotSupported`. The `UdaError` example in the contributing guide is rewritten against `uda-core/src/error.rs`, which has `NotSupported`, `DetectionFailed`, `CommandFailed`, `Io` and `Internal`. Wallpaper and the portal: - The wallpaper backend does not use the XDG Desktop Portal: `org.freedesktop.portal.Wallpaper` exists but is never called, so that chain starts at Tier 2. Wake locks likewise use `org.freedesktop.ScreenSaver.Inhibit` rather than `org.freedesktop.portal.Inhibit`, and appearance detection is the only module that engages Tier 1. The pages that still claimed every Linux feature tries the portal first are corrected. Documents v0.2.0 wherever the statement is historical — which release fixed a given defect — since that remains accurate.
1 parent a43ca4e commit 1d3aa18

18 files changed

Lines changed: 256 additions & 94 deletions

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "unidesktop",
33
"type": "module",
4-
"version": "0.2.0",
4+
"version": "0.2.1",
55
"scripts": {
66
"dev": "astro dev",
77
"start": "astro dev",

‎src/content/docs/en/guides/capability-and-fallback.md‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@ UDA's contract: **every feature reports its support level**, so the application
1616
| Variant | Meaning | What your app should do |
1717
|---|---|---|
1818
| `SupportLevel::Full` | fully supported | use it normally |
19-
| `SupportLevel::Partial` | available in a degraded form (a limited set of monitors, modes or formats) | use it, but do not promise the missing part to the user |
19+
| `SupportLevel::Partial(reason)` | available in a degraded form (a limited set of monitors, modes or formats), **with the reason attached** | use it, but do not promise the missing part to the user; `reason` can be shown to the user verbatim |
2020
| `SupportLevel::None` | not available | hide the entry, or explain why |
2121

22-
`Partial` carries no reason string. When a backend needs to say *why*, it returns a typed `UdaError` at call time instead — the diagnostic text travels with the error, not with the capability level.
22+
The reason is read through `SupportLevel::reason()`, which returns `Option<&str>`:
23+
24+
```rust
25+
if let Some(reason) = level.reason() {
26+
warn!("this capability is degraded: {reason}");
27+
}
28+
```
2329

2430
## Capability bit flags
2531

@@ -50,10 +56,10 @@ Tier 2 Native DE IPC read $XDG_CURRENT_DESKTOP, call GNOME/KDE
5056
Tier 3 CLI tools probe PATH for swww / hyprpaper / feh /
5157
nitrogen / xfconf-query
5258
↓ no
53-
Tier 4 Typed error UdaError::Unsupported("...")
59+
Tier 4 Typed error UdaError::NotSupported("...")
5460
```
5561

56-
When all three service tiers fail there is **no panic** and no bare `io::Error` — the caller gets a `UdaError::Unsupported` carrying a diagnosis.
62+
When all three service tiers fail there is **no panic** and no bare `io::Error` — the caller gets a `UdaError::NotSupported` carrying a diagnosis.
5763

5864
The actual chain for wallpaper, which does not use the portal:
5965

@@ -82,7 +88,7 @@ let level = manager.support_level(TrayFeature::Tooltip);
8288

8389
match level {
8490
SupportLevel::Full => { /* draw the tooltip field */ }
85-
SupportLevel::Partial => { warn!("tooltip is degraded on this backend") }
91+
SupportLevel::Partial(reason) => { warn!("tooltip is degraded on this backend: {reason}") }
8692
SupportLevel::None => { /* hide it */ }
8793
}
8894
```
@@ -95,6 +101,8 @@ For features that are not tray-related, the same information is exposed per modu
95101

96102
A backend publishes `Partial` only when it can genuinely deliver a degraded behaviour — Linux double-click synthesis, or a tooltip longer than the soft cap. An absent flag is a plain `None`, never a guess. This keeps "advertised" equivalent to "deliverable".
97103

104+
Because `Partial` carries its reason, the degradation must be describable in one sentence. A backend that cannot say why the feature is degraded does not publish `Partial` — it either delivers the feature or reports `None`.
105+
98106
## See also
99107

100108
- [Fallback engine](/en/internals/fallback-engine/) — how each tier probes and decides

‎src/content/docs/en/guides/troubleshooting.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Run inside a graphical session, or set the variables explicitly:
2828
XDG_CURRENT_DESKTOP=GNOME XDG_SESSION_TYPE=wayland WAYLAND_DISPLAY=wayland-0 cargo run --example 01_appearance
2929
```
3030

31-
### Everything is `Unsupported` under SSH
31+
### Everything is `NotSupported` under SSH
3232

3333
No session bus means no portal, no DE IPC and no notifications. Wake locks and wallpaper cannot work either. This is degradation working as designed, not a bug.
3434

@@ -54,7 +54,7 @@ The SDK resolves in this order: an explicit `library_path` → the `UDA_LIBRARY`
5454

5555
### `Feature not supported: Neither feh nor nitrogen`
5656

57-
**Symptom**: `UdaError::Unsupported` whose message lists every CLI tool name.
57+
**Symptom**: `UdaError::NotSupported` whose message lists every CLI tool name.
5858

5959
**Cause**: Tier 1 (the portal) and Tier 2 (GNOME/KDE/Hyprland/Sway IPC) are unavailable, and the Tier 3 `PATH` probe found none of the tools either.
6060

‎src/content/docs/en/guides/wallpaper.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Reading the wallpaper goes through the same chain in reverse and reports what is
7676
| Symptom | Return |
7777
|---|---|
7878
| the file is unreadable | `UDA_ERR_IO` |
79-
| every fallback tier is unavailable | `UdaError::Unsupported`, whose message lists the tools already tried |
79+
| every fallback tier is unavailable | `UdaError::NotSupported`, whose message lists the tools already tried |
8080
| the platform cannot read the value | `uda.wallpaper` returns `None` |
8181

8282
## See also

‎src/content/docs/en/index.mdx‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,11 @@ Shipping a cross-platform desktop app today means writing the same feature sever
2525
UDA replaces that fragmentation with one **capability-driven** Rust API: it probes the environment, selects an available backend, and degrades gracefully instead of failing.
2626

2727
<CardGrid>
28-
<Card title="Portal-first" icon="rocket">
29-
Every Linux feature tries the XDG Desktop Portal before touching anything distro-specific.
30-
</Card>
3128
<Card title="Cascading fallback" icon="random">
32-
A strict tier chain: Portal → native DE IPC → CLI tools → a strongly typed `UdaError::Unsupported`.
29+
A strict tier chain: XDG Desktop Portal → native DE IPC → CLI tools → a strongly typed `UdaError::NotSupported`. Wallpaper and wake locks start at Tier 2; appearance detection is the only module that engages the portal.
3330
</Card>
3431
<Card title="Capability-driven" icon="magnifier">
35-
Features advertise `SupportLevel::Full` / `Restricted` / `Unsupported`, so your app can branch before it breaks.
32+
Features advertise `SupportLevel::Full` / `Partial(reason)` / `None`, so your app can branch before it breaks — and explain a degradation instead of guessing at it.
3633
</Card>
3734
<Card title="Zero heavy dependencies" icon="puzzle">
3835
Pure Rust `zbus` on Linux, `windows-rs` on Windows. No Qt, no GTK, no bundled toolkit.
@@ -47,9 +44,9 @@ UDA replaces that fragmentation with one **capability-driven** Rust API: it prob
4744
| C-ABI (`include/uda.h`) | C/C++, or anywhere a stable ABI matters |
4845
| Python / Node.js SDKs | `examples/python/uda.py` (ctypes) and `examples/nodejs/uda.js` (koffi) — no native build step |
4946

50-
## Version 0.2.0
47+
## Version 0.2.1
5148

52-
The 0.2.0 release covers: light/dark appearance detection, wallpaper management with fill modes and multi-monitor targeting, native notifications with icons, urgency and actions, keep-awake locks, **system tray** with a cross-platform menu model, **media control** with metadata read and playback commands, and **session & power lifecycle** (lock, logout, suspend, hibernate, reboot, shutdown).
49+
The 0.2.1 release covers: light/dark appearance detection, wallpaper management with fill modes and multi-monitor targeting, native notifications with icons, urgency and actions, keep-awake locks, **system tray** with a cross-platform menu model, **media control** with metadata read and playback commands, and **session & power lifecycle** (lock, logout, suspend, hibernate, reboot, shutdown).
5350

5451
Per-desktop coverage is listed in the [platform support matrix](/en/reference/platform-support/).
5552

‎src/content/docs/en/internals/contributing.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The last one matters more than it looks: `crates/uda-platform-windows/src/lib.rs
2020

2121
## The three principles
2222

23-
1. **Capability-driven architecture (never panic).** No `.unwrap()` or `.expect()` on a system call, a D-Bus invocation or an environment variable. Every feature exposes a `SupportLevel` check — `Full`, `Restricted(reason)` or `Unsupported` — and degrades gracefully before returning an error.
24-
2. **The cascading fallback engine.** Tier 1 XDG portal → Tier 2 native DE IPC → Tier 3 CLI tools → Tier 4 a typed `UdaError::Unsupported`.
23+
1. **Capability-driven architecture (never panic).** No `.unwrap()` or `.expect()` on a system call, a D-Bus invocation or an environment variable. Every feature exposes a `SupportLevel` check — `Full`, `Partial(reason)` or `None` — and degrades gracefully before returning an error.
24+
2. **The cascading fallback engine.** Tier 1 XDG portal → Tier 2 native DE IPC → Tier 3 CLI tools → Tier 4 a typed `UdaError::NotSupported`.
2525
3. **Zero-bloat.** No Qt, no GTK, no bundled toolkit. Pure-Rust `zbus` on Linux, `windows-rs` on Windows.
2626

2727
## Conventions

‎src/content/docs/en/internals/fallback-engine.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ description: How each of the four tiers probes, decides, and what it returns whe
99
Tier 1 XDG Desktop Portal
1010
Tier 2 Native DE D-Bus / IPC
1111
Tier 3 CLI tools (probe PATH)
12-
Tier 4 UdaError::Unsupported (typed error)
12+
Tier 4 UdaError::NotSupported (typed error)
1313
```
1414

15-
When all three service tiers fail there is **no panic** and no bare `io::Error` — the caller receives a `UdaError::Unsupported` carrying a diagnosis. This is the mechanical form of AGENTS.md Principle 1: never assume a capability, always degrade.
15+
When all three service tiers fail there is **no panic** and no bare `io::Error` — the caller receives a `UdaError::NotSupported` carrying a diagnosis. This is the mechanical form of AGENTS.md Principle 1: never assume a capability, always degrade.
1616

1717
## Tier 1 — XDG Desktop Portal
1818

@@ -55,7 +55,7 @@ Every portal call runs inside a timeout, because the portal may present a consen
5555

5656
## Tier 4 — typed error
5757

58-
The final tier is not a workaround, it is a **contract**: `UdaError::Unsupported("...")` with a message naming the tier chain that was tried. A host can render it verbatim, or match on the type to hide the feature entirely.
58+
The final tier is not a workaround, it is a **contract**: `UdaError::NotSupported("...")` with a message naming the tier chain that was tried. A host can render it verbatim, or match on the type to hide the feature entirely.
5959

6060
## What the caller sees
6161

@@ -65,8 +65,8 @@ The tiers are internal. A host observes only:
6565
|---|---|
6666
| `Ok(...)` | some tier answered |
6767
| `SupportLevel::Full` | Tier 1 or 2 answered, with no known limitation |
68-
| `SupportLevel::Restricted(reason)` | only a later, weaker tier answered |
69-
| `UdaError::Unsupported` | all four tiers are exhausted |
68+
| `SupportLevel::Partial(reason)` | available, but in a degraded form, with the reason attached |
69+
| `UdaError::NotSupported` | all four tiers are exhausted |
7070

7171
## See also
7272

‎src/content/docs/en/reference/platform-support.md‎

Lines changed: 113 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,37 @@ description: Per-desktop capability matrix, the tier each backend uses, and how
55

66
## Matrix
77

8-
| Platform / DE | Theme | Wallpaper | Notification | WakeLock | Tray | Media | Session |
9-
|---|---|---|---|---|---|---|---|
10-
| **Windows 10 / 11** | ✅ | ✅ | ✅ [^toast] | ✅ | ✅ | ✅ | ✅ |
11-
| **GNOME 42+** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
12-
| **KDE Plasma 5 / 6** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
13-
| **XFCE** | ✅ | ✅ | ✅ | ✅ | ⚠️ | ✅ | ✅ |
14-
| **Hyprland** | ⚠️ | ✅ | ⚠️ | ⚠️ | ✅ | ✅ | ✅ |
15-
| **Sway** | ⚠️ | ✅ | ⚠️ | ⚠️ | ✅ | ✅ | ✅ |
16-
| **Generic X11** | ⚠️ | ✅ | ⚠️ | ⚠️ | ✅ | ✅ | ✅ |
17-
18-
`✅` verified against the real backend · `⚠️` best-effort fallback.
19-
20-
[^toast]: See the [Windows notification limitations](/en/guides/notification/#windows-limitations).
21-
22-
## Tier used per feature
23-
24-
| Feature | Windows | GNOME | KDE | Hyprland / Sway | Generic X11 |
25-
|---|---|---|---|---|---|
26-
| Theme | Registry | Portal `Settings` | `kreadconfig6` / `5` | GSettings | GSettings |
27-
| Wallpaper | `SystemParametersInfoW` | `gsettings` CLI | D-Bus `plasmashell` | `hyprpaper` → `swww` | `feh` → `nitrogen` |
28-
| Notification | WinRT toast | `org.freedesktop.Notifications` | `org.freedesktop.Notifications` | `org.freedesktop.Notifications` | `org.freedesktop.Notifications` |
29-
| WakeLock | `SetThreadExecutionState` | ScreenSaver `Inhibit` | ScreenSaver `Inhibit` | ScreenSaver `Inhibit` | ScreenSaver `Inhibit` |
30-
| Tray | `Shell_NotifyIconW` | SNI via watcher | SNI via watcher | SNI via watcher | SNI via watcher |
31-
| Media | SMTC | MPRIS v2 | MPRIS v2 | MPRIS v2 | MPRIS v2 |
32-
| Session | Win32 | logind / ScreenSaver | logind / ScreenSaver | logind | logind / `loginctl` |
8+
| Feature | Windows 10/11 | GNOME 42+ | KDE Plasma 5/6 | XFCE | Hyprland | Sway | Generic X11 |
9+
|------|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
10+
| Theme detection | ✅ | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | ⚠️ |
11+
| Accent colour | ✅ | ✅ | ⚠️ | ⚠️ | ❌ | ❌ | ❌ |
12+
| Wallpaper | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
13+
| Notification | ✅[^toast] | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | ⚠️ |
14+
| Notification icon | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
15+
| Notification actions | ⚠️[^actions] | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
16+
| Wake lock | ✅ | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | ⚠️ |
17+
| System tray | ✅ | ✅ | ✅ | ⚠️ | ✅ | ✅ | ✅ |
18+
| Media control | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
19+
| Session lock | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
20+
| Session logout | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | ⚠️ | ⚠️ |
21+
| Suspend / hibernate | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
22+
| Reboot / shutdown | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
23+
24+
`✅` verified against the real backend · `⚠️` best-effort, or needs an extra component · `❌` the platform has no such concept.
25+
26+
[^toast]: A Store-installed runtime shows the notification source as the host's package family name — see `docs/internals/notification_specs.md` §3.1.
27+
[^actions]: In an unpackaged host, action buttons degrade to a read-only text card — see §3.2.
3328

3429
## What ⚠️ means in practice
3530

36-
The exact answer is always available at runtime through `capabilities()` / `support_level()` — never assume from this table.
31+
The symbols are only a static hint. **The real answer at runtime** always comes from `capabilities()` / `support_level()` — never assume from this table:
3732

3833
| Entry | What the fallback does | Reported as |
39-
|---|---|---|
40-
| Theme on Hyprland / Sway / X11 | No system-wide colour scheme; reads GSettings if a GTK app has written a value | the read returns `Theme::Unknown` |
41-
| Notifications on tilers / X11 | `org.freedesktop.Notifications` works, but actions and images depend on the installed daemon | actions are rendered only if the daemon supports them |
42-
| WakeLock on tilers / X11 | Calls `org.freedesktop.ScreenSaver.Inhibit`; there is no CLI fallback, so an absent service fails the call | `UdaError` (connection failure) |
43-
| Tray on XFCE | SNI works through the AppIndicator-compatible watcher, but no native double-click event | `SupportLevel::None` for `DoubleClick` |
34+
|------|----------|----------|
35+
| Theme detection on Hyprland / Sway / X11 | No system-wide colour scheme; reads GSettings if a GTK app has written a value | `Theme::Unknown` when every probe comes up empty |
36+
| Notifications on tilers / X11 | `org.freedesktop.Notifications` works, but actions and images depend on the installed daemon | actions render only if the daemon supports them |
37+
| Wake lock on tilers / X11 | The call fails outright when the ScreenSaver service is absent | a `UdaError` (connection failure); this module has no graded report |
38+
| Tray on XFCE | SNI works through the AppIndicator-compatible watcher, but there is no native double-click event | `DoubleClick` reports `SupportLevel::None` |
4439

4540
## Reporting from a host application
4641

@@ -53,18 +48,102 @@ let level = manager.support_level(TrayFeature::DoubleClick);
5348

5449
match level {
5550
SupportLevel::Full => { /* draw the double-click action */ }
56-
SupportLevel::Partial => { warn!("double click is degraded on this backend") }
51+
SupportLevel::Partial(reason) => { warn!("double click is degraded on this backend: {reason}") }
5752
SupportLevel::None => { /* hide it */ }
5853
}
5954
```
6055

6156
From a C host the same information is available through `uda_session_capabilities` and the module `capabilities()` functions.
6257

58+
## Backend used per cell
59+
60+
### Theme detection
61+
62+
| Environment | Backend |
63+
|------|------|
64+
| Windows | Registry `AppsUseLightTheme` |
65+
| GNOME | Portal `org.freedesktop.appearance` → `gsettings color-scheme` |
66+
| KDE | `kreadconfig6/5` reads `Colors:Scheme` |
67+
| XFCE | `xfconf-query -c xsettings` |
68+
| Wayland tiling WM | ⚠️ cannot be determined reliably; returns `UNKNOWN` |
69+
70+
### Wallpaper
71+
72+
The wallpaper backend does **not** use the XDG Desktop Portal: `org.freedesktop.portal.Wallpaper` exists but is never called.
73+
74+
| Environment | Mechanism |
75+
|------|------|
76+
| GNOME | the `gsettings` CLI, writing `picture-uri` and `picture-uri-dark` as a pair |
77+
| KDE | D-Bus `org.kde.plasmashell` → `/PlasmaShell` → `evaluateScript` |
78+
| Hyprland | the `hyprpaper` CLI, falling back to `swww` |
79+
| Sway | the `swww` CLI |
80+
| Generic X11 | the `feh` CLI, falling back to `nitrogen` |
81+
| Windows | `SystemParametersInfoW(SPI_SETDESKWALLPAPER)` |
82+
83+
### Notifications
84+
85+
| Environment | Backend | Icon | Actions |
86+
|------|------|------|------|
87+
| Any Linux DE | `org.freedesktop.Notifications` | ✅ | ✅ |
88+
| Windows | WinRT `ToastNotificationManager` | ✅ | ⚠️[^actions] |
89+
90+
A Wayland tiling WM needs a notification daemon running (`mako`, `swaync`, `dunst`, …), otherwise the `Notify` call fails with `ServiceUnknown`.
91+
92+
### System tray
93+
94+
| Environment | Backend | Note |
95+
|------|------|------|
96+
| Linux | `org.kde.StatusNotifierItem` + `com.canonical.dbusmenu` | GNOME needs the AppIndicator extension |
97+
| Windows | `Shell_NotifyIconW` (`NOTIFYICON_VERSION_4`) | dedicated worker thread + message pump |
98+
99+
### Media control
100+
101+
| Environment | Backend |
102+
|------|------|
103+
| Linux | MPRIS v2 over session D-Bus |
104+
| Windows | WinRT SMTC |
105+
106+
### Session and power
107+
108+
| Action | Linux | Windows |
109+
|------|-------|---------|
110+
| Lock | ScreenSaver `Lock` → `loginctl lock-session` | `LockWorkStation()` |
111+
| Logout | GNOME/KDE D-Bus methods | `ExitWindowsEx(EWX_LOGOFF)` |
112+
| Suspend / hibernate | logind `Suspend` / `Hibernate` | `SetSuspendState` |
113+
| Reboot / shutdown | logind `Reboot` / `PowerOff` | `ExitWindowsEx` + `SeShutdownPrivilege` |
114+
115+
The Linux side of logout depends on the DE providing a D-Bus method; on an unrecognised desktop the capability bit for that action is false.
116+
117+
## Cases that are not `Full`
118+
119+
`SupportLevel` has exactly three variants: `Full`, `Partial(reason)` and `None`. `Partial` must carry its reason — a host that wants to explain a degradation to the user should not have to guess why.
120+
121+
| Feature × environment | Level | Reason |
122+
|-------------|------|------|
123+
| Theme detection × Wayland tiling | `Partial` | no standard query path; every probe comes up empty |
124+
| Accent colour × KDE/XFCE | `None` | no system-level accent colour |
125+
| Notification actions × Windows unpackaged | `Partial` | needs an MSIX-registered COM activator |
126+
| Tray × XFCE | `None` | SNI has no double-click event, so the feature is not reported |
127+
| Wake lock × Wayland tiling | `None` | the call fails outright when ScreenSaver is absent; there is no CLI fallback |
128+
129+
## Version requirements
130+
131+
| Environment | Minimum version |
132+
|------|----------|
133+
| Windows | 10 (toasts are complete on 10/11) |
134+
| GNOME | 42 |
135+
| KDE Plasma | 5 |
136+
| XFCE | 4.14+ |
137+
| Rust | 1.70 |
138+
| Python | 3.9 |
139+
| Node.js | 16 |
140+
63141
## Not yet covered (Phase 3)
64142

65143
Global shortcuts, the multi-format clipboard with change listening, audio endpoint routing and display brightness are in progress — see [`plans/phase3_plan.md`](https://github.com/UniDesktop/SDK/blob/develop/plans/phase3_plan.md).
66144

67145
## See also
68146

69-
- [Capability and fallback](/en/guides/capability-and-fallback/) — how the tier chain works
70-
- [Troubleshooting](/en/guides/troubleshooting/) — what to do when a feature reports `Unsupported`
147+
- [Capability and fallback](/en/guides/capability-and-fallback/)— how the tier chain works
148+
- [Troubleshooting](/en/guides/troubleshooting/) — what to do when a feature reports `NotSupported`
149+
- [Notifications](/en/guides/notification/) — the two Windows limitations

0 commit comments

Comments
 (0)