unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region
@ 2023-05-28  5:16 Patrick Poitras
  2023-05-28  8:24 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Poitras @ 2023-05-28  5:16 UTC (permalink / raw)
  To: 63764

[-- Attachment #1: Type: text/plain, Size: 4856 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 5549 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region
  2023-05-28  5:16 bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region Patrick Poitras
@ 2023-05-28  8:24 ` Eli Zaretskii
  2023-05-28 17:52   ` Patrick Poitras
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2023-05-28  8:24 UTC (permalink / raw)
  To: Patrick Poitras; +Cc: 63764

> From: Patrick Poitras <patrick.f.poitras@gmail.com>
> Date: Sat, 27 May 2023 22:16:31 -0700
> 
> 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.

I cannot reproduce this, FWIW.  The effect of scrolling is the same
before and after selecting a region.

Perhaps this is one more effect of known (and not yet solved) issues
with native-compilation?  My Emacs was build without it.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region
  2023-05-28  8:24 ` Eli Zaretskii
@ 2023-05-28 17:52   ` Patrick Poitras
  2023-05-28 18:27     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Poitras @ 2023-05-28 17:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 63764

[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

Given it's 100% reproducible on my build, I went ahead with some testing of
configuration options.

It seems related to PGTK. ./configure --with-pgtk has the bug whereas the
version without it does not. Given the warning message about using PGTK
with X11, I assume that this falls under the same umbrella, and that I
should go complain to the package builders.

Let me know if there's anything more to look at.
Patrick

On Sun, May 28, 2023 at 1:23 AM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Patrick Poitras <patrick.f.poitras@gmail.com>
> > Date: Sat, 27 May 2023 22:16:31 -0700
> >
> > 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.
>
> I cannot reproduce this, FWIW.  The effect of scrolling is the same
> before and after selecting a region.
>
> Perhaps this is one more effect of known (and not yet solved) issues
> with native-compilation?  My Emacs was build without it.
>

[-- Attachment #2: Type: text/html, Size: 1712 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region
  2023-05-28 17:52   ` Patrick Poitras
@ 2023-05-28 18:27     ` Eli Zaretskii
  2023-05-28 19:13       ` Patrick Poitras
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2023-05-28 18:27 UTC (permalink / raw)
  To: Patrick Poitras; +Cc: 63764

> From: Patrick Poitras <patrick.f.poitras@gmail.com>
> Date: Sun, 28 May 2023 10:52:13 -0700
> Cc: 63764@debbugs.gnu.org
> 
> Given it's 100% reproducible on my build, I went ahead with some testing of configuration options. 
> 
> It seems related to PGTK. ./configure --with-pgtk has the bug whereas the version without it does not.
> Given the warning message about using PGTK with X11, I assume that this falls under the same
> umbrella, and that I should go complain to the package builders.

Thanks.  It'd be important to know whether this problem also exists on
the emacs-29 branch (I'd guess it does), in which case its urgency
will go up significantly.  Can someone please try this in a PGTK build
of the emacs-29 branch, and report back?  TIA.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region
  2023-05-28 18:27     ` Eli Zaretskii
@ 2023-05-28 19:13       ` Patrick Poitras
  2023-05-29  0:43         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Poitras @ 2023-05-28 19:13 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 63764

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

I can confirm that it's also present on the emacs-29 branch, with PGTK on
X11.

Patrick

On Sun, May 28, 2023 at 11:26 AM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Patrick Poitras <patrick.f.poitras@gmail.com>
> > Date: Sun, 28 May 2023 10:52:13 -0700
> > Cc: 63764@debbugs.gnu.org
> >
> > Given it's 100% reproducible on my build, I went ahead with some testing
> of configuration options.
> >
> > It seems related to PGTK. ./configure --with-pgtk has the bug whereas
> the version without it does not.
> > Given the warning message about using PGTK with X11, I assume that this
> falls under the same
> > umbrella, and that I should go complain to the package builders.
>
> Thanks.  It'd be important to know whether this problem also exists on
> the emacs-29 branch (I'd guess it does), in which case its urgency
> will go up significantly.  Can someone please try this in a PGTK build
> of the emacs-29 branch, and report back?  TIA.
>

[-- Attachment #2: Type: text/html, Size: 1477 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region
  2023-05-28 19:13       ` Patrick Poitras
@ 2023-05-29  0:43         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-05-29 16:41           ` Patrick Poitras
  0 siblings, 1 reply; 7+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-05-29  0:43 UTC (permalink / raw)
  To: Patrick Poitras; +Cc: Eli Zaretskii, 63764

Patrick Poitras <patrick.f.poitras@gmail.com> writes:

> I can confirm that it's also present on the emacs-29 branch, with PGTK on X11. 
>
> Patrick
>
> On Sun, May 28, 2023 at 11:26 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
>  > From: Patrick Poitras <patrick.f.poitras@gmail.com>
>  > Date: Sun, 28 May 2023 10:52:13 -0700
>  > Cc: 63764@debbugs.gnu.org
>  > 
>  > Given it's 100% reproducible on my build, I went ahead with some testing of configuration options. 
>  > 
>  > It seems related to PGTK. ./configure --with-pgtk has the bug whereas the version without it does not.
>  > Given the warning message about using PGTK with X11, I assume that this falls under the same
>  > umbrella, and that I should go complain to the package builders.
>
>  Thanks.  It'd be important to know whether this problem also exists on
>  the emacs-29 branch (I'd guess it does), in which case its urgency
>  will go up significantly.  Can someone please try this in a PGTK build
>  of the emacs-29 branch, and report back?  TIA.

I've said this many times: we don't support using the PGTK build on X
Windows, due to the frankly abysmal quality of GDK's X11 backend.
Unless this also happens on Wayland or Broadway, I will close this bug.

Try a regular X configuration instead.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region
  2023-05-29  0:43         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-05-29 16:41           ` Patrick Poitras
  0 siblings, 0 replies; 7+ messages in thread
From: Patrick Poitras @ 2023-05-29 16:41 UTC (permalink / raw)
  To: Po Lu; +Cc: Eli Zaretskii, 63764

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

I am aware of this, as mentioned above. I agree we need someone on non-X11
PGTK to test this, otherwise this just falls outside of scope. My previous
post was simply to confirm that the problem on X11 + PGTK is also present
on emacs-29, which isn't surprising considering pixel-scroll.el has barely
changed since then.

Cheers,
Patrick

On Sun, May 28, 2023 at 5:43 PM Po Lu <luangruo@yahoo.com> wrote:

> Patrick Poitras <patrick.f.poitras@gmail.com> writes:
>
> > I can confirm that it's also present on the emacs-29 branch, with PGTK
> on X11.
> >
> > Patrick
> >
> > On Sun, May 28, 2023 at 11:26 AM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> >  > From: Patrick Poitras <patrick.f.poitras@gmail.com>
> >  > Date: Sun, 28 May 2023 10:52:13 -0700
> >  > Cc: 63764@debbugs.gnu.org
> >  >
> >  > Given it's 100% reproducible on my build, I went ahead with some
> testing of configuration options.
> >  >
> >  > It seems related to PGTK. ./configure --with-pgtk has the bug whereas
> the version without it does not.
> >  > Given the warning message about using PGTK with X11, I assume that
> this falls under the same
> >  > umbrella, and that I should go complain to the package builders.
> >
> >  Thanks.  It'd be important to know whether this problem also exists on
> >  the emacs-29 branch (I'd guess it does), in which case its urgency
> >  will go up significantly.  Can someone please try this in a PGTK build
> >  of the emacs-29 branch, and report back?  TIA.
>
> I've said this many times: we don't support using the PGTK build on X
> Windows, due to the frankly abysmal quality of GDK's X11 backend.
> Unless this also happens on Wayland or Broadway, I will close this bug.
>
> Try a regular X configuration instead.
>

[-- Attachment #2: Type: text/html, Size: 2522 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-29 16:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-28  5:16 bug#63764: 30.0.50; pixel-scroll-precision-mode starts skipping pages after selecting region Patrick Poitras
2023-05-28  8:24 ` Eli Zaretskii
2023-05-28 17:52   ` Patrick Poitras
2023-05-28 18:27     ` Eli Zaretskii
2023-05-28 19:13       ` Patrick Poitras
2023-05-29  0:43         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-29 16:41           ` Patrick Poitras

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).