From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Patrick Poitras Newsgroups: gmane.emacs.bugs Subject: bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region Date: Sat, 27 May 2023 22:16:31 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000062ad6805fcba13e9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27126"; mail-complaints-to="usenet@ciao.gmane.io" To: 63764@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 28 08:52:18 2023 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 1q3AGI-0006ra-4r for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 May 2023 08:52:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3AG5-0005oE-UR; Sun, 28 May 2023 02:52:05 -0400 Original-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 ) id 1q3AG2-0005mE-Ui for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 02:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3AG2-0000ZM-MZ for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 02:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3AG2-0002wF-Is for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 02:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Patrick Poitras Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 May 2023 06:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63764 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168525671211276 (code B ref -1); Sun, 28 May 2023 06:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 May 2023 06:51:52 +0000 Original-Received: from localhost ([127.0.0.1]:53053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3AFr-0002vi-FY for submit@debbugs.gnu.org; Sun, 28 May 2023 02:51:52 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q38lz-00009y-Tz for submit@debbugs.gnu.org; Sun, 28 May 2023 01:17:05 -0400 Original-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 ) id 1q38ls-0006nt-M4 for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 01:16:50 -0400 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q38lq-0000oc-GH for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 01:16:48 -0400 Original-Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-96f5d651170so643458366b.1 for ; Sat, 27 May 2023 22:16:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685251003; x=1687843003; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=d5/YwBtqs1WVSf3hm1MswPv1/Qrfah97e3AqvyLzSjY=; b=bPHloFiaeOqNRrWFHUdnJgusI1T+i1w9KWaSlwYny5Cyk+VTJxdA37WjbbLtu6TMk7 k4rYF+or6iv4SRSjNvmaHaBTHBoSkvxWssI9TzoWbIetjsXxE/+2SHV6Naq+I1fJe6Ow PPDiWdsitwpDjRgrbaItDiXvRLcYe+jAa4HTXGkocUYTEUoiFJjK1bjo7s5P9r+jjNHP 6R8oqQzNVy96mQL0DgyEiDaglARJKhPHJSvaNItHXkRZL/QuxuDSLSFJ2gtq0LmM9PpE 9W4bl5cc7NWhuEBVqfUX9DTb41FDWvZAvB/nR0ACA2cbbm9ZsDI5y3hI/jWC8BEP/32J hPLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685251003; x=1687843003; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=d5/YwBtqs1WVSf3hm1MswPv1/Qrfah97e3AqvyLzSjY=; b=lInLNQtVVq+pNhaCnUUnpLKVw19HnCUsrxBLCgX1kQCNCO3wXltmqV+6gN923Tf5ly XPgWc2p2hCuVl1TNZ1zKzZSXAaHF/7IbbEFy5jEEHHt9G/PTwqAUvJ5a0ntRv4mJRyoA Gqa/Xz4YV1BRCvHHL87qNLz0R4bDgmqzpAkalEFbfv1fQZQQrHioypIeCP4x/RheC8jo /zFcWChGZNdkl+QP8XC4nqPLjrOS/bGNA5t3xBzFlWtQh/dq3VD3v9EvMpseUZMNsq2+ R/qQIZAJcC49FdpykJLmjnWhG13vQPvZAa5uI4OKPHXh1A+NP/P62/7f/wRQqvv9Ozxi byTw== X-Gm-Message-State: AC+VfDxAJU8Fm+/PzQueTkkac9ctd5sLazS0XLSDgvTwUwW5Ww8+QkEm bmMXrz75i3iahUx5On2cN++22fpQkNlu5n6uRbVv/kfzab8= X-Google-Smtp-Source: ACHHUZ4IqPcPs4xUSKmx4t1T+5rI+b6/VuSDdulp6LD/LpsrBczxNQnjbZGmN0k24ZTVnRaHEybih+iUqJPQWnAywaM= X-Received: by 2002:a17:907:6ea8:b0:973:9443:c5fc with SMTP id sh40-20020a1709076ea800b009739443c5fcmr3863233ejc.14.1685251002902; Sat, 27 May 2023 22:16:42 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=patrick.f.poitras@gmail.com; helo=mail-ej1-x629.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 28 May 2023 02:51:49 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262515 Archived-At: --00000000000062ad6805fcba13e9 Content-Type: text/plain; charset="UTF-8" The following steps reproduces the bug. Start emacs with `emacs -Q` M-x pixel-scroll-precision-mode Scroll a large buffer, works great. Click and drag to select a region in the buffer. Click somewhere else in the buffer. to unselect it. Scrolling around will now randomly skip entire pages after scrolling 4-5 lines. This makes the mode unusable. Additional info: This emacs version is built using the settings for the default Tumbleweed install, but with emacs 30.0.50 and some different settings. (native comp and treesit) emacs-30.0.50.14776.d4ff1d74209-65.6.x86_64 from vendor obs:// build.opensuse.org/home:Thaodan In GNU Emacs 30.0.50 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) System Description: openSUSE Tumbleweed Configured using: 'configure --disable-build-details --without-pop --with-mailutils --without-hesiod --with-gameuser=:games --with-kerberos --with-kerberos5 --with-file-notification=inotify --with-modules --enable-autodepend --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib --libexecdir=/usr/libexec --with-file-notification=yes --with-native-compilation=aot --enable-locallisppath=/usr/share/emacs/30.0.50/site-lisp:/usr/share/emacs/site-lisp --with-x --with-xim --with-sound --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-dbus --with-xft --without-gpm --with-tree-sitter --with-pgtk --with-toolkit-scroll-bars --x-includes=/usr/include --x-libraries=/usr/lib64 --with-libotf --with-m17n-flt --with-cairo --with-xwidgets --build=x86_64-suse-linux --with-dumping=pdumper 'CFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -fno-optimize-sibling-calls -DPDMP_BASE='\''"emacs-gtk"'\''' LDFLAGS=-Wl,-O2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB Important settings: value of $LC_NUMERIC: POSIX value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 blink-cursor-mode: t line-number-mode: t indent-tabs-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 mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-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 xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 77561 8914) (symbols 48 7157 0) (strings 32 19290 1790) (string-bytes 1 576469) (vectors 16 14516) (vector-slots 8 263723 10059) (floats 8 28 52) (intervals 56 377 0) (buffers 984 12)) --00000000000062ad6805fcba13e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The following steps reproduces the bug.
Start emacs with `emacs -Q`

M-x p= ixel-scroll-precision-mode

Scroll a large buffer, = works great.

Click and drag to select a regio= n in the buffer. Click somewhere else in the buffer. to unselect it. Scroll= ing around will now randomly skip entire pages after scrolling 4-5 lines. T= his makes the mode unusable.

Additional info:<= /div>

This emacs version is built using the settings for= the default Tumbleweed install, but with emacs 30.0.50 and some different = settings. (native comp and treesit)

emacs-30.0= .50.14776.d4ff1d74209-65.6.x86_64 from vendor obs://build.opensuse.org/home:Thaodan
<= br>
In GNU Emacs 30.0.50 (build 1, x86_64-suse-linux-gnu, GTK+ Ve= rsion
3.24.38, cairo version 1.17.8)
System Description: openSUSE T= umbleweed

Configured using:
=C2=A0'configure --disable-build-= details --without-pop --with-mailutils
=C2=A0--without-hesiod --with-gam= euser=3D:games --with-kerberos
=C2=A0--with-kerberos5 --with-file-notifi= cation=3Dinotify --with-modules
=C2=A0--enable-autodepend --prefix=3D/us= r --mandir=3D/usr/share/man
=C2=A0--infodir=3D/usr/share/info --datadir= =3D/usr/share --localstatedir=3D/var
=C2=A0--sharedstatedir=3D/var/lib -= -libexecdir=3D/usr/libexec
=C2=A0--with-file-notification=3Dyes --with-n= ative-compilation=3Daot
=C2=A0--enable-locallisppath=3D/usr/share/emacs/= 30.0.50/site-lisp:/usr/share/emacs/site-lisp
=C2=A0--with-x --with-xim -= -with-sound --with-xpm --with-jpeg --with-tiff
=C2=A0--with-gif --with-p= ng --with-rsvg --with-dbus --with-xft --without-gpm
=C2=A0--with-tree-si= tter --with-pgtk --with-toolkit-scroll-bars
=C2=A0--x-includes=3D/usr/in= clude --x-libraries=3D/usr/lib64 --with-libotf
=C2=A0--with-m17n-flt --w= ith-cairo --with-xwidgets --build=3Dx86_64-suse-linux
=C2=A0--with-dumpi= ng=3Dpdumper 'CFLAGS=3D-O2 -Wall -U_FORTIFY_SOURCE
=C2=A0-D_FORTIFY_= SOURCE=3D3 -fstack-protector-strong -funwind-tables
=C2=A0-fasynchronous= -unwind-tables -fstack-clash-protection
=C2=A0-Werror=3Dreturn-type -flt= o=3Dauto -g -D_GNU_SOURCE
=C2=A0-DGDK_DISABLE_DEPRECATION_WARNINGS -DGLI= B_DISABLE_DEPRECATION_WARNINGS
=C2=A0-pipe -Wno-pointer-sign -Wno-unused= -variable -Wno-unused-label
=C2=A0-fno-optimize-sibling-calls -DPDMP_BAS= E=3D'\''"emacs-gtk"'\'''
=C2=A0LDF= LAGS=3D-Wl,-O2'

Configured features:
ACL CAIRO DBUS FREETYPE = GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBOTF LIBSELINUX= LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PGTK PNG = RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER = WEBP XIM XWIDGETS GTK3 ZLIB

Important settings:
=C2=A0 value of $= LC_NUMERIC: POSIX
=C2=A0 value of $LANG: en_US.utf8
=C2=A0 value of $= XMODIFIERS: @im=3Dlocal
=C2=A0 locale-coding-system: utf-8-unix

M= ajor mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip= -mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 s= how-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-m= ode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file= -name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock= -mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
= =C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-= composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compre= ssion-mode: t

Load-path shadows:
None found.

Features:
= (shadow sort mail-extr emacsbug message mailcap yank-media puny dired
di= red-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
e= pg-config gnus-util text-property-search time-date mm-decode mm-bodies
m= m-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
= comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra
help-= mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045
ietf-drums mm= -util mail-prsvr mail-utils rmc iso-transl tooltip cconv
eldoc paren ele= ctric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel ter= m/pgtk-win pgtk-win term/common-win pgtk-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 ti= mer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty= -colors frame minibuffer nadvice seq
simple cl-generic indonesian philip= pine 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 charscrip= t charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosur= e cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp fi= les window
text-properties overlay sha1 md5 base64 format env code-pages= mule
custom widget keymap hashtable-print-readable backquote threadsxwidget-internal dbusbind inotify dynamic-setting system-font-setting
f= ont-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process
n= ative-compile emacs)

Memory information:
((conses 16 77561 8914)<= br>=C2=A0(symbols 48 7157 0)
=C2=A0(strings 32 19290 1790)
=C2=A0(str= ing-bytes 1 576469)
=C2=A0(vectors 16 14516)
=C2=A0(vector-slots 8 26= 3723 10059)
=C2=A0(floats 8 28 52)
=C2=A0(intervals 56 377 0)
=C2= =A0(buffers 984 12))
--00000000000062ad6805fcba13e9--