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

Text copied to primary selection is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0, 5.9.0 Beta 1
    • Fix Version/s: 5.9.0 Beta 2
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      Archlinux
    • Commits:
      78417958b7172ec4968088fc3a908a219ed848f6

      Description

      When selecting text in a textarea or input element such as the demo on MDN, more text than selected is copied to primary selection.

      For example, when selecting "something" and pasting the primary selection via middle-click in another application, "Write something here" is pasted instead. When pasting stuff into e.g. IRC, when multi-line text is copied, this might be a privacy issue as well.

      It seems it's always exactly 100 chars before and 100 chars after the selected text which is getting copied. When pressing ctrl-c, the primary selection is set correctly.

        Attachments

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

          Activity

            People

            • Assignee:
              pvarga Peter Varga
              Reporter:
              the compiler Florian Bruhin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes