Skip to content

Commit 5b27ead

Browse files
committed
Bugfix: Fix MTP move not refreshing UI on Linux
- Bump `mtp-rs` to v0.9.1 — `handle_move_object` now emits `ObjectInfoChanged` events so the consumer's event loop can refresh affected directories - Previously, the move handler updated the object tree silently without emitting events; on macOS this was masked by FSEvents latency, but on Linux inotify's dedup skipped the filesystem events
1 parent 21b041b commit 5b27ead

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/desktop/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ mime_guess = "2"
109109

110110
[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies]
111111
# MTP (Android device) support via pure Rust implementation
112-
mtp-rs = "0.9.0"
112+
mtp-rs = "0.9.1"
113113
# USB hotplug detection for MTP device watcher
114114
nusb = "0.2.3"
115115
bytes = "1"

0 commit comments

Comments
 (0)