Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-113167

Qt Sensors: ProximitySensor not reacting to signals in QML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • dev
    • Sensors
    • None
    • Pixel 7 Pro
      Pixel 6a
    • Android
    • 1
    • Foundation Sprint 93, Foundations Sprint 94

      It was observed that the ProximitySensor QML Type is not responding to the onReadingChanged signal on Android even when the phone supports it.

       

      Please find a minimal example attached.

       

      The Pixel 7 Pro reports a successfull connection to the "TMD3719" backend.

      // Debug print from example: 
      D qml     : : S identifier: 8
      D qml     : : S connected to backend: true
      D qml     : : S description: TMD3719 Proximity (wake-up) AMS v1
      D qml     : : identifier: 8
      D qml     : : connected to backend: true
      D qml     : : available data rates:
      D qml     : : data rate: 0
      D qml     : : reading: false
      D qml     : : active: false
      D qml     : : description: TMD3719 Proximity (wake-up) AMS v1
      D qml     : : error: 0
      D qml     : : busy: false

      Discussed in: https://codereview.qt-project.org/c/qt/qtsensors/+/472100

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            rybouabi Rym Bouabid
            dennisoberst Dennis Oberst
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes