Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Call `.disable_drag_drop_handler()` inside the `#[cfg(target_os = "windows")]` `WebviewWindowBuilder` chain in `apps/desktop-shell/src-tauri/src/lib.rs` so Tauri/WebView2's native drop handler does not intercept HTML5 drag-and-drop events destined for the Web UI, while keeping macOS and Linux unchanged. Co-Authored-By: Claude Code <[email protected]>
Co-Authored-By: Kimi <[email protected]>
Restore detailed update failures and count only rename attempts for the downloading status in the Windows retry test. Co-Authored-By: Kimi <[email protected]>
971a677 to
1f63012
Compare
|
Thank you for flagging and fixing WebView2 drag-and-drop! |
Summary
Split out as an independent PR (PR3) per maintainer feedback on #1122 to address only the Windows native Shell HTML5 drag-and-drop boundary:
apps/desktop-shell/src-tauri/src/lib.rsbased on latestupstream/main..disable_drag_drop_handler()inside the#[cfg(target_os = "windows")]WebviewWindowBuilderchain so macOS and Linux are completely unaffected.No visual changes: this PR adjusts only the Windows Tauri
WebviewWindowBuilderdrag-and-drop handler boundary inapps/desktop-shell/src-tauri/src/lib.rswithout changing UI layout or styling.Validation
cargo +1.97.1-x86_64-pc-windows-gnu fmt --manifest-path apps/desktop-shell/src-tauri/Cargo.toml --check— passed.cargo +1.97.1-x86_64-pc-windows-gnu check --manifest-path apps/desktop-shell/src-tauri/Cargo.toml --locked— passed (viaC:/Users/cz/.cargo/bin+ GNU toolchain).cargo +1.97.1-x86_64-pc-windows-gnu test --manifest-path apps/desktop-shell/src-tauri/Cargo.toml --locked --lib— 9 passed, 0 failed (linkedtauri-winres's generatedlibresource.aviaRUSTFLAGS="-C link-arg=..."so the--libtest binary carries thecomctl32v6 manifest required byTaskDialogIndirecton Windows).Validation Boundaries & Not Verified
x86_64-pc-windows-msvc): not verified locally.#[cfg(target_os = "windows")]).🤖 Generated with Claude Code