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


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

From: Visuwesh <visuweshm <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 56008 <at> debbugs.gnu.org
Subject: Re: bug#56008: 29.0.50; image-mode buffer scrolled down automatically
Date: Thu, 16 Jun 2022 22:50:12 +0530
[வியாழன் ஜூன் 16, 2022 19:58] Eli Zaretskii wrote:

>> 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.

Can confirm that it is fixed, thanks for the quick fix!




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

Previous Next


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