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

Toast does not remain in action center after #43

Open
kowlown opened this issue May 12, 2019 · 4 comments
Open

Toast does not remain in action center after #43

kowlown opened this issue May 12, 2019 · 4 comments

Comments

@kowlown
Copy link

kowlown commented May 12, 2019

A fired toast does not remain in the action center, once the foreground notification disappear, the notification in the action center disappear too.
It disappear immediately. It would be better if the toast disapper only when dismissed manually.

when I read the documentation at : https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/send-local-toast-desktop-cpp-wrl
at step 4 there are the lines :

You must impelment a handler for toast activation, so that when the user clicks on your toast, your app can do something. This is required for your toast to persist in Action Center (since the toast could be clicked days later when your app is closed). This class can be placed anywhere in your project.

@kowlown
Copy link
Author

kowlown commented May 12, 2019

A fire toast does not remain in the action center, on the foreground notification time is passed.
It disappear immediately. It would be better if the toast disapper only when dismissed manually.

when I read the documentation at : https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/send-local-toast-desktop-cpp-wrl
at spet 4 there are the lines :

You must impelment a handler for toast activation, so that when the user clicks on your toast, your app can do something. This is required for your toast to persist in Action Center (since the toast could be clicked days later when your app is closed). This class can be placed anywhere in your project.

@mohabouje
Copy link
Owner

mohabouje commented Jun 9, 2019

@kowlown could you provide an example of this issue?

WinToast does keep the notifications in the action center by default if the user does not dismiss it or Windows does not hide them. Make sure that there is nothing wrong in your Windows configuration. See: https://github.com/mohabouje/WinToast#toast-configuration-on-windows-10

Once the toast is in the action center, WinToast does no longer get any callback or event from there. This is an issue that has been discussed in this issue #35

@easly1989
Copy link

Well, the issue is exactly as @kowlown said.

  1. Create the Toast
  2. Wait until the Toast times-out and disappears from the screen
  3. The toast is not anymore in the Action Center

The expected behavior (customizable if possible),
would be to leave the Toast in the Action Center, unless the user clicks on the Toast to hide it.

So this

WinToast does keep the notifications in the action center by default if the user does not dismiss it or Windows does not hide them

seems to not be working properly!

I've checked my Notification Settings (as described here, and it is all good.

Hope that the explanation was clean enough,
Than you for all your work @mohabouje

@I-Rinka
Copy link

I-Rinka commented Mar 9, 2020

@kowlown could you provide an example of this issue?

WinToast does keep the notifications in the action center by default if the user does not dismiss it or Windows does not hide them. Make sure that there is nothing wrong in your Windows configuration. See: https://github.com/mohabouje/WinToast#toast-configuration-on-windows-10

Once the toast is in the action center, WinToast does no longer get any callback or event from there. This is an issue that has been discussed in this issue #35

I know his means since I'm facing the same problem. The effect what I want is just like the Screen Capture in the newest Windows 10 -- Capturing a photo, and user hide the notification into the action center. When user need it, open the action center and click the remaining notification to get the photo.

//Sorry my English might no very good.

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

4 participants