bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: Bouncy NSView scrolling


From: Andrew Ruder
Subject: Re: PATCH: Bouncy NSView scrolling
Date: Sun, 29 Aug 2004 22:56:10 -0500
User-agent: Mozilla Thunderbird 0.7.1 (X11/20040626)

Andrew Ruder wrote:
Hello,

When [NSView scrollToRect: (NSRect)aRect] is called with aRect being bigger than the visibleRect, the current behavior is that the first time it is called, it will scroll to the origin of the aRect, and the next time it will scroll to the top-right of aRect.

This means when you have a textview and a clip that is slightly too small, you'll get the text typed in the textview bouncing up and down every other letter. Attached is a patch to fix and a test application displaying the problem.

Thanks,
Andrew Ruder


This patch has been found to be incorrect due to a large number of typos/thinkos on my part as thankfully pointed out by alexander. I have revised the patch but now am fairly certain it has uncovered other bugs. I will finish investigating then put all the patches up at the same time.

Thanks, and please do not apply this yet,
Andrew Ruder





reply via email to

[Prev in Thread] Current Thread [Next in Thread]