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

CLONE - Clipboard does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.0
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Win7/32, VC++2010
    • Commits:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes