Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 8.0.2
-
None
-
Windows 10, 64-bit
-
-
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
For Gerrit Dashboard: QTCREATORBUG-28411 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
442373,3 | Editor: completely repaint annotations on changed bounding rects | 9.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
443621,1 | Editor: completely repaint annotations on changed bounding rects | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |