STEPS TO REPRODUCE 1. open a file with gwenview 2. do pinch gesture using a touchscreen to adjust the zoom level 3. OBSERVED RESULT zoom adjustment is not smooth, sometimes gwenview takes ~1 second to apply it. EXPECTED RESULT smooth zoom adjustment SOFTWARE/OS VERSIONS gwenview 19.07.70 Operating System: KDE neon Developer Edition KDE Plasma Version: 5.15.80 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.0 ADDITIONAL INFORMATION zoom adjustment works well when I use the slider in the status bar.
It's nice and smooth on my machine (Late 2016 HP Spectre x360). Unfortunately this is probably going to be irresolvable without physical access to the hardware in question. :( What hardware are you using?
lenovo laptop g400s touch
Any chance you could take a video of yourself (well, your fingers) interacting with the screen so I can get a sense of the lag?
Here is the video. The problem only occurs on Wayland. https://www.youtube.com/watch?v=jJWvHenL3mc
Thanks for the video, and thanks for the extra information that it only happens on Wayland.
Operating System: KaOS (2019) KDE Plasma Version: 5.16.2 KDE Frameworks Version: 5.59.0 Qt Version: 5.13.0
Git commit ac30df57e308fabd2517cdd18691ada7ca108190 by Nate Graham, on behalf of Steffen Hartleib. Committed on 26/05/2020 at 18:17. Pushed by ngraham into branch 'master'. fix lagging zoom with touch in wayland add a dynamically adjusted minimum wait time between two zoom events, to reduce lag if you are zooming with touch. M +1 -0 app/main.cpp M +22 -3 lib/documentview/documentview.cpp M +2 -2 lib/documentview/documentview.h M +11 -3 lib/touch/touch.cpp M +2 -2 lib/touch/touch.h https://invent.kde.org/graphics/gwenview/commit/ac30df57e308fabd2517cdd18691ada7ca108190
I have built master branch on neon unstable, now this bug is really fixed. Thank you very much Steffen Hartleib. :)