You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Updating toast progress bar from unpackaged desktop apps doesn't work when using Group+Tag #3835
When trying to use progress bars from an unpackaged C# app, the API to update the progress bar data doesn't actually update the progress bar when using Group+Tag. If the notification only uses Tag, it works fine. Works fine in packaged apps too, only unpackaged apps.
Steps to Reproduce
Steps to reproduce the behavior:
In an unpackaged C# app using the 7.0 Notifications library...
Show a toast using both Tag and Group that has a progress bar with data bound fields
Attempt to update the toast data using Tag and Group
Notice the toast doesn't update
conststringtag="progressToast";conststringgroup="progressToastGroup";newToastContentBuilder().AddArgument("action","viewConversation").AddArgument("conversationId",423).AddText("Sending image to conversation...").AddVisualChild(newAdaptiveProgressBar(){Value=newBindableProgressBarValue("progress"),Status="Sending..."}).Show(toast =>{toast.Tag=tag;toast.Group=group;toast.Data=newNotificationData(newDictionary<string,string>(){{"progress","0"}});});doubleprogress=0;while(progress<1){awaitTask.Delay(newRandom().Next(1000,3000));progress+=(newRandom().NextDouble()*0.15)+0.1;ToastNotificationManagerCompat.CreateToastNotifier().Update(newNotificationData(newDictionary<string,string>(){{"progress",progress.ToString()}}),tag,group);}
Expected behavior
The toast progress bar should animate
Environment
NuGet Package(s): Notifications 7.0
Package Version(s):
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [x] Insider Build (build number: )
App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)
Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [ ] 2017 (version: )
- [x] 2019 (version: )
- [ ] 2019 Preview (version: )
@RosarioPulella I had thought we'd have a dev/7.0.1 branch, but we're really just using main for now. Let's just merge dev/7.0.1 into main and keep that train going for now and hold back on merging anything not for 7.0.1 at the moment.
Activity
Fix notification Group property being overwritten in unpackaged apps (#…
Rosuavio commentedon Mar 22, 2021
@michael-hawker can we close this or do we want to back port the change first?
michael-hawker commentedon Mar 22, 2021
@RosarioPulella I had thought we'd have a dev/7.0.1 branch, but we're really just using main for now. Let's just merge dev/7.0.1 into main and keep that train going for now and hold back on merging anything not for 7.0.1 at the moment.
FYI @Kyaa-dost @azchohfi @Sergio0694
Rosuavio commentedon Mar 22, 2021
Okay, but as for this issue, a PR has been merged that seemed to solve it, so can we close the issue?
michael-hawker commentedon Mar 22, 2021
@RosarioPulella the issue will be closed once the commit is merged to main.