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

QTextCharFormat::SpellCheckUnderline not displayed correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.4.1, 5.5.1
    • None
    • Windows 8.1 with Qt 5.5.1, Ubuntu 15.04 with Qt 5.4.1
    • 88e6f8cff2974c46b1262f3a1a61e1440c664e0c

    Description

      When a text in a QTextEdit is underlined with QTextCharFormat::SpellCheckUnderline, that underline vanishes for large font sizes (the minimal font size for it to vanish seems to be font-dependent). See attached minimal working example and the screenshot (left). This is reproducible on both Windows and Linux.

      Curiously, QTextCharFormat::WaveUnderline seems to work, although with a few issues on Linux: for large font sizes, it is partially clipped at the bottom (screenshot (middle)), whereas for small font sizes it can overlap the text (screenshot (right)).

      Attachments

        For Gerrit Dashboard: QTBUG-50499
        # Subject Branch Project Status CR V

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            st.loeffler Stefan Löffler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes