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

QBluetoothSocket::canReadLine can sometimes return false negative

    XMLWordPrintable

Details

    • Linux/X11
    • 393fd47ab6 (qt/qtconnectivity/dev) 393fd47ab6 (qt/tqtc-qtconnectivity/dev) 319e735f51 (qt/qtconnectivity/6.3) 319e735f51 (qt/tqtc-qtconnectivity/6.3) 2b3b5c899e (qt/tqtc-qtconnectivity/5.15) 2b3b5c899e (qt/tqtc-qtconnectivity/5.15.9)

    Description

      QBluetoothSocket::canReadline() may return false on Linux if there were more than one line ready to be read.

      The cause seems to be that the parent QIODevice class reads the whole databuffer from the QBluetoothSocket and expects that it's version of the "canReadLine()" is called as well to make sure we account also its buffer contents.

      Attachments

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

        Activity

          People

            vuokko Juha Vuolle
            vuokko Juha Vuolle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes