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

CLONE - Clipboard does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 5.2.0
    • 5.1.1
    • Other
    • None
    • Win7/32, VC++2010
    • 61c49611fc2e999e2f4467b2ebdb0d188de578e6

    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

        1. Clipboard.zip
          2 kB
        2. mmimedata.cpp
          2 kB
        3. mmimedata.h
          0.6 kB
        4. qtbug36737.zip
          7 kB

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              bertrandlec Bertrand Leclercq
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: