WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Widget don't appear on widget board after installing widget

Open sunnykim1206 opened this issue 2 years ago • 5 comments

Describe the bug

After installing widget, it doesn't appear on widget board when I add it.

Steps to reproduce the bug

  1. Remove widget from widget board.
  2. Uninstall widget program.
  3. Install widget program again.
  4. Try to add widget to widget board again.
  5. 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).

sunnykim1206 avatar Nov 15 '23 02:11 sunnykim1206

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 :)

beervoley avatar Nov 27 '23 23:11 beervoley

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

sunnykim1206 avatar Nov 29 '23 02:11 sunnykim1206

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.

sunnykim1206 avatar Dec 06 '23 03:12 sunnykim1206

I have a similar issue, but my widget does not appear in the list of available widgets. https://github.com/microsoft/WindowsAppSDK/issues/4041

steam3d avatar Dec 15 '23 18:12 steam3d

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

steam3d avatar Jan 04 '24 09:01 steam3d