[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 158523] Drawing artifact, last line doesn't update
From: Robert Knight <robertknight () gmail ! com>
Date: 2008-03-09 15:28:45
Message-ID: 20080309152845.19623.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic