WindowsAppSDK
WindowsAppSDK copied to clipboard
Widgets are not updated when they are not in the effective visible area
Describe the bug
Hello, I created a widget that I want to update periodically from my app when the widget board is open (based on WidgetContext.IsActive property of widget instance). Unfortunately, when my widget is partially visible (and I need to scroll down to see entire widget), updating doesn't work. The same when the widget is not in effective visible area at all. Scrolling doesn't help in most cases, and I have to reopen widgets board or move my widget up to update it correctly.
Steps to reproduce the bug
- Create widget that is updated periodically from the background
- Pin widget on the edge of visible content of widget panel
- Wait for update
Expected behavior
Updated widget regardless of position and visibility
Screenshots
No response
NuGet package version
Windows App SDK 1.5.5: 1.5.240627000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
Tested on following versions of MicrosoftWindows.Client.WebExperience:
524.13200.0.0 524.18000.0.0 524.19900.0.0