GNU logs - #69972, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Joseph Turner <joseph@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 24 Mar 2024 09:13:02 +0000
Resent-Message-ID: <handler.69972.B.171127154816790 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 69972 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.171127154816790
          (code B ref -1); Sun, 24 Mar 2024 09:13:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Mar 2024 09:12:28 +0000
Received: from localhost ([127.0.0.1]:42543 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1roJtz-0004Mj-TX
	for submit <at> debbugs.gnu.org; Sun, 24 Mar 2024 05:12:28 -0400
Received: from lists.gnu.org ([209.51.188.17]:34340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1roJtw-0004MS-Nl
 for submit <at> debbugs.gnu.org; Sun, 24 Mar 2024 05:12:25 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joseph@HIDDEN>) id 1roJr8-0001KU-Me
 for bug-gnu-emacs@HIDDEN; Sun, 24 Mar 2024 05:09:30 -0400
Received: from out-187.mta1.migadu.com ([95.215.58.187])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joseph@HIDDEN>) id 1roJr5-000051-DA
 for bug-gnu-emacs@HIDDEN; Sun, 24 Mar 2024 05:09:30 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ushin.org; s=key1;
 t=1711271354;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=Ivd04cmhLo/ExNa7uq/Dma3fExN/pp5NXnSA/C95Tig=;
 b=bqn+1RdOwDd9biUU1S8xwaSp//Rn0d5cIe6f6Kg9/xTtJgTdhf1QbnaoGL0mlU/gMtO43w
 2Sd+cYpYwNZN+cOtDuVsQU82DLIvbTFuzTRdQs1cX/JAJs6hKWeZyjGFKfUzKzyxwm0yHP
 Ta7SHBWkeUHYkOfx6/pBLQy0pYVbjnUGQ3P/CLBBaiuobSHv+roHILu/phAPiz/DlNd3jq
 z/QTWAgboQHAS5KszplHMGAcri/enU4WhQtahBpmPyYPRxKZ/8YFHYads9wKNVCby5F4B/
 3TC4guIjztcQjGP+TJilf0kGHbZIyoLXIcWcJIZ1DyPypQjLedCKeQxZJRTNxQ==
From: Joseph Turner <joseph@HIDDEN>
Date: Sun, 24 Mar 2024 02:07:16 -0700
Message-ID: <87sf0gm1xn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
Received-SPF: pass client-ip=95.215.58.187; envelope-from=joseph@HIDDEN;
 helo=out-187.mta1.migadu.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

When the image at point is larger than the current window and there is
no content after the image, interactively scrolling down (with the
scroll-up command) unexpectedly scrolls past the image to blankness.

Test this by evaluating the following snippet then interactively running
`scroll-up' repeatedly:

(with-current-buffer (get-buffer-create "*test-scroll-image*")
  (erase-buffer)
  (insert-image (create-image "splash.png" nil nil
    ;; Scale the image more if it doesn't take up the whole window.
    :scale 5))
  (goto-char (point-max))
  (pop-to-buffer (current-buffer)))

Even more unexpectedly, when point is before the image, running
`scroll-up' repeatedly eventually scrolls back to the top of the image:

(with-current-buffer (get-buffer-create "*test-scroll-image*")
  (erase-buffer)
  (insert-image (create-image "splash.png" nil nil :scale 5))
  (goto-char (point-min))
  (pop-to-buffer (current-buffer)))

Non-interactively, scroll-up scrolls the page down to the very bottom of
the image.  IMO this is the expected behavior:

(with-current-buffer (get-buffer-create "*test-scroll-image*")
  (erase-buffer)
  (insert-image (create-image "splash.png" nil nil :scale 5))
  (pop-to-buffer (current-buffer))
  (scroll-up 999))

Thank you for your help!!

Joseph

Tested on emacs -Q:

In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37,
cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 --prefix=/gnu/store/f4gxh8n3libmywq8d5jvxxkyqblgilxy-emacs-29.1
 --enable-fast-install --with-cairo --with-modules
 --with-native-compilation=aot --disable-build-details'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM
GTK3 ZLIB




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Joseph Turner <joseph@HIDDEN>
Subject: bug#69972: Acknowledgement (29.1; Unexpected behavior when
 scrolling images)
Message-ID: <handler.69972.B.171127154816790.ack <at> debbugs.gnu.org>
References: <87sf0gm1xn.fsf@HIDDEN>
X-Gnu-PR-Message: ack 69972
X-Gnu-PR-Package: emacs
Reply-To: 69972 <at> debbugs.gnu.org
Date: Sun, 24 Mar 2024 09:13:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 69972 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
69972: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69972
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 24 Mar 2024 09:44:01 +0000
Resent-Message-ID: <handler.69972.B69972.171127342922791 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Joseph Turner <joseph@HIDDEN>
Cc: 69972 <at> debbugs.gnu.org
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.171127342922791
          (code B ref 69972); Sun, 24 Mar 2024 09:44:01 +0000
Received: (at 69972) by debbugs.gnu.org; 24 Mar 2024 09:43:49 +0000
Received: from localhost ([127.0.0.1]:44390 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1roKOL-0005vW-4q
	for submit <at> debbugs.gnu.org; Sun, 24 Mar 2024 05:43:49 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1roKOJ-0005v8-8F
 for 69972 <at> debbugs.gnu.org; Sun, 24 Mar 2024 05:43:47 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1roKNX-0006U8-KZ; Sun, 24 Mar 2024 05:42:59 -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=kaHOQCUJVgzKDtBura48NOs2pwEtxR/c0yzgHPsyfKU=; b=dVxyPPOgq8kL
 1ceB5miqy8CW9UBO3piMowooxRrTUOXPW0t7E2n272GM9T9IBqh6Hchi3UbgNBOxQtlPp9Xa/QcZ5
 AzE4d0p4j871wCilnQPaiithjsyrWoeVAImOUga0oS2Twmm71+8xMTNRH/TboLedNsFFEIMWZ+55E
 4UYugooN9BE3FZPLLss2AzY/9y6C+7tUxN98fl0Cytp2HOpq2YqJGttbQ45A9KnmBX3KBtUa5VVRi
 +qRL3HP3oZoskZnhdtvFKF4IFfnV2XkHNDigU4I0vsYDeq6+iR56AQ4mIT0xAVQ+ioSKYY38TxLkr
 bkr137Rkl/SaRlMjVBsm+Q==;
Date: Sun, 24 Mar 2024 11:42:56 +0200
Message-Id: <86h6gwx8wv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87sf0gm1xn.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
References: <87sf0gm1xn.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 24 Mar 2024 02:07:16 -0700
> From:  Joseph Turner via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> When the image at point is larger than the current window and there is
> no content after the image, interactively scrolling down (with the
> scroll-up command) unexpectedly scrolls past the image to blankness.

I cannot reproduce this, I think.

> Test this by evaluating the following snippet then interactively running
> `scroll-up' repeatedly:
> 
> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>   (erase-buffer)
>   (insert-image (create-image "splash.png" nil nil
>     ;; Scale the image more if it doesn't take up the whole window.
>     :scale 5))
>   (goto-char (point-max))
>   (pop-to-buffer (current-buffer)))

This recipe doesn't include the call to scroll-up, so I'm unsure how
you did that and what you saw.  When I try "M-: (scroll-up) RET" or
"M-x scroll-up RET", I get several scrolls by window-size, and then
"End of buffer" error when I hit the end of the buffer.  If this is
unexpected, please tell why.

> Even more unexpectedly, when point is before the image, running
> `scroll-up' repeatedly eventually scrolls back to the top of the image:
> 
> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>   (erase-buffer)
>   (insert-image (create-image "splash.png" nil nil :scale 5))
>   (goto-char (point-min))
>   (pop-to-buffer (current-buffer)))

I do see this, but why is that a problem?  You supposed to use
scroll-up-command instead, which handles these marginal cases much
better.  scroll-up itself is not smart enough to avoid the perceived
"scroll back to top", which is actually caused by the fact that we
zero out window-vscroll (which is how we handle scrolling past large
images).





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Joseph Turner <joseph@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 25 Mar 2024 01:20:02 +0000
Resent-Message-ID: <handler.69972.B69972.171132958919731 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 69972 <at> debbugs.gnu.org
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.171132958919731
          (code B ref 69972); Mon, 25 Mar 2024 01:20:02 +0000
Received: (at 69972) by debbugs.gnu.org; 25 Mar 2024 01:19:49 +0000
Received: from localhost ([127.0.0.1]:47648 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1roZ08-00058A-MD
	for submit <at> debbugs.gnu.org; Sun, 24 Mar 2024 21:19:49 -0400
Received: from out-182.mta0.migadu.com ([91.218.175.182]:11705)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1roZ06-00057w-PU
 for 69972 <at> debbugs.gnu.org; Sun, 24 Mar 2024 21:19:47 -0400
References: <87sf0gm1xn.fsf@HIDDEN> <86h6gwx8wv.fsf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ushin.org; s=key1;
 t=1711329537;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=Cb0MGakS+Um3KfORzYPAd9i7rUWl5RAmpW7Ucwvjjls=;
 b=FbCcABfu7Wr9EvAY9Pt4JWfpkvjiZyCZ2Doe1R/PpKdBWXlSIbEIzu3fhKIsJnZorEPFM9
 BCnymR4XD+yjJjDjlwDO0ssrVvdjUfON1Br2o5M+R3Udntg5X+N6/TrYrzSQc+FmSjEaKl
 o+rlVRa/3IAb/TexyoOq4K+UcVM4C7kD+ebuH1oxjPzcS46tsxvnlKsIUAhi5ECHdDc04n
 yywfDmYr/g2H6w6usVkZ2QharXpFv4GSM0h3aZc1y6H8EO4BlWhufZnQHN0jNX2bHmSlPE
 XP+MrTjYk+bSUGSMM402ew+v91HSqrgeuL8UTE8Y2Cip+chajtMRTUC6kY1feg==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Joseph Turner <joseph@HIDDEN>
Date: Sun, 24 Mar 2024 18:06:44 -0700
In-reply-to: <86h6gwx8wv.fsf@HIDDEN>
Message-ID: <87jzlrm7lv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Eli Zaretskii <eliz@HIDDEN> writes:

>> Date: Sun, 24 Mar 2024 02:07:16 -0700
>> From:  Joseph Turner via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>>
>> When the image at point is larger than the current window and there is
>> no content after the image, interactively scrolling down (with the
>> scroll-up command) unexpectedly scrolls past the image to blankness.
>
> I cannot reproduce this, I think.
>
>> Test this by evaluating the following snippet then interactively running
>> `scroll-up' repeatedly:
>>
>> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>>   (erase-buffer)
>>   (insert-image (create-image "splash.png" nil nil
>>     ;; Scale the image more if it doesn't take up the whole window.
>>     :scale 5))
>>   (goto-char (point-max))
>>   (pop-to-buffer (current-buffer)))
>
> This recipe doesn't include the call to scroll-up, so I'm unsure how
> you did that and what you saw.  When I try "M-: (scroll-up) RET" or
> "M-x scroll-up RET", I get several scrolls by window-size, and then
> "End of buffer" error when I hit the end of the buffer.  If this is
> unexpected, please tell why.

On my machine, I don't get "End of buffer" error.  I tested three
different ways in the following snippet

(with-current-buffer (get-buffer-create "*test-scroll-image*")
  (erase-buffer)
  (insert-image (create-image "splash.png" nil nil
    ;; Scale the image more if it doesn't take up the whole window.
    :scale 5))
  (goto-char (point-max))
  (pixel-scroll-precision-mode -1)  ; Ensure mouse wheel scroll up and down works
  (pop-to-buffer (current-buffer)))

1. "M-: (scroll-up) RET" (repeatedly)
2. C-v (repeatedly)
3. <wheel-down> (repeatedly)

With all three methods, at first Emacs gradually scrolls the image, but
then when I reach the bottom of the image, the image disappears entirely
as Emacs scrolls past it all at once.

>> Even more unexpectedly, when point is before the image, running
>> `scroll-up' repeatedly eventually scrolls back to the top of the image:
>>
>> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>>   (erase-buffer)
>>   (insert-image (create-image "splash.png" nil nil :scale 5))
>>   (goto-char (point-min))
>>   (pop-to-buffer (current-buffer)))
>
> I do see this, but why is that a problem?  You supposed to use
> scroll-up-command instead, which handles these marginal cases much
> better.  scroll-up itself is not smart enough to avoid the perceived
> "scroll back to top", which is actually caused by the fact that we
> zero out window-vscroll (which is how we handle scrolling past large
> images).

You're right.  This is not a problem in practice.  When point is before
the image, both C-v and <wheel-down> produce the same behavior as above.

Joseph




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Joseph Turner <joseph@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 25 Mar 2024 08:38:02 +0000
Resent-Message-ID: <handler.69972.B69972.171135583013340 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>, 69972 <at> debbugs.gnu.org
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.171135583013340
          (code B ref 69972); Mon, 25 Mar 2024 08:38:02 +0000
Received: (at 69972) by debbugs.gnu.org; 25 Mar 2024 08:37:10 +0000
Received: from localhost ([127.0.0.1]:47881 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rofpN-0003T5-Nr
	for submit <at> debbugs.gnu.org; Mon, 25 Mar 2024 04:37:10 -0400
Received: from out-178.mta1.migadu.com ([95.215.58.178]:19756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1rofpJ-0003Sa-KP
 for 69972 <at> debbugs.gnu.org; Mon, 25 Mar 2024 04:37:08 -0400
References: <87sf0gm1xn.fsf@HIDDEN> <86h6gwx8wv.fsf@HIDDEN>
 <87jzlrm7lv.fsf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ushin.org; s=key1;
 t=1711355747;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=9BXv9q7WePLnZhggOhGplF4tL3m7M/4gbvCSvq5L5Cs=;
 b=UNrvdbX5gN4lJdotIY03PukCndEQJBXrkFLQjM9GaaJb7EMVvQ1Z00LJ0/r7r+6JBtbvaE
 kX2iLVPe4hlcAW+Je3YGRvkIX4UEq3TVvI6pZaYfChdIoMYgU5NadRi6xqw8GTn4KOzvTD
 lGJ507IMmqVvzDoKlLGXtCf6WRnwbEPNaATR4GnGdm8oFE+E87P45lM4KI2HpjUMShvuGO
 1NKT34t4haRU+30VtaIWdEujQi4RkuqoNZAdllBY/3JEaBi7Ky4+NP9U55SLGkUnCPaB+q
 +QdZ88fll2jd+8+BOe6lHQNz3QeNRRaztj3GikFN4Tfo87XRNr7skh9yfT+Ttw==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Joseph Turner <joseph@HIDDEN>
Date: Mon, 25 Mar 2024 01:34:40 -0700
In-reply-to: <87jzlrm7lv.fsf@HIDDEN>
Message-ID: <874jcun1y9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Joseph Turner <joseph@HIDDEN> writes:

> Eli Zaretskii <eliz@HIDDEN> writes:
>
>>> Date: Sun, 24 Mar 2024 02:07:16 -0700
>>> From:  Joseph Turner via "Bug reports for GNU Emacs,
>>>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>>>
>>> When the image at point is larger than the current window and there is
>>> no content after the image, interactively scrolling down (with the
>>> scroll-up command) unexpectedly scrolls past the image to blankness.
>>
>> I cannot reproduce this, I think.
>>
>>> Test this by evaluating the following snippet then interactively running
>>> `scroll-up' repeatedly:
>>>
>>> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>>>   (erase-buffer)
>>>   (insert-image (create-image "splash.png" nil nil
>>>     ;; Scale the image more if it doesn't take up the whole window.
>>>     :scale 5))
>>>   (goto-char (point-max))
>>>   (pop-to-buffer (current-buffer)))
>>
>> This recipe doesn't include the call to scroll-up, so I'm unsure how
>> you did that and what you saw.  When I try "M-: (scroll-up) RET" or
>> "M-x scroll-up RET", I get several scrolls by window-size, and then
>> "End of buffer" error when I hit the end of the buffer.  If this is
>> unexpected, please tell why.
>
> On my machine, I don't get "End of buffer" error.

Correction - I *do* get "End of buffer" error, but only after fully
scrolling past the image (which IMO is unexpected).

> I tested three different ways in the following snippet
>
> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>   (erase-buffer)
>   (insert-image (create-image "splash.png" nil nil
>     ;; Scale the image more if it doesn't take up the whole window.
>     :scale 5))
>   (goto-char (point-max))
>   (pixel-scroll-precision-mode -1)  ; Ensure mouse wheel scroll up and down works
>   (pop-to-buffer (current-buffer)))
>
> 1. "M-: (scroll-up) RET" (repeatedly)
> 2. C-v (repeatedly)
> 3. <wheel-down> (repeatedly)
>
> With all three methods, at first Emacs gradually scrolls the image, but
> then when I reach the bottom of the image, the image disappears entirely
> as Emacs scrolls past it all at once.
>
>>> Even more unexpectedly, when point is before the image, running
>>> `scroll-up' repeatedly eventually scrolls back to the top of the image:
>>>
>>> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>>>   (erase-buffer)
>>>   (insert-image (create-image "splash.png" nil nil :scale 5))
>>>   (goto-char (point-min))
>>>   (pop-to-buffer (current-buffer)))
>>
>> I do see this, but why is that a problem?  You supposed to use
>> scroll-up-command instead, which handles these marginal cases much
>> better.  scroll-up itself is not smart enough to avoid the perceived
>> "scroll back to top", which is actually caused by the fact that we
>> zero out window-vscroll (which is how we handle scrolling past large
>> images).
>
> You're right.  This is not a problem in practice.  When point is before
> the image, both C-v and <wheel-down> produce the same behavior as above.
>
> Joseph





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 25 Mar 2024 16:00:04 +0000
Resent-Message-ID: <handler.69972.B69972.171138235814312 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Joseph Turner <joseph@HIDDEN>
Cc: 69972 <at> debbugs.gnu.org
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.171138235814312
          (code B ref 69972); Mon, 25 Mar 2024 16:00:04 +0000
Received: (at 69972) by debbugs.gnu.org; 25 Mar 2024 15:59:18 +0000
Received: from localhost ([127.0.0.1]:35773 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1romjF-0003if-LH
	for submit <at> debbugs.gnu.org; Mon, 25 Mar 2024 11:59:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41486)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1romjD-0003iB-82
 for 69972 <at> debbugs.gnu.org; Mon, 25 Mar 2024 11:59:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rojMR-000349-W3; Mon, 25 Mar 2024 08:23:32 -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=qyiQDdSntXFGTGogNnd9DWRbP3d+qfvfi5czJuUPifM=; b=WUcPFkf5OdTm
 t//DxlmBPxotiC53AyxSDnMY1khUQ8NNEtW+FvstZOeZVTVX5qtWgMIFkC+I79KwPLH4ZkGEQk2f4
 xuSlXDjUfHYkqPTU1y2qeCcEMfOO71WdqQLFsQxWGj0abTOnhhol91+5fqESPVQnWqcJ89/8LGZcV
 XL6RZ8eWQiF1pTc7RtI4Mzs4hkaWYxDTm22g1U9kUoQWcmu2UgzfNCmuC00+VMhA0Rt4eQTfiIbms
 VVEEvYRkOG1yiYq3PchdcJ3kiFbPLV6SM+zcdQczE10dyG9/TdQoBsuB9bKu3sphKsfv+5rgItREl
 05yTwS6WKw2vFAMuq22KQg==;
Date: Mon, 25 Mar 2024 14:23:28 +0200
Message-Id: <86plvijy9r.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87jzlrm7lv.fsf@HIDDEN> (message from Joseph Turner on Sun, 24
 Mar 2024 18:06:44 -0700)
References: <87sf0gm1xn.fsf@HIDDEN> <86h6gwx8wv.fsf@HIDDEN>
 <87jzlrm7lv.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Joseph Turner <joseph@HIDDEN>
> Cc: 69972 <at> debbugs.gnu.org
> Date: Sun, 24 Mar 2024 18:06:44 -0700
> 
> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>   (erase-buffer)
>   (insert-image (create-image "splash.png" nil nil
>     ;; Scale the image more if it doesn't take up the whole window.
>     :scale 5))
>   (goto-char (point-max))
>   (pixel-scroll-precision-mode -1)  ; Ensure mouse wheel scroll up and down works
>   (pop-to-buffer (current-buffer)))
> 
> 1. "M-: (scroll-up) RET" (repeatedly)
> 2. C-v (repeatedly)
> 3. <wheel-down> (repeatedly)
> 
> With all three methods, at first Emacs gradually scrolls the image, but
> then when I reach the bottom of the image, the image disappears entirely
> as Emacs scrolls past it all at once.

Why is that a problem?  The default Emacs scrolling commands don't
guarantee smooth constant-rate scrolling, they guarantee only that you
get to see all the portions of the image, without missing any.  So
when you get to the end of the image, there's a heuristic that decides
whether we can scroll past the image, and that is what you see.

I see no bug here.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Joseph Turner <joseph@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 27 Mar 2024 21:59:01 +0000
Resent-Message-ID: <handler.69972.B69972.17115767331293 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 69972 <at> debbugs.gnu.org
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.17115767331293
          (code B ref 69972); Wed, 27 Mar 2024 21:59:01 +0000
Received: (at 69972) by debbugs.gnu.org; 27 Mar 2024 21:58:53 +0000
Received: from localhost ([127.0.0.1]:38478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpbIK-0000Kn-HA
	for submit <at> debbugs.gnu.org; Wed, 27 Mar 2024 17:58:52 -0400
Received: from out-179.mta0.migadu.com ([91.218.175.179]:46107)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1rpbIG-0000KL-82
 for 69972 <at> debbugs.gnu.org; Wed, 27 Mar 2024 17:58:51 -0400
References: <87sf0gm1xn.fsf@HIDDEN> <86h6gwx8wv.fsf@HIDDEN>
 <87jzlrm7lv.fsf@HIDDEN> <86plvijy9r.fsf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ushin.org; s=key1;
 t=1711576722;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=a3UZ88RXGUgTbWjRGc43100oc7x17SXK9HzuTwk+zsE=;
 b=SMT9uzATIZPxTJuHAfCfgvX5CTZ4pjPgtDmDqrAuXseUoy3v0iQCgVfPFlDuuXSK0QuzbE
 TNGFkg6XQ+ajikkjBEra4BmxZQlOlxNFtDf+rowyh8A7YOMiSV5UjNhs3ozj2/YOyOEkvW
 I1WCdbplJwe0bQal8okyvfKAJ0xLJ+f3NVk2aqcM8s/5aAljcDpzTxdyaIQDSqp2Jk5v4C
 qhXd/YgObCV+dAGFAu0RPmcaaKtLkP2GlfSN9OOFo3uddzyZ5PmRuUTsK/RCXAlHG1or/W
 Zs211d4qek+4mFzMZpKT2vFQgTszzgoKk9nwIVhptkh/40q1bnEQoWR70xvmzA==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Joseph Turner <joseph@HIDDEN>
Date: Mon, 25 Mar 2024 12:43:39 -0700
In-reply-to: <86plvijy9r.fsf@HIDDEN>
Message-ID: <87h6grl4ky.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Joseph Turner <joseph@HIDDEN>
>> Cc: 69972 <at> debbugs.gnu.org
>> Date: Sun, 24 Mar 2024 18:06:44 -0700
>>
>> 1. "M-: (scroll-up) RET" (repeatedly)
>> 2. C-v (repeatedly)
>> 3. <wheel-down> (repeatedly)
>>
>> With all three methods, at first Emacs gradually scrolls the image, but
>> then when I reach the bottom of the image, the image disappears entirely
>> as Emacs scrolls past it all at once.
>
> Why is that a problem?  The default Emacs scrolling commands don't
> guarantee smooth constant-rate scrolling, they guarantee only that you
> get to see all the portions of the image, without missing any.  So
> when you get to the end of the image, there's a heuristic that decides
> whether we can scroll past the image, and that is what you see.
>
> I see no bug here.

With pixel-scroll-precision-mode enabled and at least one character after
the image, I am able to smoothly scroll around the image.

(with-current-buffer (get-buffer-create "*test-scroll-image*")
  (erase-buffer)
  (insert-image (create-image "splash.png" nil nil :scale 10))
  (insert " ") ;; There must be some text after the image
  (goto-char (point-min))
  (pixel-scroll-precision-mode 1)
  (pop-to-buffer (current-buffer)))

However, if the window is scrolled to the right, then it is impossible
to scroll down:

(with-current-buffer (get-buffer-create "*test-scroll-image*")
  (erase-buffer)
  (insert-image (create-image "splash.png" nil nil :scale 10))
  (insert-char 8203)
  (goto-char (point-min))
  (pixel-scroll-precision-mode 1)
  (pop-to-buffer (current-buffer))
  (set-window-hscroll (get-buffer-window) 1)) ;; Image scrolled to right

In this buffer, if I attempt to scroll down with the mouse wheel, I
immediately get "End of buffer" error and the image does not move.

Thank you!

Joseph




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 28 Mar 2024 06:25:02 +0000
Resent-Message-ID: <handler.69972.B69972.171160707518189 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Joseph Turner <joseph@HIDDEN>, Po Lu <luangruo@HIDDEN>
Cc: 69972 <at> debbugs.gnu.org
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.171160707518189
          (code B ref 69972); Thu, 28 Mar 2024 06:25:02 +0000
Received: (at 69972) by debbugs.gnu.org; 28 Mar 2024 06:24:35 +0000
Received: from localhost ([127.0.0.1]:38849 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpjBh-0004j6-UW
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 02:24:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41600)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rpjBe-0004iU-O5
 for 69972 <at> debbugs.gnu.org; Thu, 28 Mar 2024 02:24:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rpjBX-0001LO-DT; Thu, 28 Mar 2024 02:24:23 -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=hTugioeAWhwbARcWx1uSpZNWHYcSQrlxPqxn1HL0OWA=; b=TkDNfxBs04cu
 LWWeDhRHAji8EpY11fCqMIibc4yFfU4INU0AvKLYQsD7Ivykz73BmyEEdVV1XlOTEpIhV+xUfwGhO
 aYDEDeKSFs3OsQZqS8FUENlhBybMix64dDq3bgDwA0/h2F4W8OqPQGHDm+rpG2n6Sf56Kpl4SLWtn
 uHsFcempuC87p56dA8UwbOLxRx/CeVOhmJtR4V5Grc8STDIVMqc7504lqum4PyMSGC9sO0njz8xu8
 TioV/CyA5qcVKF3rjVb5RNvfiTJdVagFmpderDlAcg79qgMoloeiODEWo01ndu6vXeb+XqqIuRrw2
 xMYlHdqUuFND9iwomQblBA==;
Date: Thu, 28 Mar 2024 08:24:20 +0200
Message-Id: <86sf0aho17.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87h6grl4ky.fsf@HIDDEN> (message from Joseph Turner on Mon, 25
 Mar 2024 12:43:39 -0700)
References: <87sf0gm1xn.fsf@HIDDEN> <86h6gwx8wv.fsf@HIDDEN>
 <87jzlrm7lv.fsf@HIDDEN> <86plvijy9r.fsf@HIDDEN> <87h6grl4ky.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Joseph Turner <joseph@HIDDEN>
> Cc: 69972 <at> debbugs.gnu.org
> Date: Mon, 25 Mar 2024 12:43:39 -0700
> 
> >> With all three methods, at first Emacs gradually scrolls the image, but
> >> then when I reach the bottom of the image, the image disappears entirely
> >> as Emacs scrolls past it all at once.
> >
> > Why is that a problem?  The default Emacs scrolling commands don't
> > guarantee smooth constant-rate scrolling, they guarantee only that you
> > get to see all the portions of the image, without missing any.  So
> > when you get to the end of the image, there's a heuristic that decides
> > whether we can scroll past the image, and that is what you see.
> >
> > I see no bug here.
> 
> With pixel-scroll-precision-mode enabled and at least one character after
> the image, I am able to smoothly scroll around the image.

pixel-scroll-precision-mode indeed attempts to make the scrolling much
more smooth than the default scrolling in these cases.

> However, if the window is scrolled to the right, then it is impossible
> to scroll down:
> 
> (with-current-buffer (get-buffer-create "*test-scroll-image*")
>   (erase-buffer)
>   (insert-image (create-image "splash.png" nil nil :scale 10))
>   (insert-char 8203)
>   (goto-char (point-min))
>   (pixel-scroll-precision-mode 1)
>   (pop-to-buffer (current-buffer))
>   (set-window-hscroll (get-buffer-window) 1)) ;; Image scrolled to right
> 
> In this buffer, if I attempt to scroll down with the mouse wheel, I
> immediately get "End of buffer" error and the image does not move.

Then maybe Po Lu (CC'ed) could look into this and see if
pixel-scroll-precision-mode could do better in this case.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 28 Mar 2024 11:13:01 +0000
Resent-Message-ID: <handler.69972.B69972.171162437811461 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Joseph Turner <joseph@HIDDEN>, 69972 <at> debbugs.gnu.org
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.171162437811461
          (code B ref 69972); Thu, 28 Mar 2024 11:13:01 +0000
Received: (at 69972) by debbugs.gnu.org; 28 Mar 2024 11:12:58 +0000
Received: from localhost ([127.0.0.1]:39195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpngl-0002yf-Du
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 07:12:58 -0400
Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:40462)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1rpngg-0002xj-JH
 for 69972 <at> debbugs.gnu.org; Thu, 28 Mar 2024 07:12:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1711624364; bh=jI1ofhgOeORXtnjdjZU1iEoByPe81zdTCM113U7RJg8=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=QsTBgpZIrI6x7RQKRcRvm4I1aH1EwbCQgn2Vxwd9XHLJ4GyTPyrCosIi14sz9Uc2nh2nhw6o/v6Kz1AGXxRKSNPv4RtL/wyaxpMIXcSiXs0faMBBwt6nP62AYxEP8EO11p60W7Kr122lzplWQrAzZbTG85IUaZyQ7Hyhi7Mqwjpyi+bZ6qxyavIm7RZnm8r/42b6hG63EdK+UEP4vCN2k4quQEAzngBjLbg/KJqpBHL9lMe/gieFh2cHGTdLEk5mOKvoLULxV/uEVb6Zm/YzUFOsIPNEdKXIw5f+rCvCsiIzt0pBsM8EK6RL1wAafqRbGK7VlmOQ5Nu6qALGfo9oJg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1711624364; bh=urAonORqJ0ee0U1kREBrOwoAYwpJ13KdeVBswgP7sJc=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=NB9m4UZlEZIwa14IXda9UZKDRxteQOhfhj+GCNF1F2KT6DcKffMD7BwJQ5O9FIv1KSwr/ZDPS+CONI+qmYVQkGB8P50rjWEYnPjXa8qbTPfzNI07UQkFQ1fV19jKZLPHd9Lbn40+5ssEamV95q2kZgLNOIuhQxsuGujtwcvKt2CPDoU850DpCnL4gVB/q4NJr+QJ35MemNl/W+q8RBUYLtoieiT8mHqBmhGUH9Xw9KSkvR2yyKIJ0TqzTRjpG6jNh2uQg40/43Bno9kYeP+R1UiOm0+LruBdhzb59K8+WVUTJQkVjAj+rgyDX+ew2LAFTs8rMdaAIr4F4kEieCtw1g==
X-YMail-OSG: E_Crg.0VM1nYMqG6VDoLi2PAX6RsLhQxxaDdbXXdW9Q37jXTCq4yLg7vM2c0ax9
 d0rRIFoID6QzhJahbUMidGeVlsywj01W8ellX1VvzwAFGi4ca3TwCImyIPVJ0YgfjJC2lOoXGbxe
 UydrxZtgdJIgHl15FIWvpK2GNRt.tT2YdJX4MulOJlhXkZbDgJu5Z4TYvTafgF3uFUJa1Sws8nad
 DCzDc9tcegrMN2klcMi1ZAk9G39V1xo.G646i.93tnzjGr683t.y40is1JSXbo9vIVAulprgSt_L
 83jhvWu_jqjPDrSVwo74HaHiYjFH1oZWO11u7__6_IUlWcTyNHq41U3WqTE1jBfTXpUx0iy1p_NR
 vDsvV1eA3kk6ZwKvzHb1H6Ubof3g0LA8.QkmzFIzEGv8i8JOtkau8WdTNckEP15uwgOqXhd4LSMS
 OsbgKYCCoXklAzzbciOoXr8Lp9OKvYzPXEqAaqkNt.d5Rp5UeKgEIQA6GXZmtNHX2TaVJaHdvExW
 FlDmH4MLWbYtlL_PhJR8vbbU6gpkBQ47iMwc9HH4nJcF8rDXfPmTQP1403nBZHf6_doKCVvl5Qj.
 BMK_OQa.K3sUvHSZpFShSJxt3G4Tac0lIHNNp1g9gB6cbCxaxbkq9TbldJlkEe5XMdOJZwEaVh2X
 hHsfVR.urcNUFX5zGjePTJ4k6m1_GPu1KEnmK77rzZbfm81QEvwHAPhZUEgybypRbsibkhWbfuad
 EiWzl.TvgCCAMh6zsEqALIrHN85.3DfheiRifOJKg9OhJUwwJdE_48FNc88oOAh2lHa6wK2R.2an
 l5JPavllw90TAfkdZhHTRkWZlq5JRSzu3uOhp4OiMxL5KKYHhIgMHbgbjFAdg5C0D4CXKEkIZfdg
 Fivlb2MsECMuxSgEkEKbfbPZWC_nmE5rbBcDN.xeNExVyWB8F9TP0g5So8kEf3hmKMxRhhRKrJ9d
 PqPbTRkIKMxqGCD55NKh2LJL_KCfuwCEiEXE3XXkpo1VaSCka.pCy2PG4ydwTwQSpKmf136KZOnN
 YDpH1TDvT_O8eLYV_SfU1HcB3A.lO5g8lfeJp17SSl7C5fT_y8zrABRNN5bzgTbAqrnrsA.ltmrw
 n7vLnVMZHVLtX7Js.utgVFADKm8W_M88O7wX6hvC7h4iKlMbZhvPvdE_mnElNiz6wPaFmz9OPQfi
 5wjoz0TZkRly76SuveGPPoxo0K6tOHKnR5P1HDeYTaVTNQVriVaw.hi1pcwBkYr_ajKklaG.ILFI
 lmELjGhQEqkA3J_O3KAQpnwYR7tlyHCJvXNw8iJvkCbOtdFHQquKRAn7CzC7H5vuD7qbJ4NYbyum
 vs0S0OjNX.62TlOUBq50ZjSv2Dda7_nebjZb0gs9ZYoGbE2_p4vtcCaV7N9F4ut4_L03ydol7Ljj
 oGH6SPT6qkveKPYTzyN6tfjuSY5h52tgDrl47sl6s5MN9sYmtXAKvY9PHLCAvo33fpgw1l_u97lx
 3729TILmzDdoM5oXpXSC61uKEOByPt9oKhGyGNeX4dSfzF6Ybad5Z4jTELE3TCz6p.WvMBcdK1SH
 qfCEHP86t_k_EmezUNTKAd9JVC.8i0T40hwtvc69GeJOYnLmfVyHWW2nTek.jE0L.aQe4U1P.99G
 tX8bcgGdah6LqTlBhBon8v1evuGSMjdn2s38vkaTHOEzPMg_VkUCLHCnQ418Mgz.WBWIUcZOnpCN
 yQsEigGFxBYSl1r7sSQEY0yMRlTVm1FVJd0CjEDIOt_WDwVDDeOCQhq.XeuQUbNTTXwC3r0d28eb
 c9OlXKsttEYZCS259sj6Q.bI7R3eXddSAfWSSKCZm_.gRwdLwHl_SqDvpOcEt4pG0NYWewgyhh.B
 muYcWsZuRq3ub1crHyt7qJqOB2ph3hMpPTA2basMBE1coTBW0p5w9Z3UEj67aQNxoaP6ZpNR4AO2
 R8QvU.ZwMTPZqqJQ7F9s5GE7vX7rmGE.sxofnTYna4VoyxjwDyGIvuj2rcZMVaX35m1UrVnkdtBw
 txeRGEjx5IRaYMtGU9Ia.BjEPyl0er9dPUN69UNOMaGSVBVg89s6dBx8cw3Gb1xqCnJBe2ZUPMP5
 VXXI3qRYcWKbti.ndjF_ucdDesAa2f70kie56Fj5DUAdIe7ZQIAENc89tsTgp9IlSyEQX_alt8bf
 EaaoMG8ktlq9hstmaAVtA.05YB_3EqD1cZ7.ginYxatkWkCYwUk7s.lM37wZfEWKYQCL5bCvpK4t
 y8WNvsKKI9n_gn7mKI.8R8R.QD8cHXaO7yTYc78AQWIMax7Vpr4lhfPK8ctrqjQc-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 7f93c43c-07c9-4e61-b8cb-474b67552273
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic309.consmr.mail.ne1.yahoo.com with HTTP; Thu, 28 Mar 2024 11:12:44 +0000
Received: by hermes--production-sg3-6dc75bc8fb-7l9bh (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 11703dbf1e87fab85b73b211a134a985; 
 Thu, 28 Mar 2024 11:12:37 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <86sf0aho17.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 28 Mar
 2024 08:24:20 +0200")
References: <87sf0gm1xn.fsf@HIDDEN> <86h6gwx8wv.fsf@HIDDEN>
 <87jzlrm7lv.fsf@HIDDEN> <86plvijy9r.fsf@HIDDEN>
 <87h6grl4ky.fsf@HIDDEN> <86sf0aho17.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Thu, 28 Mar 2024 19:12:09 +0800
Message-ID: <87o7ay4nli.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.22205
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 337
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Then maybe Po Lu (CC'ed) could look into this and see if
> pixel-scroll-precision-mode could do better in this case.

Thanks.  I think a solution to the OP's problem was proposed in a
previous bug report and we're still awaiting feedback, though at the
moment I don't have its bug number at hand.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#69972: 29.1; Unexpected behavior when scrolling images
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Mar 2025 03:06:02 +0000
Resent-Message-ID: <handler.69972.B69972.174079832713121 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 69972
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Joseph Turner <joseph@HIDDEN>, 69972 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 69972-submit <at> debbugs.gnu.org id=B69972.174079832713121
          (code B ref 69972); Sat, 01 Mar 2025 03:06:02 +0000
Received: (at 69972) by debbugs.gnu.org; 1 Mar 2025 03:05:27 +0000
Received: from localhost ([127.0.0.1]:56873 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toDAM-0003PZ-Kn
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 22:05:26 -0500
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:50575)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1toDAK-0003Or-H6
 for 69972 <at> debbugs.gnu.org; Fri, 28 Feb 2025 22:05:25 -0500
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-5e04861e7a6so4616709a12.1
 for <69972 <at> debbugs.gnu.org>; Fri, 28 Feb 2025 19:05:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740798318; x=1741403118; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=m+YzRJOZ8yAUPJFhPQO1vUhnurKqJ7bJJsOZLOvGKD4=;
 b=WAaDGyw+0+5ZwR2KGKn31pEa6fmt9lwW71CGJV0cGKCEwaqKp3eStc3TI3WIZ/vVBl
 NBqU9Udb5DvQQo87PvthsmLXsob1ceF4NQ3/OyUL9mlgeb8gjBeoIUdbA9HedWxNyp19
 sxJyHqznLI1h7lkNJ6/oneCcqKC8Znwupk+COs7dxHCXXkInBLQMT76xb4H7UYAeEbmM
 sDMa1Wz6YERo0oBacWg9dwct3mM/FavKu0+xPfhvEu46usQnBeNx1OsBGPeNkr4jGRQF
 B7iF8PvHWANzA0cQC2zNaju092ZPAj4uevMNg0kqZdgod16GymtaTdCCVsStfOKUhJkl
 FsOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740798318; x=1741403118;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=m+YzRJOZ8yAUPJFhPQO1vUhnurKqJ7bJJsOZLOvGKD4=;
 b=f87zoiaF/d9ls81DK3bC7YXOPc/H8dI6usTe/vDXl6KYoC+BYGLqrqB7f1fQmXQty9
 6w//nw34tbr7g9U1Xyk3aXXF51mizj3od41l/h5iuQuckaYA+Mp+2SWNZJxORkGdTHSj
 x66k7DZ5wrMQETgVG/dHlx+TsF7qvrg3w51ch1uP8xAfP6i4lawYEYlBgYUW6UbCPDJs
 AzfJci37zd6tCM2sOMtN465z3OLdsC5GvZdBXtpsPlp3azdjMnpO8S6OKGcH3WsLR9l9
 bhueZ7H0JHRmHzYnLiyZ50mnzb3WmiOgc7SC51icQ6ANRV8G8RS103EqaumSrk7ydr4s
 7BnA==
X-Forwarded-Encrypted: i=1;
 AJvYcCVOaX2wha2oJgi5GcesPIBZTIQio4B0HOklgK2AKrO6wPXZLi/vmbNQXh3J729gZD75K7JPrg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyXLuBze8y37AIwRXjyYWXMnuPk5s3M4bOPkalv+kJsv4SMpnAN
 DwDfrKQIda6OHFb5AAwIA7pFLTJ77o3lMWvmr3tcujNhwgEfsrOtnF4ycsf7bovJ7Qpz0I6b+qQ
 C/5yypj3nomT16Fg3ncfdoKO05dg=
X-Gm-Gg: ASbGnctBOKWodWZ4t9q1hqlSDLbYM6iigw3bP3e7bIJ3XbQB23H9N/KJtwQts/mePtS
 PqAV8RowhF7d6FQhhWkvrAm3lpFnkjmj6+wvsc3SltJ9u8W9zLaEVaFd2biMFUBN7L66irc7KV7
 PoPy8zi63uWP/Ydn/LSbHzTJWjEVc=
X-Google-Smtp-Source: AGHT+IEIdAEIHQE02DeiO9+AaYk6RET/YlY67ICYW/A2H1lx1oWRCoMg/h+H8TTNwvXnGut3n5PfosYWmLC7oONan64=
X-Received: by 2002:a05:6402:27d1:b0:5e0:82a0:50d9 with SMTP id
 4fb4d7f45d1cf-5e4d6b62693mr4273022a12.25.1740798318284; Fri, 28 Feb 2025
 19:05:18 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 28 Feb 2025 19:05:17 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87o7ay4nli.fsf@HIDDEN>
References: <87sf0gm1xn.fsf@HIDDEN> <86h6gwx8wv.fsf@HIDDEN>
 <87jzlrm7lv.fsf@HIDDEN> <86plvijy9r.fsf@HIDDEN> <87h6grl4ky.fsf@HIDDEN>
 <86sf0aho17.fsf@HIDDEN> <87o7ay4nli.fsf@HIDDEN>
MIME-Version: 1.0
Date: Fri, 28 Feb 2025 19:05:17 -0800
X-Gm-Features: AQ5f1JqW6p2j0K9OB7UyJSk8g3B7kMk8b2aMYXBsUfjhOrVkty4AlAhwBG_97Iw
Message-ID: <CADwFkmm8pQR38ahQfJcbBTtKXM9ZKJq8J+1ovQDgQ9J8tksGMw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Po Lu <luangruo@HIDDEN> writes:

> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> Then maybe Po Lu (CC'ed) could look into this and see if
>> pixel-scroll-precision-mode could do better in this case.
>
> Thanks.  I think a solution to the OP's problem was proposed in a
> previous bug report and we're still awaiting feedback, though at the
> moment I don't have its bug number at hand.

Was that patch ever installed?




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 1 Mar 2025 03:05:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 22:05:37 2025
Received: from localhost ([127.0.0.1]:56878 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toDAW-0003Qp-5v
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 22:05:36 -0500
Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:45096)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1toDAO-0003PM-Nf
 for control <at> debbugs.gnu.org; Fri, 28 Feb 2025 22:05:29 -0500
Received: by mail-ed1-x52b.google.com with SMTP id
 4fb4d7f45d1cf-5e04cb346eeso4707134a12.2
 for <control <at> debbugs.gnu.org>; Fri, 28 Feb 2025 19:05:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740798322; x=1741403122; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=FgL+BO9wQrwTmNTwyFWVVDw7tskFRQn4ov7egpGosMk=;
 b=Ssbi7LZQiQhnNNe4XlQqSGEwYNTY0pKLqQ67CSYgwxVvZhe4tSNDl/ZJ5ZTSPUcJQG
 /E40FbiGiVCV41tyJ1xu0PKuQ32OZatZu4Sxdtx6bpOL4i/3B6GF5XQHjmld4zoCEe1I
 D0hSD8ijNf20jaBXLYAX5i8mGgstwB6wKf7qCHQGzVj6b5wp/UKvHWwATZPgMcKr6ffm
 Sbn7Poju1PEmkO4Bmc3L1xIEQv5EIaEmHTf7QpO5S/s76EqtvJ0dLXcKPC4dzvcpp6iC
 zS1buvmzFNje/Fe0do+j/y1MHeqiltM+PrT2CJjiZ0WO93Hg5mgrMTR4+PvHhIwvIbxz
 ksZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740798322; x=1741403122;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=FgL+BO9wQrwTmNTwyFWVVDw7tskFRQn4ov7egpGosMk=;
 b=aLAIzx7oVZTpzr9g0d/8ra+V/E7sTRcVVdMxJ3ILxIdhIv6jEdzoMcGG9Nz32Xi/80
 gXd9lbkpZFNAThogoqhXoJyYU08RhHLq6R+ulpCN3OcSmy2oX3uXUF3iu2ZW93+SD4vx
 UUC7+834BTtDodpY5cuHSDp742sFfzDBraqowE1eISmpcaTmbG2WGDksQ/xLOa2OQYAY
 E7vlHecbOVEMNOCa3bb921wL30aJxwK/nGe22zev/17uKvZCu4qG1rykkU92FjZNzFRe
 nkWbAtxmVUCEQ9Flo4dN/U9tPG8QxsCkSXRXoF6jY0Z0+9nt1v6q+aJB+ES4TKsSo7Rx
 5H0w==
X-Gm-Message-State: AOJu0Yyxb6aT09uKtqefrH2dRQSCucvxB4n+/HxbDFAiHVG/z2sBWd4N
 fDtnc7Mcr0z8+mYMUtGTIUlDNduQjSvGuCHeHpupg3inFzTzcyW+JLQrTEBYiaRDQ4L/8d3Z9U7
 CmmTokIaNJ77am8/WfiH2bUcMp0sbBX3Lw34=
X-Gm-Gg: ASbGncsgipqqKTw19NMGbrtuVkga9BjQdj15vuP2uthrC7izwdcyDLiz9Cbk+xsQJdn
 GgwaH/czkUVm9Ci+oAE0Eyq9nkXwvoa5Cd7NkJf1xoKGkU9Zc/Ng/7VrYQzh0qUclcMDqa0TCei
 IKAYqWI1XxMy3kw0jO0hw2xx3XHqc=
X-Google-Smtp-Source: AGHT+IEfIgo7geDs3UvUdbNx8iQJo8OlMIAIo0/EkpUl8cW2xnBlPNjd5W/8hC6R/R7qteBgsAKXCD4KGhNxsgrXoXQ=
X-Received: by 2002:a05:6402:3511:b0:5d0:ed71:3ce4 with SMTP id
 4fb4d7f45d1cf-5e4d6ac9a00mr5528919a12.6.1740798322523; Fri, 28 Feb 2025
 19:05:22 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 28 Feb 2025 19:05:22 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Fri, 28 Feb 2025 19:05:22 -0800
X-Gm-Features: AQ5f1JpxIo_1L1wt7focyByHzdZbbNLJt4vfjWq99wRFDiEmesDA5Sq-swAImuA
Message-ID: <CADwFkmnhhxhAUzTWCCO5W=S1+e9P4MVkBYeoc94nNuSYvv8RkA@HIDDEN>
Subject: control message for bug #69972
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 69972 + moreinfo
quit





Last modified: Sat, 1 Mar 2025 03:15:02 UTC

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