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

QML TextEdit copy() copies text twice on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.12, 6.2.7, 6.4.1, 6.5.0 Beta1
    • 5.12.9
    • QPA
    • None
    • Tested on
      - Pixel 3a, Android 11 Beta
      - Samsung Galaxy S7, Android 8.0
    • Android
    • 5f9591bde3 (qt/qtbase/dev) 5f9591bde3 (qt/tqtc-qtbase/dev) d9acc25af3 (qt/qtbase/6.4) d9acc25af3 (qt/tqtc-qtbase/6.4) c1479bb9a7 (qt/tqtc-qtbase/5.15) 44350cd8fd (qt/tqtc-qtbase/6.2) d9acc25af3 (qt/tqtc-qtbase/6.4.1)

    Description

      The following code will copy the content of the text edit twice into the system clipboard

      text.selectAll();
      text.copy();
      text.deselect();
      

      While using QClipboard via a C++ Helper class does work correctly.

      I attached a sample application illustrating the problem.

      Important for reproducing: This doesn't seem to happen in all text fields. E. g. I can reproduce it when pasting to Chrome's URL bar, but not if I paste the text into the google start page.

      Attachments

        Issue Links

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

          Activity

            People

              stromme Christian
              jan.lorenz Jan Lorenz
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes