Rename event notification RenameMode error
System details
- OS/Platform name and version: macOS Monterey 12.2
- Rust version (if building from source):
rustc --version: rustc 1.58.1 (db9d1b20b 2022-01-20) - Notify version (or commit hash if building from git): 5.0.0-pre.13
- If you're coming from a project that makes use of Notify, what it is, and a link to the downstream issue if there is one:
- Filesystem type and options:
- On Linux: Kernel version:
- On Windows: version and if you're running under Windows, Cygwin (unsupported), Linux Subsystem:
- If you're running as a privileged user (root, System):
- If you're running in a container, details on the runtime and overlay:
- If you're running in a VM, details on the hypervisor:
What you did (as detailed as you can)
When I run the example, when the folder or file name is modified, I receive two notifications normally, but the RenameMode of both notifications is Form.
What you expected
second notify should be To
What happened
Hello, do you have any plan to fix this issue? I've also encountered this problem recently. :) @0xpr03
I can't debug this as I don't own any mac systems. If someone wants to take this issue I could help guiding through the code.
@0xpr03 is this issue still open, I can help for testing that, just tell me what to do.
@dhiemaz first of all reproducing the mentioned bug would be nice, then you could try to figure out if we've got an logic error inside fsevent by tracing through the code there when reproducing the error
Note that the report is for pre.13, an older version, so you could also test is if that's still true on pre.15 (very likely). Also we've changed a lot regarding the cross BSD-macos backend (kqueue), so maybe with the feature flag macos_kqueue source that's different.
@Skyxim did you use the default features or did you specify another backend ? (see above)
o
default feature, this is a demo