Author Topic: Touchpad zooming is broken (linux, gtk3)  (Read 1243 times)

Offline sparky99

  • Single posting newcomer
  • *
  • Posts: 3
Touchpad zooming is broken (linux, gtk3)
« on: March 23, 2022, 01:49:42 pm »
While zooming [CTRL] + [Touchpad scroll], the zoom "steps" is increased/decreased by far too
much. Only by moving my fingers a few millimeters zooms in/out to full scale or min scale.

This cannot possibly be what the C::B devs intended, so I did some testing and it turns
out to be GTK-3 that is the issue here..

-----

Temp solution:

This seems to happen only if Codeblocks is built against wxWidgets with GTK-3.

To mitigate this issue, I pulled the sources for Codeblocks-20.03 and wxWidgets-3.0.5
then compiled everything myself with wxWidgets linked to GTK-2.

Now touchpad zooming works fine.

-----

I use Ubuntu 20.04 on X11, but I also did some testing on different window managers and display servers, such as Gnome, KDE, Wayland and X11; but it all seems to come down to GTK-3...

-----

So, if there is no "quick-fix" for this, could we have an additional Codeblocks distro package
compiled and linked to GTK-2? Or a binary distro package hosted on launchpad?

I will note that this post is intented to let the devs know about the issue, but also to
let users know how to temporarily get around, if they experience the same issue.

If this thread is misplaced then feel free to move it to the appropriate section.

/sparky

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1254
Re: Touchpad zooming is broken (linux, gtk3)
« Reply #1 on: March 23, 2022, 04:20:09 pm »
The message is OK here, but a ticket is preferred because forum posts disappear from sight in a couple of days.

What Linux distro are you using?.

Offline sparky99

  • Single posting newcomer
  • *
  • Posts: 3
Re: Touchpad zooming is broken (linux, gtk3)
« Reply #2 on: March 23, 2022, 05:00:46 pm »
Sorry, I didn't notice the bugthread.. Yes I will make a ticket.

I am using Ubuntu 20.04 on X11.

Offline sparky99

  • Single posting newcomer
  • *
  • Posts: 3
Re: Touchpad zooming is broken (linux, gtk3)
« Reply #3 on: March 23, 2022, 05:25:35 pm »
Here is the ticket, just for clarity: https://sourceforge.net/p/codeblocks/tickets/1243/