Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0 Alpha
-
None
-
Windows 10 Pro (up to date, non preview)
-
-
bd7dda4614eb776c40a1eb3b6f1bbe531fa8abb5
Description
How to reproduce
- Remove Bluetooth capabilities from manifest
- Start a device discovery
What is expected
Error report that access is denied
What is get
No error reported at the Bluetooth level.
BluetoothDeviceDiscoveryAgent_winrt.cpp:75 QWinRTFunctions::await(deviceFromIdOperation, device.GetAddressOf()); returns 0 (S_OK)
Warning : i talk about the method effective response, not the fact that the response is not checked (https://bugreports.qt.io/browse/QTBUG-56191).
An exception is logged :
Exception at 0x745096c2, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in Windows_Devices_Bluetooth
onecoreuap\drivers\wdm\bluetooth\user\winrt\device\bluetoothdevice.cpp(1489)\Windows.Devices.Bluetooth.dll!11A44321: (caller: 11A4760A) Exception(2) tid(347c) 80070005 Access is denied.
Attachments
For Gerrit Dashboard: QTBUG-56219 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
172752,2 | winrt: Added missing error handling to device discovery and low energy | 5.8 | qt/qtconnectivity | Status: MERGED | +2 | 0 |