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

QTextEdit list number/bullets inherit the following text style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.7.0, 5.7.1
    • GUI: Text handling
    • None
    • Manjaro (Arch Linux) x64 - KDE
      Windows 8.1 x64
      Qt 5.7.0
    • 41a1ff4e3 (dev), 7f48c7962 (dev), 2d7972e05 (6.7), 301061040 (tqtc/lts-6.5)

    Description

      Long standing bug, created new issue as it is more broad than the specific case described in the original report. Presumably the same bug but applies to more than just bold styled text. Italics, colours, font changes etc all seem to affect a lists numbers/bullet points style which prevents a consistent numbering/bullet style for the list.

      Related bug report (specific to bold):
      2010 - https://bugreports.qt.io/browse/QTBUG-13036
      2014 - https://bugreports.qt.io/browse/QTBUG-41436

      Reproduced in the QTextEdit/richtext/textedit QtCreator example/demo on Windows 8.1 x64. Scrolled down to the numbered list and toggled bold/italic, the number inherited the style changes to the adjacent text.

      I am not a Qt developer, but could forward any additional information needed to the project dev or attempt to aquire it myself(I am a dev with strong technical skills). I am using a Qt app "QOwnNotes" with related bug report here: https://github.com/pbek/QOwnNotes/issues/437

      The maintainer says it is a bug with QTextEdit widget. Attached is a picture of the app, the widget with the bug is on the right pane. This real world example shows how the various text styles cause consistency issues in list formatting.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              polarathene Brennan Kinney
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews