[Konsole-devel] [Bug 158523] Drawing artifact, last line doesn't update

Robert Knight robertknight at gmail.com
Sun Mar 9 15:28:44 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158523         




------- Additional Comments From robertknight gmail com  2008-03-09 16:28 -------
SVN commit 783788 by knight:

Re-enable scrolling optimisation with tweaks to get Qt to issue a repaint request for the correct

area of the terminal display widget after the content is scrolled with QWidget::scroll() :

- Set the left edge of the scrolled rect to 0 (instead of the left margin used when
drawing the text)
- Set the right edge of the scrolled rect to width() - width of scroll bar - 1.  If the
right edge of the scrolled rect touches the scroll bar then a full repaint of the widget
is triggered.

These changes are based on experimentation.  I haven't had time to look into Qt to
find out exactly what changed between Qt 4.3 and 4.4.

Update comments to reflect changes and add a mention of Qt's QT_FLUSH_PAINT repaint
monitoring facility.

CCBUG: 158523


 M  +19 -24    TerminalDisplay.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=783788



More information about the konsole-devel mailing list