Windows11 widget(adaptive card) cannot update widget page when the widget is exposed
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the linked Windows widget provider implementation guide and the Sample Counting Widget (C#) demo. Reproduce the partially exposed widget sequence and inspect the activate/deactivate and click-refresh behavior; done means the widget page refreshes after it becomes fully exposed and after the click event.
Written by the indexing model from the issue text.
Description
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?
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).
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 336
- Avg merge
- 7h 13m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/WindowsAppSDK-Samples
-
"Samples\Content\cpp-win32\Squares\Squares.vcxproj" doesn't configure precompiled headers correctlyOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
[WinML] Dependency resolution issues w/ Python sampleMay be free again @adrastogi claimed this 235 days ago, and no pull request is open. Open
microsoft/WindowsAppSDK-Samples#595 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
microsoft/WindowsAppSDK-Samples#580 · 1 comment ·
All issues in microsoft/WindowsAppSDK-Samples
Similar issues
-
area::tern-term difficulty::easy good first issue kind::bug triage::ready
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
中文字符导致软件崩溃Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Y-ASLant/ElegantClipboard#172 ·
-
bug resilience tests
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
[Bug]: Arrow-key cursor movement in combined diff view doesn't scroll to keep the cursor visibleOpenos:macos
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
quelea-projection/Quelea#711 ·