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

QtextBrowser.toPlainText bug (Python 3, Linux only)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.2.1
    • GUI: Text handling
    • None
    • PyQt 5.2.1, Python 3.4.0, Ubuntu 14.04 LTS

    Description

      Not sure whether this it the right place to report this. I have also reported this to the pyqt mailing list.

      On Python 3 only (3.4.0) and PyQt 5.2.1, QTextBrowser.toPlainText() returns a unicode (Python 3 str) string with a value that does not match the value shown in the QTextBrowser! For example, the widget shows: Text: ÷ Σ but toPlainText returns Text: ÷ £

      All is well on Windows and on all platforms with Python 2.7.

      ​Is this a known issue here?

      ​Edward​

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            edreamleo Edward K. Ream
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes