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

QTextCharFormat setFontUnderline does not sets the attribute to document

    XMLWordPrintable

Details

    • Linux/X11, macOS, Windows
    • 38f4e1f3e75c4761daf0bf0473c6805e5170fb17 (qt/qtbase/dev) 720defd2caee5225527fa0b154fa68b738fb967b (qt/qtbase/dev)
    • Bug Fixing Candidates

    Description

      If setFontUnderline() is set and then it is merged with QTextCursor then underlying attribute is not available in document.
      Attached example can be used to see this behavior.
      Steps:
      Run the application on a certain timer
      It will underline the text
      then on another timer it will remove underline
      But in finaly when text is shown using doc it still shows underline text.

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes