Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
6.0
-
None
-
-
a5025efccfa877426dcdf31d91cacb1a6c52b276 (qt/qtbase/dev)
Description
Qt 6 / qtbase at 0bb835c8a498c521e974f35966a34f60e4225659 on Kubuntu 20.04:
auto clip = QGuiApplication::clipboard();
clip->setText("Testing this thing!");
QString subType;
QString text = clip->text(subType);
triggers
Qt 6.0.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 9.3.0) ASSERT: "state" in file src/corelib/text/qstringconverter.cpp, line 817
whereas
Qt 5.15.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) subType= "plain" text= "Testing this thing!"
Unearthed by https://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources/pyside2/tests/QtWidgets/api2_test.py
Attachments
For Gerrit Dashboard: QTBUG-85417 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
306877,2 | Fix a crash in QClipBoard when copying utf16 data | dev | qt/qtbase | Status: MERGED | +2 | 0 |