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

[REG 5.12.1 -> 5.12.2] QApplication::clipboard()->text() call blocks execution for ~5 seconds sometimes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.12.2, 5.12.3, 5.13.0 Beta2, 5.13.0, 5.13.1, 5.13.2, 5.14.0
    • Fix Version/s: 5.12.5, 5.13.1, 5.14.0 Alpha
    • Component/s: QPA: X11/XCB
    • Labels:
      None
    • Environment:
       Manjaro GNU/Linux 64-bit with latest updates; Xfce.
    • Platform/s:
      Linux/X11
    • Commits:
      a41701904e880f58e19b352ade1931d6cd1a7112 (qt/qtbase/5.12)

      Description

      Steps to reproduce:
      1. Build and run the attached example from terminal.
      2. Select some text in an external application (I mostly tested with Firefox, but could reproduce with Kate as well).
      3. Repeat step 2 until the bottommost line printed by the attached example application is Clipboard changed: 1 instead of the expected "<the last selected text>". This can take anywhere from 1 to 50 selection attempts.
      4. The expected line containing the last selected text will be eventually printed after ~5 seconds of user inactivity or after a mouse click or after moving the mouse pointer over the example application window.

      This bug makes the timing of selected text translation by Goldendict dictionary lookup program unreliable.

      This bug is not present in Qt 5.12.1, Qt 5.12.0, Qt 5.5.1, Qt 4.8.6.
      This issue might be related to QTBUG-74330.

      NOTE: the bug happens much more rarely with the imperfect fix since Qt 5.13.1.

        Attachments

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

          Activity

            People

            Assignee:
            paeglis Gatis Paeglis
            Reporter:
            vedg Igor Kushnir
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change