### Bug Summary When scrolling using two finger swipe on a touchpad, the editor scrolls very fast (100s of lines) which makes it unusable
### Details Following steps don't require a strict order 1. Open any (long) file in geany 2. Try to scroll in it (the editor/workspace) using touchpad - it scrolls excessively (unexpected) 3. Try to scroll in the sidebar or message window using touchpad - it scrolls precisely and controllably - as expected 4. Try to scroll at any of these place using mouse - it scrolls same as step number 3 above - precisely, controllable, expectedly
### Screenshots
https://user-images.githubusercontent.com/19423063/197408416-87c1a6c9-0cf9-4...
### Environment * OS: Windows 10 20H2 * Geany: 1.38 "Sulamar" (built on or after Oct 9 2021) * Using GTK+ v3.24.30 and GLib v2.70.0 runtime libraries
i don't know - these videos are not getting played here on github - but they are playing on my local pc when played via vlc
https://user-images.githubusercontent.com/19423063/197409404-4333061e-60e7-4...
Videos work but tl;dw
The editor widget is not touchpad/gesture aware, so the OS or GTK is mapping the touchpad movement to mouse scroll wheel messages. The rate it does that is not determined by Geany, but you might be able to control the multiplier in the OS.
The editor widget is not touchpad/gesture aware ...
umh, why not? when the side bar and message window work fine with touchpad (read point 3 in description above), then why NOT editor??
tl;dw
here's a shorter version for you, but you will have to read the description to understand it
https://user-images.githubusercontent.com/19423063/197464347-29063c38-9438-4...
The editor widget is not touchpad/gesture aware ...
umh, why not?
Because its not written to understand gestures.
You said when you use two finger swipe, but the editor widget knows nothing about two finger swipes, it just knows about mouse scroll wheels, so something is translating your gesture into scroll wheel messages. How it determines the number of scroll wheel movements it assigns to how many millimetres of two finger movement is determined by whatever is doing the translation. There may be a setting in Windows that controls it.
when the side bar and message window work fine with touchpad (read point 3 in description above),
Because they are standard GTK widgets, and GTK is to some extent gesture aware, though how well the windows port works I don't know.
then why NOT editor??
As I said above, its not written to be gesture aware!!
AFAICT its not on gesture aware on any platform, Osx, Windows native, or GTK.
Because they are standard GTK widgets, and GTK is to some extent gesture aware
ohw, so, u mean that the editor is not a GTK widget?
GTK is to some extent gesture aware, though how well the windows port works I don't know.
lol i clearly said at 2-3 places that they are working fine
ohw, so, u mean that the editor is not a GTK widget?
Scintilla is a GTK widget, in that it fits into the GTK UI infrastructure, but its not part of the GTK project.
Scintilla is a standalone project that provides an editing UI element, originally a native Windows control, but now also a GTK widget and a native Macos UI element. So its not just a GTK widget, and its not part of the Geany project, and it is used by many other editor/IDE projects, so it treads its own path on what it supports.
But Geany uses GTK on all platforms, so uses Scintilla as a GTK widget on all platforms.
lol i clearly said at 2-3 places that they are working fine
Its good that you are lucky, but other people observe issues with how well/not well GTK fits into Windows (and Macos).
umh, i am kinda confused on what the take away for me is :sweat_smile:
anyway, thanks for input. closing as not planned for now? feel free to reopen.
Closed #3319 as not planned.
Reopened #3319.
i guess this happens in the viewerport of gimp v2.10.2x / v2.10.3x too which also uses gtk.
so.... upstream bug ig
github-comments@lists.geany.org