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

[regression] Garbage when copy-paste from browser into Qt application

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P1: Critical
    • Resolution: Done
    • 5.1.0 Beta 1
    • 5.1.0 RC1
    • Core: Other
    • None
    • Tested on Ubuntu
    • 964be004033ea84dd4b8cbef53c4660b714dde09

    Description

      This regression was introduced by https://codereview.qt-project.org/#change,47135 Reverting this change fixes the issue.

      Steps to reproduce:

      1) Compile and run the following test code:

          QTextEdit pedit;
          pedit.show();
      

      2) Copy some text into the clipboard (for example from "greek.html" or any other text from internet browser).

      3) Paste the contents of clipboard into the test application.

      EXPECTED:
      You see the text which was copied into the clipboard at the step 2.

      ACTUAL:
      See "greek.png" or "text_from_firefox.png"

      Attachments

        1. text_from_firefox.png
          text_from_firefox.png
          8 kB
        2. greek.png
          greek.png
          8 kB
        3. greek.html
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            paeglis Gatis Paeglis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes