Skip to content

Cathet v4.0.2

Choose a tag to compare

@Crlyzd Crlyzd released this 10 Oct 20:51
· 36 commits to master since this release

Release Notes — Cathet v4.0.2

What's Changed in v4.0.2

📋 Clipboard & Native Windows ACL Fixes

  • Resolved Silent Context Menu Paste Failure: Explicitly granted "clipboard-manager:allow-read-text" and "clipboard-manager:allow-write-text" capabilities in default.json, eliminating Tauri v2's default ACL block on clipboard read operations.
  • Eliminated WebView2 Permission Popup: Eliminated the Chromium permission prompt flyout (http://tauri.localhost wants to see text and images copied to the clipboard) by routing clipboard read and write actions strictly through native Windows Win32 APIs via @tauri-apps/plugin-clipboard-manager.

🪟 Fluent Context Menu & Editor Experience

  • Focus Preservation on Menu Interaction: Added mousedown default prevention on context menu items so clicking actions like Cut, Copy, Undo, and Redo no longer blurs #cathet-editor or collapses the text selection range.
  • Fixed Escape Key Exit Bug: Switched context menu Escape dismissal to capture phase with stopImmediatePropagation(), ensuring pressing Escape dismisses the context menu without triggering the global application quit handler.
  • Caret Synchronization on Right-Click: Implemented syncCaretToPoint() to place the blinking cursor directly under mouse coordinates when right-clicking in unselected editor space, ensuring pasted text lands precisely where clicked.
  • Mutual Menu Dismissal: Opening the context menu now dismisses an active top-bar dot menu, and vice versa, preventing overlapping frosted-glass overlays.

Full Changelog: v4.0.1...v4.0.2