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

Text copied to primary selection is incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.0 Beta 2
    • 5.8.0, 5.9.0 Beta 1
    • WebEngine
    • None
    • Archlinux
    • 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

            pvarga Peter Varga
            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