Bug 462658

Summary: Canvas gestures such as pinch to zoom or rotate do not work after pressing specific buttons on the UI on a tablet
Product: [Applications] krita Reporter: John Iliopoulos <jxftw2424>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dimin21590, dimula73, halla
Priority: NOR    
Version First Reported In: 5.1.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Iliopoulos 2022-12-05 06:09:49 UTC
SUMMARY

After pressing specific buttons on the UI such as the erase button it becomes impossible to pinch to zoom or rotate with your fingers on a tablet.
I have so far only observed this on linux with the flathub package and the fedora package, although i suspect this is also true of other packages too.


STEPS TO REPRODUCE
1. Make a new project
2. Press erase button
3. Attempt to rotate canvas with fingers

OBSERVED RESULT
You are unable to rotate/zoom the canvas

EXPECTED RESULT
You should be able to rotate or zoom the canvas

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.11-300.fc37.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
1. Erase button is just an easy example a lot of UI buttons have this specific issue.
2. Drawing with a stylus on the canvas fixes this
3. Due to the above issue it is recommended you disable touch drawing on a tablet.
4. I have not tested other platforms such as windows but i will test and see if it happens.
Comment 1 John Iliopoulos 2022-12-05 06:14:13 UTC
Update it seems to work just fine on windows.
Comment 2 Halla Rempt 2022-12-05 08:16:48 UTC
Please try the appimage.
Comment 3 John Iliopoulos 2022-12-05 12:12:33 UTC
(In reply to Halla Rempt from comment #2)
> Please try the appimage.

Same thing seems to happen with the appimage for version 5.1.3
Comment 4 Halla Rempt 2022-12-05 14:27:28 UTC
And with an X11 session instead of Wayland?
Comment 5 John Iliopoulos 2022-12-05 19:24:44 UTC
(In reply to Halla Rempt from comment #4)
> And with an X11 session instead of Wayland?

Same thing happens with X11 
Tested flatpak and Appimage
Comment 6 Bug Janitor Service 2022-12-06 05:21:48 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 7 Dmitry Kazakov 2022-12-08 11:05:41 UTC
Hi, John!

What kind of tablet gestures you mean? Do you use screen-tablet or a normal intuos-like tablet? 

And do I understand it right that the problem is still reproducible with AppImage in X11 session?
Comment 8 Halla Rempt 2022-12-08 11:40:39 UTC
Setting to needsinfo
Comment 9 John Iliopoulos 2022-12-09 18:17:58 UTC
(In reply to Dmitry Kazakov from comment #7)
> Hi, John!
> 
> What kind of tablet gestures you mean? Do you use screen-tablet or a normal
> intuos-like tablet? 
> 
> And do I understand it right that the problem is still reproducible with
> AppImage in X11 session?

Sorry for my late reply

i mean a 2in1 laptop with a pen
specifically its an HP envy x360 eu0009nv with the HP stylus
And yes the results are the same with the Appimage on the X11 session
Comment 10 Bug Janitor Service 2022-12-10 05:18:35 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 11 John Iliopoulos 2023-10-08 05:49:00 UTC
I would like to update that I also tested release 5.2.0 (provided on Steam) and found the same issue

I also decided to record it on my phone to better clarify what my issue is. 

https://youtube.com/shorts/5XpVnDZtr6Q?feature=share
Comment 12 Dima 2024-08-02 21:33:15 UTC
Hello, I would like to report the same issue on version 5.2.3 from flatpak. 

The way to get the gestures to work again for me is to hover the stylus over the canvas for a moment, after that everything starts working again as expected.