On Mon, Oct 22, 2007 at 07:12:28PM -0300, Jorge Arellano Cid wrote:
Hi
[...] Maybe this is a good time to remember a patch of mine that I sent to Jorge (not to dillo-dev) more than 2 years ago (for Dillo1, of course). It changed the way the scrolling position is remembered so that, I think, dillo becomes more user friendly. In Dillo[12], the scrolling position is associated to a URL. This means that when displaying a page which is already in the history list, the old position is restored (no matter whether one uses the same window or another). With the patch, there is a separate scrolling position for each item in the history list. This means that each click on a link opens a page at the beginning (or at the position specified by the tag if there is one). I find this natural and sometimes even important: Consider some manual on several web pages where a link takes you to the definition of some function etc. If you click on a link, you don't care if the definition you want to see is on a page where you have been before (or maybe even the same page); you just want to open the new page there where the relevant information is, and going one page back should bring you to the page where you clicked on the link (even if it is the same page).
Yes.
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 cooking here... :-)
Number 1.- is commited! Note: this a long patch, and some glitches remain, but it looks like a good basis to improve upon. For instance, sometimes the page will not scroll to the point were it was (race condition, because most of the time it works), but the scrolling pos. is correctly kept and set, so it looks like a rendering glitch. -- Cheers Jorge.-