On Thu, Feb 12, 2009 at 12:09:43PM -0300, Jorge Arellano Cid wrote:
On Thu, Feb 12, 2009 at 11:52:27AM -0300, Jorge Arellano Cid wrote:
On Thu, Feb 12, 2009 at 03:12:10PM +0100, Hofmann Johannes wrote:
On Thu, Feb 12, 2009 at 02:12:36PM +0000, Jeremy Henty wrote:
On Wed, Feb 11, 2009 at 05:06:55PM -0300, Jorge Arellano Cid wrote:
Patch b134ea74331b is to make repush remmeber the scrolling position. This is, if you load a page, start scrolling and the stylesheet arrives after that, it will no longer go back to the top.
Please test.
Works for me with Slashdot. Very nice!
Yes, works great.
One minor thing, which also happens when going back/forward:
It seems that the page is first drawn with scroll position 0 and then immediately scrolled down to the remembered scroll position. Any ideas where the first redraw comes from? Maybe we can eliminate that?
Yes, I've noticed this and share the feel on it!
Maybe there's a redraw request for pos. 0, and then the scroll jump. If the jump is made from a timeout function, then the first draw will always complete.
I haven't checked the code though.
After a skim, that's exactly the case.
Even more there's a FltkViewBase::cancelQueueDraw() function that looks very much like what we need.
The only caveat is that it's not implemented yet! :-)
I'm working on it... -- Cheers Jorge.-