-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9.3
-
None
The iio-sensor-proxy backend appears to have a blocking DBus call on initialization, which can cause Qt to freeze potentially due to underlying backend bugs.
This can be reproduced by clicking the button on this simple example, with a OnePlus 6 and postmarketOS:
import QtQuick
import QtQuick.Controls
import QtSensors
Item {
Component.onCompleted: console.log('hello')
ProximitySensor {
id: sensor
active: false
onReadingChanged: console.log(reading)
}
Button {
anchors.centerIn: parent
text: 'hello'
onClicked: sensor.start()
}
{color:#000000}}
The entire app freezes after `sensor.start()` is called.