[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.
Committed as [46d556].
[bugs:#2375] Fix scrolling speed on Windows with GTK3
Status: open-fixed
Group: Bug
Labels: scintilla gtk win32
[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:
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: