rnote icon indicating copy to clipboard operation
rnote copied to clipboard

[GTK4 bug] zoom the canvas with pinch gesture on the touchpad only works occasionally

Open daudix opened this issue 2 years ago • 6 comments

Zoom a page using pinch gesture on trackpad, this can be done with libinput, for example, Eye of GNOME or inkscape does same thing, note that is only working on Wayland

daudix avatar Jun 14 '22 13:06 daudix

Sorry, I did not mean to ignore this. It is just that your description is difficult to understand and (still) low-effort and I genuinely could not make sense of the first issue you opened. I do believe the issue itself, if I understand it correctly is worth fixing.

flxzt avatar Jul 24 '22 13:07 flxzt

No no no, It's my problem, your app have pinch-to-zoom, but for some reason, it work strange (2/10 times), the same thing happens in other libadwaita apps, in my case, GNOME Calendar (Nightly), but in same time works perfectly in inkscape, firefox, Eye of GNOME and e.t.c

📎 DEMO

daudix avatar Jul 24 '22 22:07 daudix

I usually never use my touchpad in rnote, but I just tried it and can confirm what @daudix-UFO says. It seems to work like 10% of the time, but usually it doesn't work at all. Zooming on touchscreen, however, works consistently.

I might try printing some libinput events to see if I can make sense of what's happening.

Danacus avatar Jul 26 '22 11:07 Danacus

@daudix-UFO thanks for the video, that is super useful. Since this also happens in calendar and after searching in the gtk4 bugtracker it sounds like this issue possibly ?

flxzt avatar Jul 27 '22 06:07 flxzt

Yes, this is it!

daudix avatar Jul 27 '22 08:07 daudix

Fixed in latest version of GTK4 Demo, issue already closed on GitLab https://gitlab.gnome.org/GNOME/gtk/-/issues/5003, Now as far as I know we need to wait update of SDKs and test it in Rnote.

daudix avatar Aug 08 '22 13:08 daudix

The issue is fixed now, thank you!

daudix avatar Nov 24 '22 13:11 daudix