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

QBluetoothSocket::canReadLine can sometimes return false negative

XMLWordPrintable

    • 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)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes