Skip to content

Opening multiple files through yazi, does not open the files in an alphabetical order. #889

@ThGrSoRu

Description

@ThGrSoRu

What system are you running Yazi on?

Linux Wayland

What terminal are you running Yazi in?

foot version: 1.17.0 +pgo +ime +graphemes -assertions

Did you try the latest main branch to see if the problem got fixed?

Tried, but the problem still

yazi --debug output

Yazi
    Version: 0.2.4 (884de41 2024-04-08)
    OS: linux-x86_64 (unix)
    Debug: false

Emulator
    Emulator.via_env: ("foot", "")
    Emulator.via_csi: Ok(Foot)
    Emulator.detect: Foot

Adaptor
    Adaptor.matches: Sixel

Desktop
    XDG_SESSION_TYPE: Some("wayland")
    WAYLAND_DISPLAY: Some("wayland-1")
    DISPLAY: Some(":0")

SSH
    shared.in_ssh_connection: false

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

Variables
    SHELL: Some("/bin/fish")
    EDITOR: Some("micro")
    ZELLIJ_SESSION_NAME: None
    YAZI_FILE_ONE: None
    YAZI_CONFIG_HOME: None

file(1)
    Version: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "file-5.45\nmagic file from /usr/share/file/misc/magic\nseccomp support included\n", stderr: "" })

Text Opener
    default: Some(Opener { run: "micro \"$@\"", block: true, orphan: false, desc: "micro", for_: None, spread: true })
    block: Some(Opener { run: "micro \"$@\"", block: true, orphan: false, desc: "micro", for_: None, spread: true })

tmux
    TMUX: false

Ueberzug++
    Version: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })

Describe the bug

Opening multiple files through yazi, causes the order in which the files are opened to be non-alphabetical.
Opening the files through a shell, like mpv ./*, orders the files alphabetically (correctly).

Expected Behavior

Files are ordered alphabetically.

To Reproduce

See above.

Configuration

No response

Anything else?

No response

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