GNU bug report logs - #69534
Scrolling up causes all text to shift drastically when cursor hits bottom of viewable area.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Arkdae <arkdae@HIDDEN>; dated Mon, 4 Mar 2024 04:27:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 69534) by debbugs.gnu.org; 4 Mar 2024 12:16:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 04 07:16:16 2024
Received: from localhost ([127.0.0.1]:42278 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rh7Eu-0006X0-FM
	for submit <at> debbugs.gnu.org; Mon, 04 Mar 2024 07:16:16 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50576)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rh7Es-0006WU-Fx
 for 69534 <at> debbugs.gnu.org; Mon, 04 Mar 2024 07:16:15 -0500
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 1rh7ED-0005M4-Qb; Mon, 04 Mar 2024 07:15:37 -0500
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=rybftc1Ux0O9eh6AyKyhbPgonbwWCx1btS6T8DPpNc0=; b=MmMGz7SBEHl7
 oFnGL2+fJoOAXyQnNmf67qyounZdJsujvPVbRXLz4wHKuhJL06l/senBlODr27qOktluFRtuXUnlE
 I/OC1S5UaCWaQjIFbqV/qRGROCgBAuhfpdo4EuMAkmgO7sgvtTgOIE/vYrq4mDMB8mjaLynHNDe7C
 zV7VXcvugcFrHhBAz1qJ93LEvpbbkww6A6ufUTBqUSsrw8lN44dqbCiJlmbxaQvN4AT0oJqrE+Zgt
 aZspQ/RkCBpJcaeT6n70IuaghYVcE/OwFYLYthgOWw4MvF5iJhw9gBTiYJRebaQ27WQgDgLAVUktT
 4fRL5Jy20pAOzgDFXofr8g==;
Date: Mon, 04 Mar 2024 14:15:09 +0200
Message-Id: <86v862mbw2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Arkdae <arkdae@HIDDEN>
In-Reply-To: <01d3bec7806ad2408dd516faa6386451e2eee078.camel@HIDDEN>
 (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#69534: Scrolling up causes all text to shift drastically when
 cursor hits bottom of viewable area.
References: <01d3bec7806ad2408dd516faa6386451e2eee078.camel@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69534
Cc: 69534 <at> debbugs.gnu.org
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, 03 Mar 2024 15:56:36 +0000
> From:  Arkdae via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> Start 'emacs -Q'. Open a long document which is longer than can fit in
> the window all at once. C-x 2 to split into two windows. Drag with the
> mouse on the information bar with button one to shrink the bottom
> window a bit. Then grab the scroll bar in the top window and drag up.
> 
> The cursor reaches the bottom. Then I slowly scroll one more pixel up
> and all of the text contents are repositioned with the cursor at the
> middle. The next pixel scrolled up keeps the cursor in the middle and
> corrects the text to where it should have been.

I cannot reproduce this, but then I don't think I understand what you
mean by "scroll one more pixel up".  AFAIK, scrolling text in Emacs
works by lines, not by pixels.  Maybe a GTK3 build allows pixelwise
scrolling via the scroll-bar?  If so, this could be specific to GTK3
builds or something.

Are you sure you don't have some local changes wrt stock Emacs 29.2,
or maybe activated some non-default feature that affects scrolling?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69534; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 4 Mar 2024 04:26:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 03 23:26:49 2024
Received: from localhost ([127.0.0.1]:41530 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rgzuY-0005Mt-OS
	for submit <at> debbugs.gnu.org; Sun, 03 Mar 2024 23:26:49 -0500
Received: from lists.gnu.org ([209.51.188.17]:55758)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arkdae@HIDDEN>) id 1rgoDP-0004cG-S9
 for submit <at> debbugs.gnu.org; Sun, 03 Mar 2024 10:57:29 -0500
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 <arkdae@HIDDEN>)
 id 1rgoCw-0004wR-EC
 for bug-gnu-emacs@HIDDEN; Sun, 03 Mar 2024 10:56:58 -0500
Received: from mail-4022.proton.ch ([185.70.40.22])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <arkdae@HIDDEN>)
 id 1rgoCs-0004Pj-Dv
 for bug-gnu-emacs@HIDDEN; Sun, 03 Mar 2024 10:56:58 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnx.graphics;
 s=protonmail; t=1709481407; x=1709740607;
 bh=14cBTIgZt3NoLKMXCzQacd3lEJx9FaFMVrPhyrlZv8M=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=cx0LLoLHNgzfDwWIPNdK1pmjH3lypAQvugnEUNyCZMR3s5vVZWkE1/ZP5OsgnMmqM
 U9Vg8hIPYyrNMOs2hXrPbbget9EiN/172s3BrY2f61iwzVIxXtOXaJEF7fwDESqGtV
 nNy1Sc8ONJ6KIe7kEx41E20h4WRVCECLz6abOrBnbEGyc779OKQAfoAm97YUx0c94I
 M3x+rTO0j9zhvjlWB5gpySSiLkiAdRAraUTqJ3riyUL4AwKi6/xFKcyrMFVt4oAZXr
 EYlHH11ZCTBbCC9pRyWVywzGpbGeFoCcFsyKLnwG2LkDWypI1fcdm1OHAGvM1MBz/M
 9+t1G9KX1F5+w==
Date: Sun, 03 Mar 2024 15:56:36 +0000
To: bug-gnu-emacs@HIDDEN
From: Arkdae <arkdae@HIDDEN>
Subject: Scrolling up causes all text to shift drastically when cursor hits
 bottom of viewable area.
Message-ID: <01d3bec7806ad2408dd516faa6386451e2eee078.camel@HIDDEN>
Feedback-ID: 86055615:user:proton
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg=pgp-sha256;
 boundary="------4cf1f92094cdcace6bce713c2fa197d724dee2194e47429777929b2cdabbfa85";
 charset=utf-8
Received-SPF: pass client-ip=185.70.40.22; envelope-from=arkdae@HIDDEN;
 helo=mail-4022.proton.ch
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,
 RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 03 Mar 2024 23:26:45 -0500
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.3 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------4cf1f92094cdcace6bce713c2fa197d724dee2194e47429777929b2cdabbfa85
Content-Type: multipart/mixed;
 boundary=7533a17835ef5fcd31cc708ab1e37218fcd3341c7cff22bf5eb64014be00
Message-ID: <01d3bec7806ad2408dd516faa6386451e2eee078.camel@HIDDEN>
Subject: Scrolling up causes all text to shift drastically when cursor hits
 bottom of viewable area.
From: Arkdae <arkdae@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Date: Sun, 03 Mar 2024 10:56:15 -0500
References: 	 <u_MrNV11477bVCAV7JuobA8BZen4bYy7gsftIoUlpnSkSXhO9o4ldiQflLPxk4nb-uQwgh2Iqk5cQNVyqyRZUg==@protonmail.internalid>
User-Agent: Evolution 3.50.4 
MIME-Version: 1.0

--7533a17835ef5fcd31cc708ab1e37218fcd3341c7cff22bf5eb64014be00
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Start 'emacs -Q'. Open a long document which is longer than can fit in
the window all at once. C-x 2 to split into two windows. Drag with the
mouse on the information bar with button one to shrink the bottom
window a bit. Then grab the scroll bar in the top window and drag up.

The cursor reaches the bottom. Then I slowly scroll one more pixel up
and all of the text contents are repositioned with the cursor at the
middle. The next pixel scrolled up keeps the cursor in the middle and
corrects the text to where it should have been.

Scrolling at normal speed causes flickering due to this, and when I am
trying to follow my place to see where I need to get to, it is hard due
to this shifting every half-page. Scrolling down does not shift the
text in this way, and the cursor correctly moves to stay within the
viewable area.

In GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.40,
cairo version 1.18.0)
Windowing system distributor 'The X.Org Foundation', version
11.0.12101011
System Description: Arch Linux

Configured using:
 'configure --sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib
 --with-tree-sitter --localstatedir=3D/var --with-cairo
 --disable-build-details --with-harfbuzz --with-libsystemd
 --with-modules --with-x-toolkit=3Dgtk3 'CFLAGS=3D-march=3Dx86-64
 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D2
 -Wformat -Werror=3Dformat-security -fstack-clash-protection
 -fcf-protection -g
 -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Dauto'
 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -
flto=3Dauto''

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

Important settings:
  value of $LANG: en_US
  locale-coding-system: iso-latin-1-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message yank-media dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils time-date network-stream puny nsm files-x cl-extra help-mode
ace-window avy slime-fancy slime-indentation slime-cl-indent cl-indent
slime-trace-dialog slime-fontifying-fu slime-package-fu slime-
references
slime-compiler-notes-tree advice slime-scratch slime-presentations
bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context
slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl slime-parse slime
easy-mmode apropos compile text-property-search etags fileloop
generator
xref project arc-mode archive-mode noutline outline icons pp comint
ansi-osc ansi-color ring hyperspec thingatpt ace-window-autoloads
avy-autoloads package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-
eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock
syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-
generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
emacs)

Memory information:
((conses 16 122838 9467)
 (symbols 48 13323 2)
 (strings 32 45474 2514)
 (string-bytes 1 1178662)
 (vectors 16 23421)
 (vector-slots 8 302725 11017)
 (floats 8 55 59)
 (intervals 56 977 0)
 (buffers 984 21))


--7533a17835ef5fcd31cc708ab1e37218fcd3341c7cff22bf5eb64014be00
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="publickey - arkdae@HIDDEN -
 0x8DAEFDB5.asc"; name="publickey - arkdae@HIDDEN - 0x8DAEFDB5.asc"
Content-Type: application/pgp-keys; filename="publickey -
 arkdae@HIDDEN - 0x8DAEFDB5.asc"; name="publickey -
 arkdae@HIDDEN - 0x8DAEFDB5.asc"

LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu
Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWlB1RlRCWUpLd1lCQkFIYVJ3
OEJBUWRBclNkemJ4Ni92VDhvQ3hwMWhBV3lvSUVsa2JvbTh5UTUyZUU5CjhFT2RmYnpOS1dGeWEy
UmhaVUJzYm5ndVozSmhjR2hwWTNNZ1BHRnlhMlJoWlVCc2JuZ3VaM0poY0docFkzTSsKd293RUVC
WUtBRDRGZ21UN2hVd0VDd2tIQ0FtUUUzS0lwMXVLQ0ZNREZRZ0tCQllBQWdFQ0dRRUNtd01DSGdF
VwpJUVNOcnYyMU8yUVBJb2dhWHl3VGNvaW5XNG9JVXdBQXVrOEEvMllJTkF4Nnlhc1JDWGlOVGMy
MVZ0RmVmL3QxCjdudVhQS1JFK2NOUWU2VVRBUDBVeU04emdxaHpDNGw2blRFMlRWUFFJdjROSW9D
SlMrbklvb3hQTHlQTENNNDQKQkdUN2hVd1NDaXNHQVFRQmwxVUJCUUVCQjBCREVBclRFN0hRMWNY
NFRLa0VTUGtvMmVIY0dNMFpIcHBpalhEZgpmbEJ0UmdNQkNBZkNlQVFZRmdnQUtnV0NaUHVGVEFt
UUUzS0lwMXVLQ0ZNQ213d1dJUVNOcnYyMU8yUVBJb2dhClh5d1Rjb2luVzRvSVV3QUFWQU1BLzBN
bVhob2JSSDdUNU1RWFZYaFFoUm5tTEoyNDdzUS9rckVuRXZTVGJHRFAKQVA0c3hrSzg3dU1hWDBJ
bWNudC9VYytnSzcxY1pQWDAyZW5YRlpEWjlyV2hEZz09Cj1JU2wyCi0tLS0tRU5EIFBHUCBQVUJM
SUMgS0VZIEJMT0NLLS0tLS0=
--7533a17835ef5fcd31cc708ab1e37218fcd3341c7cff22bf5eb64014be00--

--------4cf1f92094cdcace6bce713c2fa197d724dee2194e47429777929b2cdabbfa85
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wnUEARYIACcFAmXknbQJEBNyiKdbighTFiEEja79tTtkDyKIGl8sE3KIp1uK
CFMAALxxAQDfRNl6HDVfI3casZKTQk9hZ5lvMfKrZA02OYU9HPD72wD+JG/M
h8LfUdYpMs02JYBj3hq/UWBr/Jnlt94E6F/j8QM=
=6Jc5
-----END PGP SIGNATURE-----


--------4cf1f92094cdcace6bce713c2fa197d724dee2194e47429777929b2cdabbfa85--





Acknowledgement sent to Arkdae <arkdae@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#69534; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 4 Mar 2024 12:30:02 UTC

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