Skip to content

Shortcuts will open start screen instead of the vault with "Run in background" enabled. #62

Description

@foss-guru

If the Run in Background option is enabled, launching Obsidian from the taskbar, start menu, or desktop will open the vault manager instead of going to the vault. Trying to open vault from the manager does nothing after this.

Bad day if you disable the tray icon option with run in background enabled and then close the vault. ☹

Temporary fix for anyone else stumbling into this issue:

  1. Delete the tray plugin folder from your vault under .obsidian/plugins/tray.
  2. Open PowerShell and run kill -n Obsidian (or find in the Task Manager)
  3. Restart Obsidian

Steps to reproduce problem:

  1. Install and enable Tray plugin
  2. Toggle the Run in Background option
  3. Close main window
  4. Try to open Obsidian with anything besides the tray icon.

I suspect the "hide taskbar" option is there for a reason but it would be nice if other shortcuts' states would sync with a tray icon like other programs do.

The only current workaround:

  • Either disable "run in background" or
  • Avoid using anything else but the tray icon while Obsidian is running.

Proposed fixes:
Improve UX by letting the tray icon and other shortcuts share the same functionality with Run in Background enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions