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

Windows11 widget(adaptive card) cannot update widget page when the widget is exposed #362

Open
kxyhjl opened this issue Jul 8, 2024 · 0 comments

Comments

@kxyhjl
Copy link

kxyhjl commented Jul 8, 2024

Description:

I create a widget and implement a widget provider through https://learn.microsoft.com/en-us/windows/apps/develop/widgets/implement-widget-provider-cs .
When I expand the widgets board, my widget is partially exposed and partially not exposed. The widget cannot refresh the page. Even if I slide to make the widget fully exposed, the page still cannot refresh.
I found that this happens because deactivate method is called immediately after activate method, and then activate method will not be called again even if you slide it to fully expose. Is it improper to expose the widget but not trigger the activate method?
widget
Taking the demo “Sample Counting Widget(C#)” in the github as an example, the widget host receives my click event but does not refresh the page(Numbers have not changed).

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

No branches or pull requests

1 participant