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

QTextCharFormat::SpellCheckUnderline not displayed correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.4.1, 5.5.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 8.1 with Qt 5.5.1, Ubuntu 15.04 with Qt 5.4.1
    • Commits:
      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

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

          Activity

            People

            Assignee:
            esabraha Eskil Abrahamsen Blomfeldt
            Reporter:
            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