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

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.9.3, 5.9.4, 5.9.5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      macOS 10.10.5, Windows 10 Pro

      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            ribtoks Taras Kushnir
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes