Pasting attachment ends up in main folder

We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with third-party plugins and custom CSS disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help. Once you’ve done the above, delete this line.

Steps to reproduce

1. Settings > Files & Links > Default location for new attachments
    2. Using Ctrl+c, Ctrl+v to paste an image

Expected result

Pasted image is placed inside subfolder.

Actual result

that image will be in the main folder instead of the subfolder.

Environment

  • Operating system: Windows
  • Obsidian version: v0.12.9

Additional information

[quote=“ocean416, post:1, topic:20514”]
nd custom CSS disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help. Once you’ve done the above, delete this line.

Steps to reproduce

  1. Settings > Files & Links > Default location for new attachments
2. Using Ctrl+c, Ctrl+v to paste an image on a note inside a subfolder

Hi @ocean416 you didn’t specify what settings you are using in “Default location” setting.

If you want to save in a subfolder, you need to do this:

  1. Set “Default location for new attachments” to “In subfolder under current folder”
  2. Under “Subfolder name”, you must specify a name for what the subfolder will be. (If you don’t specify a name, the setting will revert to “Same folder as current file”)

This is what my settings look like in a test, and the file does save correctly under a subfolder.

After following those steps, do you still experience the bug?

I can’t reproduce post a screen recording of this happeing in the help vault.