Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0, 5.2.0 Beta1
-
Mac OS X 10.7
-
-
1cfd45782638b8266d46af289de5abdd0371fc27
Description
Application miss QClipboard::dataChanged() signal if trying to get clipboard data change from other application. Reading from documentation this should be possible if application is active. And it works in Qt 4.8 when application is set to active.
QClipboard::dataChanged() documentation says:
"On Mac OS X and with Qt version 4.3 or higher, clipboard changes made by other applications will only be detected when the application is activated."
Issue can be reproduced with attached clipboard test application. Run 2 instances of application and press start button in other. That launches timer which changes clipboard data and is printed to window. Then activating other window we should see same clipboard data than in window where timer is running. But it's not getting any signal without starting local timer.
Attachments
For Gerrit Dashboard: QTBUG-34941 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
94931,12 | OS X: Emit QClipboard::dataChanged when activating application | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |