Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10.0, 5.10.1
-
None
-
Windows 10 pro
Description
MimeData got by QApplication::clipboard()->mimeData() in QClipboard::DataChanged callback sometimes seems to be empty or, better, seems not to be already filled!
This malfunction happens sporadically in the attached example but, in my application (that is computationally heavier) occurs in up to 50% of cases when updating the clipboard by copying file from Windows Explorer.
A way to reproduce in the attached example is by repeatedly copying a file by keeping ctrl+c pressed. When the described issue occurs, in the example it's printed a console debug message
"NO FORMATS!!!!"
The bug may be related to QTBUG-53979.
Attached you can find the log output with
QT_LOGGING_RULES=qt.qpa.mime.debug=true
Attachments
Issue Links
- relates to
-
QTBUG-53979 QClipboard hasText() false when the clipboard contains text (windows)
-
- In Progress
-