GNU bug report logs - #16840
Jerky motion and up/down asymmetry scrolling images

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Sat, 22 Feb 2014 01:53:02 UTC

Severity: normal

Merged with 14567

Found in version 24.3.50

Full log


Message #43 received at 16840 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "N. Jackson" <nljlistbox2 <at> gmail.com>, 16840 <at> debbugs.gnu.org
Subject: Re: bug#16840: 24.3.50; Jerky motion and up/down asymmetry
 scrolling images in Eww
Date: Thu, 26 Sep 2019 18:58:02 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: nljlistbox2 <at> gmail.com (N. Jackson)
>> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>,  16840 <at> debbugs.gnu.org
>> Date: Fri, 25 Dec 2015 15:01:21 -0400
>> 
>> The `C-n's in Step 7 scroll the image as one would expect. At the
>> second last of those `C-n's, the heading "Secure Boot vs Restricted
>> Boot" scrolls off the top of the window. At the next `C-n' the blank
>> line below the image is at the top of the window.
>> 
>> At the next `C-n' (Step 8) which I understand is supposed to move
>> point to the line below the image [Although it would be awesome if it
>> could continue scrolling the image one "line" at a time.], the
>> scrolling "glitches" and point moves _up_ again to the blank line
>> above the image.
>
> That's an entirely different problem: Emacs doesn't find a good place
> to start the window, so it recenters the window.  I will look into it
> when I have time.

If you need an easier example to test image scrolling with, here's a
sexp.  :-)

I just find large-image scrolling in Emacs to be kinda
... unpredictable?  But it does work.  But perhaps it would be nicer if
it was somehow less surprising.

(progn
  (switch-to-buffer "*image*")
  (erase-buffer)
  (set-frame-height (window-frame (selected-window)) 1000 nil t)
  (let* ((width 300)
	 (height 800)
	 (svg (svg-create width height)))
    (svg-gradient svg "background" 'linear '((0 . "#b0b0b0") (100 . "#808080")))
    (svg-rectangle svg 0 0 width height :gradient "background"
                   :stroke-width 2 :stroke-color "black")
    (dotimes (i 30)
      (insert (format "%d\n" i)))
    (svg-insert-image svg)
    (insert "\n")
    (dotimes (i 30)
      (insert (format "%d\n" i)))
    (goto-char (point-min))))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.