Widget don't appear on widget board after installing widget
Describe the bug
After installing widget, it doesn't appear on widget board when I add it.
Steps to reproduce the bug
- Remove widget from widget board.
- Uninstall widget program.
- Install widget program again.
- Try to add widget to widget board again.
- It doesn't appear on widget board
Expected behavior
Widget should be added on widget board after reinstalling.
Screenshots
No response
NuGet package version
Windows App SDK 1.4.2: 1.4.231008000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
In that case, It's working well after rebooting PC or logging on PC again.
And
If I open widget board once before reinstalling widget app, It works well too.
I tested it on Windows 11 23H2 (22631).
Thanks for submitting the issue @sunnykim1206!
Just to confirm the behavior: after the widget provider application is uninstalled and then reinstalled -> you pin the widget to the Widgets Board but it's not getting pinned? or you cannot see widget in the Widget Picker altogether?
One more question: have your widget program been working correctly before winappsdk 1.4.231008000 or this is the initial version of winappsdk you're using to develop widgets?
Could you please also confirm the version of Widget Dashboard you have? You can find it in Widgets Dashboard settings in the bottom of the page (click "Gears" icon in the top right corner of the Widgets Dashboard) or you can also run get-appxpackage MicrosoftWindows.Client.WebExperience in PowerShell and get the version from there :)
It would be perfect to also have small repro app if you can attach it to this issue :)
after the widget provider application is uninstalled and then reinstalled -> you pin the widget to the Widgets Board but it's not getting pinned? or you cannot see widget in the Widget Picker altogether?
I can see widget in the widget picker but I can't see in Widgets board after pinned.
have your widget program been working correctly before winappsdk 1.4.231008000 or this is the initial version of winappsdk you're using to develop widgets?
At first, I used winappsdk 1.3, but the situation was same.
Could you please also confirm the version of Widget Dashboard you have?
423.30700.0.0
Dear beervoley Any update?
I tested a widget in MS Store (Battery Meter). It's same. Battery Meter was downloaded and installed. I opened widget board and pinned it, but it didn't show in widget board.
Actually it gets worse. Now I have to reboot PC or log in again to pin and see it.
I have a similar issue, but my widget does not appear in the list of available widgets. https://github.com/microsoft/WindowsAppSDK/issues/4041
To reproduce, run the official widget sample and try to pin widget. https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Widgets/cs-console-packaged
Here is the video. I simply downloaded this project and run it. You need twice restart widget.exe process to have to work new installed widget.
https://github.com/microsoft/WindowsAppSDK/assets/30986874/df203878-6068-4323-a1d9-f4839501ee25
Possibly related to https://github.com/microsoft/WindowsAppSDK-Samples/issues/322