unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72738: 30.0.60; Pixel scrolling and scroll-margin don't work together smoothly
@ 2024-08-20 21:46 the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-08-21 13:44 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-08-20 21:46 UTC (permalink / raw)
  To: 72738

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

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

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

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

* bug#72738: 30.0.60; Pixel scrolling and scroll-margin don't work together smoothly
  2024-08-20 21:46 bug#72738: 30.0.60; Pixel scrolling and scroll-margin don't work together smoothly the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-08-21 13:44 ` Eli Zaretskii
  2024-08-21 14:08   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2024-08-21 13:44 UTC (permalink / raw)
  To: the_wurfkreuz, Po Lu; +Cc: 72738

> 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@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?





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

* bug#72738: 30.0.60; Pixel scrolling and scroll-margin don't work together smoothly
  2024-08-21 13:44 ` Eli Zaretskii
@ 2024-08-21 14:08   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 3+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-08-21 14:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 72738, the_wurfkreuz

Eli Zaretskii <eliz@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@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.





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

end of thread, other threads:[~2024-08-21 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 21:46 bug#72738: 30.0.60; Pixel scrolling and scroll-margin don't work together smoothly the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-21 13:44 ` Eli Zaretskii
2024-08-21 14:08   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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