Skip to content

[BUG] Template open disabled - existing file still gets opened #2244

Description

@aarontcannon

Describe the bug
Template -> Behavior -> Open disabled still opens the file if file already exists and "Keep existing is set"

To Reproduce
Steps to reproduce the behavior in Obsidian:

  1. Create a template with a filename like "test"
  2. Set Behavior -> "Open" to "false" and "If target file existing" to "Keep existing file"
  3. Run template once. File gets created without opening it. Run template again. File gets opened even though Open is disabled.

Expected behavior
Template -> Behavior -> Open being disabled should prevent file from opening regardless of "If target file existing" setting

Obsidian Debug Info (required for bug reports)

SYSTEM INFO:
	Obsidian version: 1.14.4
	Installer version: 1.14.4
	Operating system: Windows 11 Pro 10.0.26300
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: QuickAdd v2.32.1

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Activity

  1. changed the title [-][BUG][/-] [+][BUG] Template open disabled - existing file still gets opened[/+] on Oct 17, 2026
  2. chhoumann commented on Oct 18, 2026

    @chhoumann
    Owner

    Hey @aarontcannon! Thanks for the report and the clear steps. I could reproduce it, and it's fixed in #2245, which will ship in the next QuickAdd release.

    Opening the note was on purpose, from an old feature request, so I didn't want to change it for people who rely on it. Instead, Keep existing file now has a Keep action setting. Open existing file is the current behavior. Do nothing leaves the note alone and only opens it when Open is on. Pick Do nothing for your choice, and running it again leaves the note closed. QuickAdd shows a short "'test' already exists." notice so you know it ran.

    I tested it in Obsidian with your setup: a Template choice named test with Open off, run twice. Let me know if anything still acts up after you update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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