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

Windows Notifications Staying in Notification Center #894

Open
Wolfmyths opened this issue Jun 25, 2023 · 3 comments
Open

Windows Notifications Staying in Notification Center #894

Wolfmyths opened this issue Jun 25, 2023 · 3 comments
Labels

Comments

@Wolfmyths
Copy link

Question
Are windows notifications supposed to be removed from the notification center after the duration ends?

This may happen with other desktop services but I'm only able to test on windows, is there something I'm missing or is this a feature to be implemented/bug?

I've tried threading and async too.

from apprise import Apprise

def main():
    notify = Apprise()
    notify.add('windows://')
    notify.notify(body='body', title='title')

main()
@caronc
Copy link
Owner

caronc commented Jun 25, 2023

There is a timer set on them as earlier versions of windows didn't have the notification center.

What are you experiencing and then my next question would be, what are you expecting?

@Wolfmyths
Copy link
Author

What are you experiencing and then my next question would be, what are you expecting?

When a notification is fired it works as expected, they even appear in the notification center.

After the notification alert goes away when ignored, it will only be in the notification center for a short amount of time then disappear.

I was expecting the notifications to stay in the notification center if it was ignored so the user knows that the notification went off.

@caronc
Copy link
Owner

caronc commented Jul 1, 2023

Thanks for sharing this. I need to test this closer. In the past older Windows Operating Systems (such as v7) would cause Apprise to block until the notice was complete. So for apprise to create a notice for 14 seconds let's say, it would have to block for the full 14 seconds (never returning control of the system calling it).

For this reason it sets a timer; I need to check to see if in Windows if the block is in place. But the timer was intentional (at the time).

Edit: so i just tested this with windows 11 and the block still occurs (i believe the timer is set for 12-14 seconds). I will need to experiment with removing this timer/block and see if the notifications can still exist thereafter.

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

No branches or pull requests

2 participants