[scintilla:bugs] #2375 Fix scrolling speed on Windows with GTK3

2 views
Skip to first unread message

"Enrico Tröger"

unread,
Jan 15, 2023, 10:23:39 AM1/15/23
to scintill...@googlegroups.com

[bugs:#2375] Fix scrolling speed on Windows with GTK3

Status: open
Group: Bug
Created: Sun Jan 15, 2023 03:23 PM UTC by Enrico Tröger
Last Updated: Sun Jan 15, 2023 03:23 PM UTC
Owner: nobody
Attachments:

Users of Geany reported that vertical scrolling speed is too fast. See https://github.com/geany/geany/issues/2768 for details.

It turned out the attached patch seems to solve the problems on Windows.
Disclaimer: I do not fully understand the involved code and I can't test it realiably. I just created Geany binaries with those changes and users with the problem reported it worked for them. The changed code was a suggestion by Neil and Lex in the above linked Geany issue.


Sent from sourceforge.net because scintill...@googlegroups.com is subscribed to https://sourceforge.net/p/scintilla/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/scintilla/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

Neil Hodgson

unread,
Jan 17, 2023, 3:31:57 AM1/17/23
to scintill...@googlegroups.com
  • labels: --> scintilla, gtk, win32
  • status: open --> open-fixed
  • Comment:

Committed as [46d556].


[bugs:#2375] Fix scrolling speed on Windows with GTK3

Status: open-fixed
Group: Bug
Labels: scintilla gtk win32

Neil Hodgson

unread,
Feb 7, 2023, 5:58:45 PM2/7/23
to scintill...@googlegroups.com
  • status: open-fixed --> closed-fixed

[bugs:#2375] Fix scrolling speed on Windows with GTK3

Status: closed-fixed


Group: Bug
Labels: scintilla gtk win32

Created: Sun Jan 15, 2023 03:23 PM UTC by Enrico Tröger

Last Updated: Tue Jan 17, 2023 08:31 AM UTC
Owner: nobody
Attachments:

Jiri Techet

unread,
Aug 4, 2025, 3:55:49 PMAug 4
to scintill...@googlegroups.com

FYI, this patch doesn't do the right thing. PLAT_GTK_WIN32 is always defined, it's just set to 0 on non-Windows platforms. This means that

#if (defined(__APPLE__) || defined(PLAT_GTK_WIN32)) && !defined(GDK_WINDOWING_QUARTZ)

always succeeds and the adaptive "wheel mouse intensity" code in the else branch is always skipped.

I discovered this while trying to improve the scrolling behavior in https://github.com/geany/geany/pull/4391 which I eventually plan to post as a patch once I test the code on more platforms.


[bugs:#2375] Fix scrolling speed on Windows with GTK3

Status: closed-fixed


Group: Bug
Labels: scintilla gtk win32

Created: Sun Jan 15, 2023 03:23 PM UTC by Enrico Tröger

Last Updated: Tue Feb 07, 2023 10:58 PM UTC
Owner: nobody
Attachments:

Reply all
Reply to author
Forward
0 new messages