[Geany-Users] Mouse horizontal scroll on 1.33

Colomban Wendling lists.ban at xxxxx
Tue Apr 24 22:23:38 UTC 2018

Le 22/04/2018 à 20:39, Lex Trotman a écrit :
> On 23 April 2018 at 07:20, Colomban Wendling <lists.ban at herbesfolles.org> wrote:
>> […]
>> I can reproduce something very similar to what you're describing indeed,
>> when I try and Shift+DownScroll, which should scroll to the right, it
>> somewhat works but seems to randomly scroll right or left, which leads
>> to a lot of flickering back and forth, and a barely usable feature.
>> Debian GNU/Linux 9.4 (x86_64), GTK 3.22.11, GLib 2.50.3, Geany 1.33+
> Since it works perfectly with GTK3.18.9 its probably a bug in GTK.

Actually I found the issue, and although I'm not really sure how it can
happen on X11, there's a bug in our code and an easy fix.  The thing is
that somehow we sometimes (I don't know how to start it, but I sometimes
see it after a while) get SMOOTH scroll events in addition to the
regular ones (although we don't ask for them on X11 -- but Scintilla
does on Wayland, so we should properly handle this anyway), and we
wrongly assume that "not down" means "up" (e.g. that there's only 2
kinds of events we can get), which is wrong for SMOOTH events.

See https://github.com/geany/geany/pull/1843

@Jérôme : could you check the above fix works for you?


More information about the Users mailing list