Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33492

Clipboard does not work during debugging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.2.0
    • 5.1.1
    • Other
    • None
    • Win7/32, VC++2010
    • 61c49611fc2e999e2f4467b2ebdb0d188de578e6 (26.9.2013. 5.2), Use newer clipboard API 6a61a00ddb21e79412e82069dfef50192bfd724d (dev, 15.5.2014, 5.4)

      Qt 5 refuses to handle clipboard events if application runs in debug mode and shows a qWarning message "Cowardly refusing to send clipboard message to application under debugger...". I do not know about the exact reason for this. I also do not know if this behaviour can be changed.

      However this behaviour is fatal for an automated testing application that simulates GUI actions. These GUI actions also include clipboard handling.

      In fact with Qt5 it is not possible to develop a fully featured GUI testing automation anymore since it can not be run in the debugger without fails.

      If there is any other solution it should be considered!

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            silicomancer Bernhard Lindner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: