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

Editor smears annotations when scrolled horizontally, annotations not in scroll area

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 9.0.0
    • Qt Creator 8.0.2
    • Editors
    • None
    • Windows 10, 64-bit
    • Windows
    • 4b126550c1 (qt-creator/qt-creator/9.0) 4b126550c1 (qt-creator/qt-creator/master)

    Description

      When an annotation, such as those produced by the clang analyzer, extends off the right edge of the text editor, and the editor is scrolled horizontally to the right, the annotation is "smeared" – that is, it's not repainted, the old bit just stays there:

      Additionally, and presumably related, annotations do not contributed to the calculated horizontal scroll area of the editor, and thus the scrollbar does not appear if all code is in view even if annotations extend off the right side.

      As a consequence, the only way to read annotations, really, is to adjust the editor pane width so that they come into view (redraw is OK in this case afaict).

      See attached screengrab video (I could not get a gif to be < 25MB or so and didn't want to be rude). It is also watchable here.

       

      Attachments

        1. Video.mkv
          1011 kB
          Jason Cipriani
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            jasonc Jason Cipriani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes