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

Text Edit example with wrong heading behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.4.2
    • Examples and Demos
    • None

      I was using the Text Edit example to learn about QTextEdit, and noticed that the heading behavior seems wrong in one case.

      1. Add a new line.
      2. Select the style "Heading 3".
      3. Select the whole line and remove it (but keep the line break, i.e. don't change the line count of the document).
      4. Enter some text.

      Notice that after step 4, the heading is entered with the heading level expected, but the bold format isn't kept.
      This happens whenever we create a new heading. But with headings loaded from an HTML file, this doesn't happen.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            felipef Felipe Goron Farinon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes