obsidian-tray icon indicating copy to clipboard operation
obsidian-tray copied to clipboard

Possible to restrict tray menu to quit?

Open Aetherinox opened this issue 1 year ago • 3 comments

The plugin is nice, but is their a way to have it go to tray only when the exit button is pressed?

Currently, I have links in my vault, and the buttons plugin. Anytime I click a link, Obsidian goes to the tray instead of just staying in the taskbar and it gets annoying having to go fetch it back out of the tray on every click.

I've played with the settings, but none of them correct the issue. I actually had to disable it for now because the constant tray fetching was just killing time.

Aetherinox avatar Aug 22 '23 06:08 Aetherinox

That's interesting, definitely not intended behaviour. Unfortunately, I can't replicate it... clicking a link/button will open the link, but not affect the Obsidian window at all.

Would you mind providing me with the raw code for your button, and your settings for the tray? Thanks.

dragonwocky avatar Aug 23 '23 00:08 dragonwocky

Sure. It's a relatively simple button

```button ignore
name View SSH Key
type link
action https://github.com/aetherinox.keys
```

3Hoy3nQ

Also, also if this helps:

SYSTEM INFO:
	Obsidian version: v1.3.7
	Installer version: v1.1.16
	Operating system: Windows 11 Pro 10.0.22621

Aetherinox avatar Aug 24 '23 07:08 Aetherinox

Thanks. I'm testing with the same button, same Obsidian version, and same tray settings, but I'm still not experiencing the app get sent to the tray on button click. It's possible that it was something that's ended up fixed as a side effect of the patch I've just released - would you mind testing with the latest version and letting me know if it still happens for you?

Otherwise, I'm not really sure why this might be happening. You could try disabling any other plugins etc. you have enabled one-by-one to see if it's caused by any of them?

dragonwocky avatar Aug 24 '23 08:08 dragonwocky