From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56008: 29.0.50; image-mode buffer scrolled down automatically Date: Thu, 16 Jun 2022 19:58:08 +0300 Message-ID: <83zgicpmu7.fsf@gnu.org> References: <87pmj9cl4l.fsf@gmail.com> <87czf8ervd.fsf@gnus.org> <878rpwer6z.fsf@gnus.org> <87o7yszqx6.fsf@gmail.com> <834k0kr9rd.fsf@gnu.org> <87sfo4bt5r.fsf@gnus.org> <8335g4r4mt.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30578"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56008@debbugs.gnu.org, visuweshm@gmail.com To: larsi@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 16 19:11:35 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1t1q-0007md-4Q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 19:11:34 +0200 Original-Received: from localhost ([::1]:40282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1t1o-00057e-GH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Jun 2022 13:11:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1spi-00072P-6V for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 12:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1sph-00024u-Sx for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 12:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1sph-0006mA-Sk for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2022 12:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jun 2022 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56008 X-GNU-PR-Package: emacs Original-Received: via spool by 56008-submit@debbugs.gnu.org id=B56008.165539870325992 (code B ref 56008); Thu, 16 Jun 2022 16:59:01 +0000 Original-Received: (at 56008) by debbugs.gnu.org; 16 Jun 2022 16:58:23 +0000 Original-Received: from localhost ([127.0.0.1]:43011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1sp5-0006lA-1L for submit@debbugs.gnu.org; Thu, 16 Jun 2022 12:58:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1sp3-0006kt-HZ for 56008@debbugs.gnu.org; Thu, 16 Jun 2022 12:58:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1soy-00020b-0w; Thu, 16 Jun 2022 12:58:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GYjUH5C1IQEeFCDbESb4KtkDGavYGs4m/E/fe/5uE18=; b=PQIdHla6kCsG GYNjZRF4qCkhlv0VjEhmvNDWhIpb1wEphp7XjE/5x8vTETmjHHiXyLpd7PJxkPt4B/WY1YZ2k1xAI y8KQHCcCZwgl0rzmxotJCX4ZKwpE7z38Du7UL57GtKmKl0JDMLDfn0AWKt9UTqq2w1PJg+73jN8v1 GkfMaOatfR/I/77S9chTdpFvy9Am0UQdqPytcvuTa+KSI7XU4Gx8X3klJ2VJ/lnUoUAfnJjKO2SaR 4B/mYq4T15tLYHxg+95aukvRczWCwGTGRcLRgIkoWZ4q0LHxLwAAcQoYHqKXpPcdEouYjR0YV+Ohd XzYs8jSA/B6XxqQT4tGkLg==; Original-Received: from [87.69.77.57] (port=1854 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1sox-0006Gm-DA; Thu, 16 Jun 2022 12:58:15 -0400 In-Reply-To: <8335g4r4mt.fsf@gnu.org> (message from Eli Zaretskii on Thu, 16 Jun 2022 18:48:26 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234650 Archived-At: > Cc: 56008@debbugs.gnu.org, visuweshm@gmail.com > Date: Thu, 16 Jun 2022 18:48:26 +0300 > From: Eli Zaretskii > > > From: Lars Ingebrigtsen > > Cc: Visuwesh , 56008@debbugs.gnu.org > > Date: Thu, 16 Jun 2022 16:05:20 +0200 > > > > Eli Zaretskii 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.