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

[REG 5.6.2 -> 5.6.3] QSyntaxHighlighter rehighlight broken after upgrading from Qt 5.6.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.3, 5.9.4, 5.9.5
    • None
    • macOS 10.10.5, Windows 10 Pro
    • macOS

    Description

      I have a desktop app used across several platforms written in Qt/QML. Below is description of one of the things which got broken after upgrading to Qt 5.9.3.

      I have TextEdit with text which is being checked for spelling mistakes. This is implemented using QSyntaxHighlighter which highlights errors in red (created in Component.onCompleted of the TextEdit). Internal Spellchecker in my app emits signals which are connected to rehighlight() of the highlighter. Everything used to work like a charm in Qt 5.6.2 but when I upgraded to Qt 5.6.3 this just got broken - rehighlighting never takes place. Downgrade made it work again.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            ribtoks Taras Kushnir
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes