Unfortunately Gtk3 dropped the support for flipping through notebook pages for 'usability reasons' without making it available again with some kind of options. So applications like gnome-terminal started to re-implement this feature. For maintaining feature parity with the Gtk2 backend, geany should re-implement scrolling through notebook pages as well.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/872
There are two ways to do this. At least on my computer, firefox and chrome illustrates this.
In chrome, hovering over the tab bar and scrolling, the active tab changes as you scroll.
In firefox, hovering over the tab bar and scrolling, the tab bar scrolls sideways, but the active tab does not change as you scroll.
I much prefer the firefox way, as it prevents that what I am currently reading disappears when I scroll after having mispositioned my mouse cursor.
@dagbdagb you may notice that there are lots of thumbs up, but no implementation has turned up in three years. If you implement it you can probably choose your favourite, although IIRC the former GTK2 way was closer to the Chrome one.
Well and duly noted. Not much of a programmer, though.
Related: https://bugzilla.gnome.org/show_bug.cgi?id=630226 https://gitlab.gnome.org/GNOME/gtk/issues/234
Thanks @codebrainz clearly GTK isn't getting it back anytime soon. I note the Geany maintainer was very anti the removal, but even he hasn't come up with a re-implementation in Geany.
This is just the latest in a string of GTK3-related breakages that just makes otherwise-good programs a pain in the ass to use. The desktop world should have stuck to GTK2 - GTK3 is just not ready for actual humans to use.
@VanessaE no matter how passionate you feel, ranting about GTK on a project that is simply a user of GTK will do nothing.
@elextr , granted, but there was a choice being made to make geany use GTK3 instead of sticking with 2.
@VanessaE Geany has not made a choice, it works on both GTK-2 and GTK-3 and as far as reasonably possible without re-implementing parts of GTK, works the same on both.
A distribution may have made a choice which version it wanted to package, but thats the distros choice, not Geanys, so again you have ranted at the wrong target.
I had a stab at (re)implementing this as I know the MATE Desktop project had this issue when migrating from GTK2 to GTK3.
https://github.com/lah7/geany/commit/5bfad0da637836b63d087b791e7b26ebcb51258...
This only reinstates scrolling over tabs in the main editor. I'd consider the commit incomplete as all the other tabs (`notebook`?) like the sidebar and preferences should add the scroll event too but I'm terribly unfamiliar with C and didn't have much luck at this point. _Any help greatly appreciated._
But... it's a step towards having it back in GTK3 and doesn't impact the GTK2 build.
--- Scrolling over tabs is definitely part of my workflow. Too bad GTK3 requires each app to implement it separately. Unfortunately for me, as I switched distributions and finally made use of my HiDPI display, GTK2 is out of the question, _as much as I like GTK2._
For any one watching this issue - this feature is back for the document tabs! (#3134)
Some further work is needed to fully restore other tabs: like the sidebar, message window and preferences.
github-comments@lists.geany.org