Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A settings combination for running in background, makes app inaccessible #40

Open
AhmadFCheema opened this issue Feb 26, 2024 · 0 comments

Comments

@AhmadFCheema
Copy link

Minor enhancement / Bug

Windows 11
Obsidian v1.4.13 / v1.5.3 / v1.5.8
Tray plugin v0.3.5

Settings combination:

runInBackground: true
createTrayIcon: false
toggleWindowFocusHotkey: Empty

On clicking the window close button, these settings appear to make it impossible to reopen Obsidian (through its executable file which is the only way left). On Windows, the user will have to manually End task the specific Obsidian processes through Task Manager and then directly edit data.json to disable runInBackground to again normally open Obsidian in the foreground.

Possible resolution:

  1. Good:

Add additional warning text in Run in background section similar to the recommendation in the Hide taskbar icon section. Something like: Enabling the tray icon or toggle window focus hotkey is recommended if using this option.

  1. Better:

If runInBackground = true && createTrayIcon = false, add red warning text to Toggle window focus hotkey section for the user to remember the hotkey since it would be the only direct way to reopen the vault. Or maybe even disable emptying the hotkey altogether.

Or maybe include checks to disable this combination, like don't allow enabling runInBackground in case the other two settings are already disabled/empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant