GNU bug report logs - #56008
29.0.50; image-mode buffer scrolled down automatically

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Thu, 16 Jun 2022 04:02:01 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: larsi <at> gnus.org
Cc: 56008 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: bug#56008: 29.0.50; image-mode buffer scrolled down automatically
Date: Thu, 16 Jun 2022 19:58:08 +0300
> Cc: 56008 <at> debbugs.gnu.org, visuweshm <at> gmail.com
> Date: Thu, 16 Jun 2022 18:48:26 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: Lars Ingebrigtsen <larsi <at> gnus.org>
> > Cc: Visuwesh <visuweshm <at> gmail.com>,  56008 <at> debbugs.gnu.org
> > Date: Thu, 16 Jun 2022 16:05:20 +0200
> > 
> > Eli Zaretskii <eliz <at> gnu.org> writes:
> > 
> > > No, this _is_ specific to eww and shr.  Well, in a way: shr.el does
> > > something which directly causes this.  Stay tuned.
> > 
> > I wondered whether it had something to do with shr-string-pixel-width
> > and friends (which does play games with windows), but stubbing those out
> > still led to the same problems, apparently.
> > 
> > (shr-string-pixel-width should be replaced with string-pixel-width (sort
> > of), though.)
> 
> It's shr-pixel-column, which calls set-window-buffer.

And in addition, shr-insert-document was resetting the hscroll of the
window it just happened to use for its rendering job.

This bug should be fixed now on the master branch.




This bug report was last modified 2 years and 336 days ago.

Previous Next


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