github AnInsomniacy/motrix-next v3.8.5-beta.3
v3.8.5-beta.3 — Clipboard / Extension Race Condition Fix

latest release: v3.8.5-beta.4
pre-releaseone hour ago

What's Changed

Fixed a race condition where the clipboard monitor could overwrite links sent by the browser extension when both triggered simultaneously.

🐛 Bug Fixes

  • Extension links overwritten by clipboard — When a user had a valid URL in the clipboard and simultaneously sent a different link via the browser extension, the clipboard content would overwrite the extension link in the AddTask dialog. Root cause: the Rust HTTP API handler calls window.set_focus() before emit("deep-link-open"), causing the JS clipboard monitor to fire first and inject clipboard content into the batch queue before the extension link arrived. Fixed by:
    • Decoupling the clipboard monitor from the batch queue — it now only opens the dialog, letting AddTask.vue read the clipboard itself
    • Batch items (from extension/drag-drop) replace rather than merge into the textarea, ensuring explicit inputs take priority
    • Added a batchDidWrite flag to prevent the async clipboard read from overwriting content that the batch watcher already wrote

📦 Downloads

Platform Architecture File
macOS Apple Silicon · Intel .dmg
Windows x64 · ARM64 -setup.exe
Linux x64 · ARM64 .AppImage .deb

Don't miss a new motrix-next release

NewReleases is sending notifications on new releases.