Fix note windows freezing on Linux during a held resize #13

Merged
Lemarkis merged 1 commit from fix/linux-resize-freeze into main 2026-09-14 09:56:29 +00:00
Owner

Summary

  • On Linux, holding down a note window's resize handle for a while froze it solid: stuck resize cursor, totally unresponsive to further input, while other windows (main list, other notes) kept working fine.
  • Root cause: WebKitGTK's DMABUF-based GPU compositing renderer can hang the webview under sustained resize/repaint stress on some GPU driver stacks - reproduced on this Rockchip ARM64 board's Mesa/Panfrost driver. Note windows use transparent(true) for the frameless sticky-note look, which requires compositing, putting them squarely on the affected code path.
  • Fix: disable it via WEBKIT_DISABLE_DMABUF_RENDERER=1, Tauri's documented workaround for this class of bug, set in main.rs (Linux only) before GTK/WebKit initializes.
  • Added a CHANGELOG.md entry.

Test plan

  • cargo build compiles cleanly
  • Manually confirmed: reproduced the freeze on main by holding a resize handle down; confirmed fixed both with the env var set manually and with this code change alone (no manual override) on this Rockchip ARM64 board

🤖 Generated with Claude Code

## Summary - On Linux, holding down a note window's resize handle for a while froze it solid: stuck resize cursor, totally unresponsive to further input, while other windows (main list, other notes) kept working fine. - Root cause: WebKitGTK's DMABUF-based GPU compositing renderer can hang the webview under sustained resize/repaint stress on some GPU driver stacks - reproduced on this Rockchip ARM64 board's Mesa/Panfrost driver. Note windows use `transparent(true)` for the frameless sticky-note look, which requires compositing, putting them squarely on the affected code path. - Fix: disable it via `WEBKIT_DISABLE_DMABUF_RENDERER=1`, [Tauri's documented workaround](https://v2.tauri.app/develop/debug/linux-graphics/) for this class of bug, set in `main.rs` (Linux only) before GTK/WebKit initializes. - Added a `CHANGELOG.md` entry. ## Test plan - [x] `cargo build` compiles cleanly - [x] Manually confirmed: reproduced the freeze on `main` by holding a resize handle down; confirmed fixed both with the env var set manually and with this code change alone (no manual override) on this Rockchip ARM64 board 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fix note windows freezing on Linux during a held resize
All checks were successful
CI / frontend (pull_request) Successful in 25s
CI / backend (pull_request) Successful in 3m13s
0b8451f170
WebKitGTK's DMABUF GPU compositing renderer can hang the whole webview
under sustained resize/repaint stress on some GPU driver stacks -
reproduced on a Rockchip ARM64 board's Mesa/Panfrost driver: holding a
note window's resize handle down for a while froze it solid (stuck resize
cursor, totally unresponsive, while other windows kept working). Disable
it via WEBKIT_DISABLE_DMABUF_RENDERER, Tauri's documented workaround for
this class of bug, set before GTK/WebKit initializes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Lemarkis deleted branch fix/linux-resize-freeze 2026-09-14 09:56:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
Lemarkis/Mark-it!13
No description provided.