Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18518

TextEditor: Selection QPainterPath is much to complex

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.4.0-beta1
    • Qt Creator 4.4.0-beta1
    • Editors
    • None

    Description

      The text editor can display a fancy painter path around the shape of selected text. It is a nice feature, but the QPainterPath that is created for painting has way to many elements. On top of being very CPU intensive while painting, it also has gaps.

      If the path gets simplified, the shape looks the same, has a fraction of the previous elements and has no gaps.

      Attachments

        1. ComplexSelectionPath.png
          14 kB
          Alessandro Portale

        Activity

          People

            davschul David Schulz
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: