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

Group & Tag (UniqueIdentifier) are lost on snooze #100

Open
cookmatt opened this issue Jun 29, 2020 · 2 comments
Open

Group & Tag (UniqueIdentifier) are lost on snooze #100

cookmatt opened this issue Jun 29, 2020 · 2 comments
Assignees
Labels

Comments

@cookmatt
Copy link

Steps to reproduce

run the following -
new-burnttoastnotification -UniqueIdentifier "HelloWorld" -SnoozeAndDismiss
before you click snooze or dismiss run the following -
get-bthistory
click Snooze
get-bthistory
get-bthistory -scheduledtoast
wait for the toast to come back from snooze -
get-bthistory

Expected behavior

Group & Tag (UniqueIdentifier) should be preserved during and after snooze

Actual behavior

Once snooze is clicked the Group & Tag (UniqueIdentifier) are lost
This means:

  1. using -UniqueIdentifier with -ScheduledToast will not return anything
  2. using -UniqueIdentifier with a visible toast that was previously snoozed will not return anything

image

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.17763.316
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.316
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
OsName: Microsoft Windows 10 Pro for Workstations
OsVersion: 10.0.17763
Architecture: x64
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     0.7.1      BurntToast                          {Get-BTHistory, New-BTAction, New-BTAppId, New-BTAudio...}

@Windos
Copy link
Owner

Windos commented Jun 29, 2020

Heya @cookmatt, thanks for the report.

Funnily enough this is related to #72 (and the snoozing thing is actually how I figured that one out).

A fix has been written and it'll be included in the next release.

@Negwoh
Copy link

Negwoh commented Oct 20, 2020

Any update on this one? I am running into this wall whilst trying to take actions if a user dismisses the toast.
A workaround would be equally appreciated :)

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

3 participants