Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15, 6.2, 6.3
-
None
-
-
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
For Gerrit Dashboard: QTBUG-101690 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
400410,4 | Add QIODevice::canReadLine call to QBluetoothSocket | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
401096,2 | Add QIODevice::canReadLine call to QBluetoothSocket | 6.3 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
401097,2 | Add QIODevice::canReadLine call to QBluetoothSocket | 6.2 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
401108,2 | Add QIODevice::canReadLine call to QBluetoothSocket | tqtc/lts-5.15 | qt/tqtc-qtconnectivity | Status: MERGED | +2 | 0 |