On Thu, Oct 25, 2007 at 08:15:24PM +0200, Matthias Franz wrote:
On Wed, Oct 24, 2007 at 05:27:42PM -0300, Jorge Arellano Cid wrote:
I see this in two parts:
1.- Remembering the scroll position in each bw's nav_stack 2.- Making fragments push a new page (and not just jump like now).
Number 1.- is commited!
Hi Jorge,
I think it's a good idea to split this into two parts. If people have different preferences about (2), one could make this configurable.
Here is a problem with the current version:
Create two (long) pages. At the bottom of each page make a link to the other one. Now do the following: Start dillo2 with page 1. The top of the page is shown. Scroll to the bottom, click on the link. Now page 2 opens (at the top). Scroll to the bottom, click on the link. Now page 1 opens (at the top). Scroll to the bottom. Go back to page 2. The bottom is shown. Go forward to page 1. Now the top is shown, although you left the page at the bottom.
Can you reproduce this?
Yes, and as a bonus I get hit by the not-completely-rendered-yet scrolling offset bug! :-) It was a lapsus of mine. Small patch commited. You can debug with (e.g.): ./dillo-fltk /tmp/page1.html |grep -e ^Nav -- Cheers Jorge.-