[Geany-Users] <DKIM> Re: Mouse horizontal scroll on 1.33

Jérôme Andanson j.andanson at xxxxx
Wed Apr 25 07:18:54 UTC 2018


Le 25/04/2018 à 00:23, Colomban Wendling a écrit :
> 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?
First I test building geany, I'm not famillar with C stuff or compiling
code, and I success compiling with GTK3 \o/
First, I do with github master branch + adding manually your fix -->
everything is OK really cool
For comparison purpose I do it again without the fix and horizontal
scroll won't work ! so it's exactly the problem

Thanks for this catch !

Also while compiling geany I follow github readme so I type "make
install" !Now I have two binary in my system /usr/bin &&
/usr/local/bin/, for other compiling test I just type make and use the
binary in geany/src/ .
Any advice for cleaning my environment ? What's the better way to use
this fixed geany or when a fix will be released ?


>
> Regards,
> Colomban
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list