Go to file
Liang Qi fdd828e560 [PATCH] xcb: add a timeout control when reading INCR property
For the first call of QXcbClipboard::clipboardReadProperty()
inside of clipboardReadIncrementalProperty() in getSelection(),
it will get a XCB_NONE reply before the contents arrived via
property change. Then we give a chance to read more.

Manually tested with following setups:
* examples/widgets/mainwindows/application with gvim(gtk3)
* examples/widgets/widgets/imageviewer with GIMP 2.10.18(based on
gtk2) and GIMP 2.99.6(based on gtk3 via flatpak)

Fixes: QTBUG-56595
Pick-to: 5.12 5.15 6.1 6.2
Done-With: JiDe Zhang <zhangjide@uniontech.com>
Change-Id: Ib45f08464d39ad79137b1da99808c89b7dca2d08
Reviewed-by: JiDe Zhang <zhangjide@uniontech.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>

Gbp-Pq: Name xcb_add_a_timeout_control_when_reading_INCR_property.diff
2022-05-14 17:41:00 +08:00
bin Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
config.tests Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
debian Import Debian changes 5.15.3+dfsg-ok1 2022-05-14 17:39:14 +08:00
dist Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
doc Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
examples Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
include Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
lib Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
mkspecs Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
qmake Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
src [PATCH] xcb: add a timeout control when reading INCR property 2022-05-14 17:41:00 +08:00
tests fix placement of placeholder text in QLineEdits with action icons 2022-05-14 17:41:00 +08:00
util Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-ENTERPRISE-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-APPLICATION-DEVELOPMENT-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-AUTOMATION-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-AUTOMOTIVE-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-DEVICE-CREATION-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.qmake.conf Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.release-timestamp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.tag Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
INSTALL Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.FDL Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.GPL2 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.GPL3 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.GPL3-EXCEPT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.LGPL3 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.LGPLv3 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.QT-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
config_help.txt Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure.bat Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure.json Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure.pri Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
qtbase.pro Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
sync.profile Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00