question

ppavantiwari avatar image
0 Votes"
ppavantiwari asked ·

Windows toast does not appear when machine wakes from modern standby

Hi All,

I am working on modern standby machine to wake via voice from sleep. When I heard the sound then Intel drivers wakes the machine and i receive an callback in my app to show toast notification.

It works for the first time but from second time onward Toast does not appear when machine wakes from sleep.

To show the toast

  var toast = new ToastNotification(toastContent.GetXml())
             {
                 Tag = tag
             };
 
             if (expirationTime.HasValue)
             {
                 toast.ExpirationTime = expirationTime;
             }
 
             toast.SuppressPopup = suppressPopup; //it's always false 
 
             if (handleToastDismissed != null)
             {
                 toast.Dismissed += (toast2, args) =>
                 {
                     handleToastDismissed.Invoke(toast2, args);
                 };
             }
 
             toastNotifier.Show(toast);





uwpwindows-runtime
· 6
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You can first create a file in local and when you try to send the toast, you could write something to the file to confirm if the event has been triggred. After you wake the machine many times, you can check the file has the same number of records or only one record.

0 Votes 0 · ·

Api to show the toast is getting called for sure as i have logging enabled but toast doest not appear on the screen.

0 Votes 0 · ·

Api to show the toast is getting called for sure as i have logging enabled but toast doest not appear on the screen.

0 Votes 0 · ·

OK, so can you provide a simple sample for us to reproduce this issue?

0 Votes 0 · ·

Hi, is there any update? Have you solved your issue?

0 Votes 0 · ·

Hi, is there any update?

0 Votes 0 · ·

0 Answers