Notion Desktop v0.2.7
English | 中文说明
Fixes the dark-mode window edge white line that still appeared on some machines running the same Windows build — the actual root cause.
- Fix: the real cross-machine root cause was not the DWM attribute number (v0.2.6's 19-fallback was a valid robustness improvement but not the cause here). It was a re-apply timing issue. When
theme.jsonalready persisteddark, the app treated the theme as dark from startup, so the earlyapplyWindowDarkModecall at window creation (before the window was fully realized) didn't take effect. Later, when Notion reporteddark(window now ready), the report was deduped as "theme unchanged" andonAppliedwas never called again — so the dark non-client area never got a second chance to apply, and the 1px white border persisted. The dev machine happened to have timing where the early call took effect, so it looked like "only works on one machine."theme-servicenow triggersonAppliedon every valid theme report (even when unchanged), so Notion'sdarkreport — arriving once the window is ready — reliably applies the dark NC area. Persistence still only happens on actual change. - Kept (from v0.2.6): DWM attribute 20→19 fallback for builds < 19041, and the no-longer-silent result reporting (
[dwm]line underND_PERF=1, with HRESULTs andColorPrevalencehint on failure).
Tests: updated the theme-dedup test and added a cross-machine white-line regression test. 271 unit tests pass.
Download Notion.Desktop.Setup.0.2.7.exe (NSIS installer, selectable install directory).