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

Clipboard does not work during debugging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.0
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Win7/32, VC++2010
    • Commits:
      61c49611fc2e999e2f4467b2ebdb0d188de578e6 (26.9.2013. 5.2), Use newer clipboard API 6a61a00ddb21e79412e82069dfef50192bfd724d (dev, 15.5.2014, 5.4)

      Description

      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!

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: