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

QTextEdit text style is different after copy & paste

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes