While zooming [CTRL] + [Touchpad scroll], the zoom "steps" is increased/decreased by far too
much.
If I hold [ctrl] and scroll up/down on the touchpad (carefully) the scaling goes to min / max
instantly. It is impossible to set a proper zoom level without using an external usb-mouse.
This seems to be related to wxWidgets being linked to libgtk-3.0.
I have tested the Codeblocks distro packages on:
- Fedora 35 (Gnome, Wayland)
- Ubuntu 20.04 (Gnome, X11)
- Ubuntu 20.04 (KDE, X11)
... and wxWidgets are all linked against libgtk-3.0, and shows the same problem.
If I compile Codeblocks-20.03 and wxWidgets-3.0.5 and link with libgtk-2.0 then the zooming works.
That is a bug in GTK3 itself, zooming with the mouse wheel works OK.
See this issue for example.
Maybe it is, but it is not something that will be fixed in the near future.. The issue is marked as closed...
Why not make an additional build of Codeblocks & wxWidgets that is compiled and linked with gtk-2.0?
Currently there are no builds of any kind for Linux.
You can build your own version downloading the source code from SVN, editing the CodeBlocks_wx30-unix.cbp project so the environment variable GTK_VERSION suit your needs and compiling the workspace with your current C::B.
You will need to install some development libraries, check the wiki or ask in the forum if you need help.
What do you mean there are no builds?
Edit: Then what is this?: http://www.codeblocks.org/downloads/binaries/
Last edit: sparky 2022-03-25
Those are old builds of the release version, if one of them suits your needs then use it.
I am talking about the nightly builds, sometimes there are links for Linux or MAC packages but they use GTK3.
I am not really talking about nightly builds, or the binaries hosted on codeblocks website. I am talking about distribution builds, you know, the binary packages you install using apt on ubuntu.
There were some private PPA with packages, those I knew are gone or outdated. Ask in the forum.
Sorry to butt in, but https://downloads.codelite.org/ includes a nightly download with GTK3. I wonder if it has the same issue or not.
I am not talking about any private ppa. I am talking about official distro packages.
We do not maintain official distro packages (beside on our official page). The packages you install over apt get or pacman ecc.. are maintained by the official maintainer of the specific linux distribution
Ok, well then. I don't know how this works, but I will check with the ubuntu maintainer of this package.
Miguel, bluehazzard: Thank you for your attention.
Andrew: I did some quick testing. If you are talking about the distro package from apt on Ubuntu 20.04, then yes, the problem is identical.