Skip to content

Supported File Types ignored #283

@Zsolt-Ferenc-Juhasz

Description

@Zsolt-Ferenc-Juhasz

Describe the bug
I set "Custom extensions" in the "Supported file types" section to "pdf", "jpg", "png".
The toggle "auto-create when creating note" ist enabled.

When I try to add one of the above-mentioned files to my vault (inside or outside of Obsidian) a folder note is immediately created by the name "Untitled/Untitled.md", but also my dropped file got renamed from "a very good description of my picture.jpg" to Untitled.jpg

Steps to Reproduce
(It would be great if you could do it in the sandbox vault (https://help.obsidian.md/sandbox) or at least disable all other plugins except folder notes)
Steps to reproduce the behavior:

  1. Create or copy a file (txt, pdf, jpg) in a folder inside the vault (Obsidian or file explorer)
  2. A new folder Untitled (Untitled 1 ... and so on) is created with a markdown file Untitled.md and the copied filed renamed to Untitled.extension

Expected behavior
Good Case
If a custom file is configured: A folder will be created with the files name + a markdown file (folder note)
If a custom file is not configured: just ignore the dropped file

Bad Case
If a custom file is configured: but the file can't be handled: don't rename it, dont create a single folder for every file (I was copying hundrets of photos into a folder just to find out it was all renamed to Untitled [#]/Untitled [#].jpg
If a custom file is not configured: just ignore the dropped file

Screenshots
Image

Obsidian version

  • Installer version: [e.g. v1.9.10]
  • Current version: [e.g. v1.9.12]

Plugin information

  • Version: [e.g. v1.8.17]
  • Beta version

Additional context
Add any other context about the problem here.

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