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

Widget don't appear on widget board after installing widget #3958

Open
sunnykim1206 opened this issue Nov 15, 2023 · 5 comments
Open

Widget don't appear on widget board after installing widget #3958

sunnykim1206 opened this issue Nov 15, 2023 · 5 comments

Comments

@sunnykim1206
Copy link

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

@beervoley
Copy link

beervoley commented Nov 27, 2023

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

@sunnykim1206
Copy link
Author

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
Copy link
Author

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.

@steam3d
Copy link

steam3d commented Dec 15, 2023

I have a similar issue, but my widget does not appear in the list of available widgets.
#4041

@steam3d
Copy link

steam3d commented Jan 4, 2024

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.

2024-01-04.11-59-36_4.mp4

Possibly related to microsoft/WindowsAppSDK-Samples#322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants