Skip to content

Filenames containing the pipe symbol silently fail to add to playlist. #1704

@khinch

Description

@khinch

OS and Version (please complete the following information):

  • Operating System: Linux (Bazzite & NixOS)
  • Shotcut Version:
    • NixOS: 25.01.25 (installed via Nix package)
    • Bazzite: 25.05.11 (installed via Flathub)

Describe the bug
Attempting to add a file to the playlist fails silently if the filename contains a pipe symbol, e.g. foo | bar.mp3. There are no error messages, nothing shows up in the history stack, and the file fails to appear in the playlist.

Steps To Reproduce

  1. Start Shotcut
  2. Open or start a project
  3. In the Playlist tab, click the "Add files to playlist" button
  4. Choose a file with a pipe symbol in its name, e.g. foo | bar.mp3
  5. Click "Open" - error is seen: file does not appear in the playlist, no entry appears in the history stack, no error dialogue appears, no CLI errors are observed if start via CLI.
  6. Remove the pipe symbol from the file name and repeat steps to confirm the underlying file was OK and successfully adds to the playlist.

Expected behavior
File is added to the playlist and an entry appears in the history stack. (OR a descriptive error dialogue appears.)

Screenshots
Probably not applicable to this scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions