-
Notifications
You must be signed in to change notification settings - Fork 324
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
Widgets menu not loading #3594
Comments
I wonder if #3095 wasn't due the same issue. |
For completeness, I tried restarting, resetting, uninstalling and reinstalling the app. Nothing worked. It seems to be some unmet precondition in my system preventing registration of the WidgetCatalog class. The only COM related exception in see in the log is the repetition of:
|
@CarlosNihelton Can you tell me the version of the WidgetService you have installed? Easy way to get this is in Dev Home -> Settings -> Feedback -> Report a bug -> under "Include installed Dev Home extensions and related packages", anything listed under "Widget Service:" |
Hi, Note that only the widgets from GitHub extension are available and working.
Not sure if this is relevant but I have built and launched a dev build of DevHome (main branch). EDIT: a reboot didn't help, but, after reinstalling both packages and another reboot, the widgets are back! 😃 |
@davidegiacometti I'm glad widgets are back. I suspect the weirdness you saw is due to having those two sources of the widget service (WidgetsPlatformRuntime and WebExperiences). If you're on Windows 10, I'd expect you to have WidgetsPlatformRuntime, which was installed by Dev Home to enable widgets. The WebExperience package should only be on Window 11, and that version number (1.0.1.0) is strange. Do you know how you might have gotten it? If you see more widget weirdness I'd try removing it. |
I may have installed it a long time ago building DevHome locally before Windows 10 support 👀 |
I've looked into this more and it is a strange situation. From others reproducing the issue, I can see the WidgetService isn't running when this error happens. Normally, the WidgetService is started by API calls into it. We're not sure why it sometimes isn't starting now. WidgetService version wasn't an indication of whether this issue would show up or not. I was able to work around it by having the Windows Widget Board start the service -- either just opening it with 🪟+w, or also opening the dialog to add widgets to the board, were able to start the service. Once the service was started once, Dev Home no longer hit this issue, and in my experience, was able to start the widget service again. I've opened PR #3632 which doesn't help starting the service, but does keep Dev Home in a better state when it can't start. |
Tried Win+W and suddenly I have some widgets on the dashboard home, and add widget starts working. |
This fixed my issue:
Should we keep the issue open for more investigation? |
Dev Home version
0.1601.561.0
Windows build number
10.0.26120.1350
Other software
No response
Steps to reproduce the bug
Expected result
Non-empty list of available widgets to show up.
Actual result
Empty
Included System Information
The DevHome log shows a COM class not registered exception:
Included Extensions Information
Inbox GitHub, Hyper-V and WSL extensions
The text was updated successfully, but these errors were encountered: