Bug 457514 - After installing krita 5.1.0 touch gestures won't function on wacom cintinq 24
Summary: After installing krita 5.1.0 touch gestures won't function on wacom cintinq 24
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 5.1.0-beta3
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-05 07:40 UTC by Brian Kramer
Modified: 2022-08-09 08:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Kramer 2022-08-05 07:40:20 UTC
SUMMARY
Just downloaded latest krita 5.1.0, turned on my wacom cintiq 24 and I cannot use any on screen hand gestures like zoom, rotate. I can touch to open and close categories and the touch functions normally outside of krita.
I only get a rectangular outline that appears and disappears with canvas touch on screen. 
I did restarts as well as check drivers, which are up to date.
Spoke with wacom support that clarified this is a krita issue.

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Brian Kramer 2022-08-05 07:56:16 UTC
I have additionally re-downloaded/replaced to latest krita 5.1.0 again and the result is still the same.
Comment 2 Brian Kramer 2022-08-05 07:56:48 UTC
I have additionally re-downloaded/replaced to latest krita 5.1.0 again and the result is still the same.
Comment 3 Halla Rempt 2022-08-05 08:23:58 UTC
works for me...
Comment 4 Brian Kramer 2022-08-05 08:29:55 UTC
(In reply to Halla Rempt from comment #3)
> works for me...

I wish I could say the same. Going through every possible solution and still the new krita won't allow me to use touch gestures. I have been a user exclusively for two years and never had this kind of issue.
Comment 5 sh_zam 2022-08-05 10:53:35 UTC
I'd suggest you to reset the canvas input settings. This is something which is fixed, but is currently under review at: https://invent.kde.org/graphics/krita/-/merge_requests/1525
Comment 6 Brian Kramer 2022-08-05 11:04:00 UTC
Thank you. I will review that however it seems a little above level of competence to execute. I'll try to get some help (unless you can walk me through it). Otherwise I will most likely try to revert back to 5.0 version so I can work until I can focus on the fix.
Comment 7 sh_zam 2022-08-05 11:14:45 UTC
In Krita, Navigate to Settings -> Configure Krita -> Canvas Input Settings -> Restore Defaults.

Do note, this will reset the Canvas shortcuts if you’ve modified them.

“Brian Kramer” <bugzilla_noreply@kde.org> writes:

> <https://bugs.kde.org/show_bug.cgi?id=457514>
>
> — Comment #6 from Brian Kramer <briankramerblues@hotmail.com> —
> Thank you. I will review that however it seems a little above level of
> competence to execute. I’ll try to get some help (unless you can walk me
> through it). Otherwise I will most likely try to revert back to 5.0 version so
> I can work until I can focus on the fix.
Comment 8 Brian Kramer 2022-08-05 11:26:42 UTC
I may need to revert back to 5.0 version if that's the case because I spent too much invested in presets and can't afford to focus on re-doing currently. I am assuming that this bug is something that will be sorted out overall in the set 5.1 software in the near future.
Comment 9 Halla Rempt 2022-08-09 06:49:17 UTC
The relevant merge request has been merged.
Comment 10 sh_zam 2022-08-09 07:14:19 UTC
Git commit cc8f304a7da266b909d70104ce0d9de7aee7f3b8 by Sharaf Zaman.
Committed on 09/08/2022 at 06:06.
Pushed by szaman into branch 'master'.

Make Krita's canvas input profile migrate-able from version 5 to 6

The porting (PROFILE_VERSION - 1) to PROFILE_VERSION works as something
like this, with entry point being loadProfile():

1. We fill two lists, `profileEntries`: one with profiles with profile version being
PROFILE_VERSION, `profileEntriesToMigrate`: one with profiles with version
being (PROFILE_VERSION - 1).

2. We go through the list we want to migrate and check if there is a
corresponding version of it in `profileEntries` and that has to exist in
user-local directory (not in install location -- which is the profile
version we ship).

        a. If there doesn't exist one, we migrate the profile entry. And
        remove it from `profileEntriesToMigrate`.
        b. If there exists one (which isn't in user-local), we don't
        migrate.

3. Once we get what we have to migrate and what we don't. We invoke
`KisInputProfileMigrator` to migrate the entries and because it will
change how you want to carry out migration, it is an abstract class.

       a. Currently we invoke `KisInputProfileMigrator5To6`, which
       handles the migration where we have need to import only the new
       touch shortcuts.

4. Once we've migrated, we copy the old file to same directory with
version number suffix added to the filename -- this old file is what
will be loaded by the old version of Krita if it ever is opened.

5. That's all, at this point we can save the new profile at the location
where the old version was.
Related: bug 455846

M  +1    -1    krita/data/input/kritadefault.profile
M  +1    -1    krita/data/input/painttoolsaicompatible.profile
M  +1    -1    krita/data/input/photoshopcompatible.profile
M  +1    -0    libs/ui/CMakeLists.txt
A  +105  -0    libs/ui/input/KisInputProfileMigrator.cpp     [License: LGPL(v2.0+)]
A  +65   -0    libs/ui/input/KisInputProfileMigrator.h     [License: LGPL(v2.0+)]
M  +109  -53   libs/ui/input/kis_input_profile_manager.cpp
M  +7    -0    libs/ui/input/kis_input_profile_manager.h

https://invent.kde.org/graphics/krita/commit/cc8f304a7da266b909d70104ce0d9de7aee7f3b8
Comment 11 sh_zam 2022-08-09 08:06:08 UTC
Git commit 6346889b7d9f7e7f988f48896af333204df9d306 by Sharaf Zaman.
Committed on 09/08/2022 at 07:42.
Pushed by szaman into branch 'krita/5.1'.

Make Krita's canvas input profile migrate-able from version 5 to 6

The porting (PROFILE_VERSION - 1) to PROFILE_VERSION works as something
like this, with entry point being loadProfile():

1. We fill two lists, `profileEntries`: one with profiles with profile version being
PROFILE_VERSION, `profileEntriesToMigrate`: one with profiles with version
being (PROFILE_VERSION - 1).

2. We go through the list we want to migrate and check if there is a
corresponding version of it in `profileEntries` and that has to exist in
user-local directory (not in install location -- which is the profile
version we ship).

        a. If there doesn't exist one, we migrate the profile entry. And
        remove it from `profileEntriesToMigrate`.
        b. If there exists one (which isn't in user-local), we don't
        migrate.

3. Once we get what we have to migrate and what we don't. We invoke
`KisInputProfileMigrator` to migrate the entries and because it will
change how you want to carry out migration, it is an abstract class.

       a. Currently we invoke `KisInputProfileMigrator5To6`, which
       handles the migration where we have need to import only the new
       touch shortcuts.

4. Once we've migrated, we copy the old file to same directory with
version number suffix added to the filename -- this old file is what
will be loaded by the old version of Krita if it ever is opened.

5. That's all, at this point we can save the new profile at the location
where the old version was.
Related: bug 455846
(cherry picked from commit cc8f304a7da266b909d70104ce0d9de7aee7f3b8)

M  +1    -1    krita/data/input/kritadefault.profile
M  +1    -1    krita/data/input/painttoolsaicompatible.profile
M  +1    -1    krita/data/input/photoshopcompatible.profile
M  +1    -0    libs/ui/CMakeLists.txt
A  +105  -0    libs/ui/input/KisInputProfileMigrator.cpp     [License: LGPL(v2.0+)]
A  +65   -0    libs/ui/input/KisInputProfileMigrator.h     [License: LGPL(v2.0+)]
M  +109  -53   libs/ui/input/kis_input_profile_manager.cpp
M  +7    -0    libs/ui/input/kis_input_profile_manager.h

https://invent.kde.org/graphics/krita/commit/6346889b7d9f7e7f988f48896af333204df9d306