Skip to content

directories disappearing from view in rclone mounts on file operations #3616

@NgrNxk

Description

@NgrNxk

What system are you running Yazi on?

Windows

What terminal are you running Yazi in?

wezterm 20250703-070941-c7f4b081

yazi --debug output

Yazi
    Version: 26.1.22 (06c665a 2026-01-26)
    Debug  : false
    Triple : x86_64-pc-windows-msvc (windows-x86_64)
    Rustc  : 1.93.0 (254b5960 2026-01-19)

Ya
    Version: 26.1.22 (06c665a 2026-01-26)

Config
    Init             : C:\Users\<USER>\AppData\Roaming\yazi\config\init.lua (Das System kann die angegebene Datei nicht finden. (os error 2))
    Yazi             : C:\Users\<USER>\AppData\Roaming\yazi\config\yazi.toml (1741 chars)
    Keymap           : C:\Users\<USER>\AppData\Roaming\yazi\config\keymap.toml (366 chars)
    Theme            : C:\Users\<USER>\AppData\Roaming\yazi\config\theme.toml (936 chars)
    VFS              : C:\Users\<USER>\AppData\Roaming\yazi\config\vfs.toml (Das System kann die angegebene Datei nicht finden. (os error 2))
    Package          : C:\Users\<USER>\AppData\Roaming\yazi\config\package.toml (438 chars)
    Dark/light flavor: "catppuccin-macchiato" / ""

Emulator
    TERM                : Some("xterm-256color")
    TERM_PROGRAM        : Some("WezTerm")
    TERM_PROGRAM_VERSION: Some("20250703-070941-c7f4b081")
    Brand.from_env      : Some(WezTerm)
    Emulator.detect     : Emulator { kind: Left(WezTerm), version: "WezTerm 20250703-070941-c7f4b081", light: false, csi_16t: (19, 41), force_16t: true }

Adapter
    Adapter.matches    : Iip
    Dimension.available: Dimension { rows: 56, columns: 200, width: 0, height: 0 }

Desktop
    XDG_SESSION_TYPE           : None
    WAYLAND_DISPLAY            : None
    DISPLAY                    : None
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : None
    EDITOR             : Some("nvim")
    VISUAL             : None
    YAZI_FILE_ONE      : Some("C:\\Users\\<USER>\\scoop\\apps\\git\\current\\usr\\bin\\file.exe")
    YAZI_CONFIG_HOME   : None
    YAZI_ZOXIDE_OPTS   : None
    FZF_DEFAULT_OPTS   : None
    FZF_DEFAULT_COMMAND: None

Text Opener
    default     : Some(OpenerRule { run: "nvim %s", block: true, orphan: false, desc: "nvim", for: None, spread: true })
    block-create: Some(OpenerRule { run: "nvim %s", block: true, orphan: false, desc: "nvim", for: None, spread: true })
    block-rename: Some(OpenerRule { run: "nvim %s", block: true, orphan: false, desc: "nvim", for: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : program not found
    tmux build flags   : enable-sixel=Unknown
    ZELLIJ_SESSION_NAME: None
    Zellij version     : program not found

Dependencies
    file          : 5.46
    ueberzugpp    : program not found
    ffmpeg/ffprobe: 8.0.1 / 8.0.1
    pdftoppm      : 25.12.0
    magick        : program not found
    fzf           : 0.67.0
    fd/fdfind     : 10.3.0 / program not found
    rg            : 15.1.0
    chafa         : program not found
    zoxide        : 0.9.8
    7zz/7z        : program not found / 25.01
    resvg         : program not found
    jq            : 1.8.1

Clipboard
    wl-copy/paste: program not found / program not found
    xclip        : program not found
    xsel         : program not found

Routine
    `file -bL --mime-type`: text/plain


See https://yazi-rs.github.io/docs/plugins/overview#debugging on how to enable logging or debug runtime errors.

Describe the bug

The issue is when I'm inside of an rclone mount (e.g. onedrive or ftp): renaming a file or copying one into any directory causes that directory to disappear. It doesn't matter how deep the directory is.

Example:

|- dir1/
|- dir2/
|- file1.txt
|- file2.txt

As soon as I rename "file2.txt", "dir2" disappears. I can bring it back by opening a new tab with t, but that is not a good procedure...

This has been the case for some versions. It worked at least in fall last year.

Minimal reproducer

Mount an rclone remote in a directory
rename one file in one of those subdirectories

Anything else?

No response

Checklist

  • I tried the latest nightly build, and the issue is still reproducible
  • I updated the debug information (yazi --debug) input box to the nightly that I tried
  • I can reproduce it after disabling all custom configs/plugins (mv ~/.config/yazi ~/.config/yazi-backup)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions