@elextr maybe, but as said it seems pretty random, and I had a hard time reproducing it after starting a fresh Geany, so who knows. But yeah it might be a bug in GTK somewhere, because I really couldn't find anywhere why we'd start getting smooth scroll events.