[Bug 71577] horizontal scroll bar obscures the last line

Jon Smirl jonsmirl at yahoo.com
Fri Jan 2 17:14:02 UTC 2004


------- 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=71577     




------- Additional Comments From jonsmirl at yahoo.com  2004-01-02 17:13 -------
I only have kdevelop built so I can't tell.

I think I know what the bug is.

Start at the top of the file with the scroll bar off.
Jump to the bottom. 
The calculation for how many lines are visible has already been done.
It controls where the top of the window is for the last pages.
But now when the window paints the scrollbar is enabled.
This messes up the top of window calculation.
It only impact the last window full and text and when jumping from an area without a scrollbar to one with.

I have made this same bug in code I have written. The problem is that the last page of the file needs to be special cased. The general code doesn't work right on the last page.




More information about the KDevelop-devel mailing list