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

[Feature]: Don't bring obsidian to foreground when completing/postponing from notification

Open imed-ghomari opened this issue 3 years ago • 3 comments

Goal or desired outcome of this feature

The problem is that obsidian is in focus every time I complete/postpone a reminder from notification on macOS.

Describe the feature

It would be better if when I complete/postpone a reminder, obsidian wouldn't be called up to the foreground.

Screenshots, mockups, or videos

current problem

https://user-images.githubusercontent.com/38974541/150151369-658a1515-2375-4c7a-9273-ee4b6cbf0d6e.mov

demo of solution

https://user-images.githubusercontent.com/38974541/150151878-fcc00354-fbfd-45c4-b4b0-310e4513c957.mov

imed-ghomari avatar Jan 19 '22 14:01 imed-ghomari

Unfortunately, it seems that there are no settings about it in Electron's Notification API. https://www.electronjs.org/docs/latest/api/notification

Alternatively, you can minimize the Obsidian's window. If you do so, the window doesn't bring to foreground on notification action.

uphy avatar Jan 19 '22 23:01 uphy

I see, thank you for the clarification.

imed-ghomari avatar Jan 20 '22 07:01 imed-ghomari

Sorry for reopening this, but I found an obsidian plugin (global-hotkeys) that hides obsidian and brings the latest app to the foreground. It would be awesome, If you could add a condition that says, if obsidian is not in the foreground, when completing from reminder, hide obsidian the way this plugin does it. I don't mind even if I have to install this plugin to make reminder plugin work this way.

imed-ghomari avatar Mar 15 '22 21:03 imed-ghomari