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

QWebView crashes when using smart quotes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.9.1
    • Fix Version/s: None
    • Component/s: WebKit
    • Labels:
      None
    • Environment:

      Description

      Trying to render html via Qt5 QtWebKitWidgets QWebView causes the whole application to crash when the html uses javascript (MathJax) and includes some patterns with left/right quotes.

      To reproduce, use the attached python script that uses the python wrapper to QT5, together with the `test` html file that should be placed in the same directory. A web page is shown for some time, going from a fraction of seconds to some seconds, then one has a segmentation fault.

      All major browsers deal with this test html file nicely, so the issue seems to be confined to QT WebKit.

      See also the discussion in https://github.com/spyder-ide/spyder/issues/5514

        Attachments

        1. test_qwebview.py
          0.6 kB
        2. test.html
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            annulen Konstantin Tokarev
            Reporter:
            callegar Sergio Callegari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes