Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-469

PySide2 QtGui.QTextCharFormat.setFontFamily() causes the application to crash and close

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P3: Somewhat important
    • Resolution: Incomplete
    • Affects Version/s: dev
    • Fix Version/s: dev
    • Component/s: PySide
    • Labels:
    • Environment:
      windows7 x64
      python3.5.2 x64
      Qt 5.6.2 x64

      Description

      PySide2 QtGui.QTextCharFormat.setFontFamily() causes the application to crash and close
      PySide2 QtGui.QTextCharFormat.setFont() causes the application to crash and close

      Disable it and everything is OK.

      Mixed use of Chinese and English characters is not supported (English font)。But the Chinese font can support Chinese characters and English characters.

      if only load English characters first, everything is OK.
      if used "Consolas" English font and load Chinese-English mixed characters, will crash. Sometime, paste Chinese characters will crash also.

      QtWebEngineWidgets.QWebEngineView() support for Chinese characters is not very good, and sometimes can not properly input Chinese characters. Just do not crash exit.

        Attachments

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

          Activity

            People

            • Assignee:
              crmaurei Cristian Maureira-Fredes
              Reporter:
              liuliuab1 ming liu
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes