uphy / obsidian-reminder

Reminder plugin for Obsidian
https://uphy.github.io/obsidian-reminder/
MIT License
441 stars 34 forks source link

[Feature]: Making Obsidian foreground on reminder time #77

Open Lippiece opened 2 years ago

Lippiece commented 2 years ago

Describe the bug

I can't see the non-system notifications nor hear any sounds. I can open the app and see the popup though.

Expected Behavior

Notification should be visible and/or make some sound.

Steps to reproduce

  1. Set up a reminder.
  2. Minimize the Obsidian.
  3. Wait until its time.
  4. Don't get any popups or sounds.

Operating system

Windows

achekulaev commented 2 years ago

You might need to check 'Use system notification' in settings

Lippiece commented 2 years ago

@achekulaev

You might need to check 'Use system notification' in settings

That will not solve the problem with non-system notifications.

m-a-rahal commented 2 years ago

Same problem happened to me on Android. However on Windows notifications do show up, but only if obsidian is opened in the background

uphy commented 2 years ago

@m-a-rahal

Same problem happened to me on Android.

It is not supported. https://github.com/uphy/obsidian-reminder#faq

@Lippiece

Notification should be visible and/or make some sound.

I don't feel this is needed because system notification is suitable for such cases.

Lippiece commented 2 years ago

@uphy

Notification should be visible and/or make some sound.

I don't feel this is needed because system notification is suitable for such cases.

I have to remind that Windows notification is only dismissable, not like the MacOS's, as I remember. You can't reschedule it, so it's not really suitable.

uphy commented 2 years ago

I have to remind that Windows notification is only dismissable, not like the MacOS's, as I remember. You can't reschedule it, so it's not really suitable.

ah, yes. Notification action's(such as remind me later features) are only supported in macOS. https://www.electronjs.org/docs/latest/api/notification#event-action-macos

I found toastXml for windows but it seems to hard to implement.

PR is welcome!