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

QTextEdit text style is different after copy & paste

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.8.5, 5.2.1, 5.3.0 Beta1
    • GUI: Text handling
    • Windows 7, Linux (Fedora)

    Description

      Pasted text style is not the same as the copied text.

      Font style seems to come from the QTextDocument even though it should come from the QTextCursor. Hopefully screen shot and example app will clarify the issue better.

      Attachments

        1. copypaste.png
          copypaste.png
          27 kB
        2. copyPasteTest.zip
          5 kB
        3. qtbug38552.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            anylitok Antti Yli-Tokola (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes