Re: Problem with page positioning.

James C <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <CACZ9Q6hZiV2K_FQ9mcivfiex_7zC0pVbtV0xjuqYXKz-peV-Mg@mail.gmail.com>
Hi All,

I can reproduce the reported behavior, with the reported test-case,
with source up to change 986b7e7

I'm fairly sure that:
- the page loads, and a scroll position is determined
- the css loads, and the page is re-drawn
-- wrongly, at the same scroll position, rather than at the scroll
position that now matches the request

I'm fairly sure that FRAGMENT is the part of the URL that contains a
request to scroll to an anchor.

If I was looking for a part of the code to blame, then my current pick is:
  "nav.c" line 303
and friends; possibly
  "nav.c" line 308
but I know that I don't have a taxonomy of all "repush"es, and how to
determine that this is the one where that case should not apply :-)

Regards,
James.

On 26/02/2015, John Found <[email protected]> wrote:
> Hi all. It is my first post on this mailing list.
>
> I want to use Dillo as a HTML help browser for my program. I need it,
> because it has faster startup time and this is very important
> for a help system, where the user presses F1 and expects the help to open
> instantly. (What is not the case with all other browsers).
>
> Anyway, the problem I have is that when starting Dillo with URL that
> contains local anchor ID, it first positions properly, but short time later,
> (when the CSS get loaded?) it repositions the page and the needed element
> moves somewhere else, very far from the current page position.
>
> Example that can be tested:
> http://fresh.flatassembler.net/index.cgi?page=content/articles/2_FreshLibDoc.txt#cinvoke
>
> Once the page is loaded (on the wrong position), pressing Ctrl+R or clicking
> on "Reload" button, repositions the page to the proper position.
>
> Is this problem can be easily solved?
> I can try to fix it by myself, but my C/C++ skills are very low and then I
> will need some assistance.
>
> Best Regards and thanks for the great browser.
>
> --
> http://fresh.flatassembler.net
> http://asm32.info
> John Found <[email protected]>
>
> _______________________________________________
> Dillo-dev mailing list
> [email protected]
> http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.