microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.85k stars 323 forks source link

BluetoothDevice.ConnectionStatusChanged is not invoking when gif is loaded to image #4704

Closed m1adow closed 2 months ago

m1adow commented 2 months ago

Describe the bug

Hi. We have encountered a strange bug in WinUI3. There is API Windows.Devices.Bluetooth to work with Bluetooth devices and we are interested in observing connection states. However, this event will never occur if there is an image with a GIF somewhere in the UI. With images (png) everything works fine. Also, we have tested in UWP and there is no such behavior. So how to fix it?

Steps to reproduce the bug

  1. Open solution
  2. On the main window set gif as the image source
  3. The event will never occur

Expected behavior

The event will occur whether the gif or image is loaded.

Screenshots

No response

NuGet package version

Windows App SDK 1.6.0: 1.6.240829007

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

BannerBluetoothProblem.zip

codendone commented 2 months ago

Duplicate of microsoft/microsoft-ui-xaml#9969