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

Re: can't scroll down through large images easily

>>>>> In [emacs-w3m : No.09036]
>>>>>	"Chris Moore" <dooglus@xxxxxxxxx> wrote:

> 	- What happened.

Thank you for the bug report.  I see the present behavior of
displaying big images in emacs-w3m buffers is really bad.  IIRC,
the timer is used for only updating the title of a page in the
modeline (the title string has to be truncated when a user
shrinks the frame width).  I will fix it anyway, next week.

> I visit a page with a tall image on it.  For example:
>  http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
> There's a colour palette image about 10% of the way through the page.
> The image is too tall to fit on the screen completely.

> I hit C-v to scroll down through the image, and the image scrolls as
> expected, but no later than 0.5 seconds later, the window jumps back
> up again.  This happens over and over, unless I hit C-v twice quickly.

> I checked the source code and found that there is code saying:

> 	  (run-at-time 0.5 nil

> The code it runs after 0.5 seconds includes this:

>    (w3m-force-window-update)

> and it is that call which is causing the buffer to jump back to the
> top of the big image when I try to scroll it.  If I put a single quote
> (') in front of (w3m-force-window-update) then the jumping back stops
> happening.

> 	- What you thought should have happened.

> I thought I would be able to scroll down through a web page without it
> jumping back up 0.5 seconds later.