GNU bug report logs - #72738
30.0.60; Pixel scrolling and scroll-margin don't work together smoothly

Previous Next

Package: emacs;

Reported by: the_wurfkreuz <the_wurfkreuz <at> proton.me>

Date: Tue, 20 Aug 2024 21:48:01 UTC

Severity: normal

Found in version 30.0.60

To reply to this bug, email your comments to 72738 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#72738; Package emacs. (Tue, 20 Aug 2024 21:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to the_wurfkreuz <the_wurfkreuz <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 20 Aug 2024 21:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: the_wurfkreuz <the_wurfkreuz <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 30.0.60;
 Pixel scrolling and scroll-margin don't work together smoothly
Date: Tue, 20 Aug 2024 21:46:11 +0000
[Message part 1 (text/plain, inline)]
Setting '(pixel-scroll-precision-mode 1)' with '(setq scroll-margin 5)' (or any other non-zero value) creates a conflict where the pointer just
can't move further while using mouse scrolling. Without '(pixel-scroll-precision-mode 1)' mouse scrolling with the scroll-margin works fine.

In GNU Emacs 30.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.43, cairo version 1.18.0) of 2024-08-20 built on archlinux
Repository revision: fc7581ae2ee9db1e3189b76c66be9cd13f72f004
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72738; Package emacs. (Wed, 21 Aug 2024 13:46:02 GMT) Full text and rfc822 format available.

Message #8 received at 72738 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: the_wurfkreuz <the_wurfkreuz <at> proton.me>,
 Po Lu <luangruo <at> yahoo.com>
Cc: 72738 <at> debbugs.gnu.org
Subject: Re: bug#72738: 30.0.60;
 Pixel scrolling and scroll-margin don't work together smoothly
Date: Wed, 21 Aug 2024 16:44:42 +0300
> Date: Tue, 20 Aug 2024 21:46:11 +0000
> From:  the_wurfkreuz via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Setting '(pixel-scroll-precision-mode 1)' with '(setq scroll-margin 5)' (or any other non-zero value) creates a
> conflict where the pointer just
> can't move further while using mouse scrolling. Without '(pixel-scroll-precision-mode 1)'  mouse scrolling with
> the scroll-margin works fine.

Adding Po Lu.

Does it make sense to use scroll-margin with pixel-precision
scrolling?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72738; Package emacs. (Wed, 21 Aug 2024 14:10:01 GMT) Full text and rfc822 format available.

Message #11 received at 72738 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72738 <at> debbugs.gnu.org, the_wurfkreuz <the_wurfkreuz <at> proton.me>
Subject: Re: bug#72738: 30.0.60; Pixel scrolling and scroll-margin don't
 work together smoothly
Date: Wed, 21 Aug 2024 22:08:21 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Tue, 20 Aug 2024 21:46:11 +0000
>> From:  the_wurfkreuz via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>> 
>> Setting '(pixel-scroll-precision-mode 1)' with '(setq scroll-margin 5)' (or any other non-zero value) creates a
>> conflict where the pointer just
>> can't move further while using mouse scrolling. Without '(pixel-scroll-precision-mode 1)'  mouse scrolling with
>> the scroll-margin works fine.
>
> Adding Po Lu.
>
> Does it make sense to use scroll-margin with pixel-precision
> scrolling?

In theory it does, and we are aware of this issue.  The challenge is
that any attempt to account for a scroll margin screws with scrolling
tall images, and we currently consider the latter more important, and as
such configurations with both a scroll-margin and p-s-p-mode enabled are
not supported.




This bug report was last modified 358 days ago.

Previous Next


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