Bug 459254 - In the canvas input settings, there are redundant four-finger tap gestures for zooming the canvas, causing gesture conflicts.
Summary: In the canvas input settings, there are redundant four-finger tap gestures fo...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (show other bugs)
Version: 5.1.1
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2022-09-17 07:05 UTC by Eranthis stellata Maxim
Modified: 2023-02-27 10:54 UTC (History)
1 user (show)

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


Attachments
A four-finger touch gesture that shouldn't exist for zooming the canvas. (23.88 KB, image/png)
2022-09-17 07:05 UTC, Eranthis stellata Maxim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eranthis stellata Maxim 2022-09-17 07:05:28 UTC
Created attachment 152140 [details]
A four-finger touch gesture that shouldn't exist for zooming the canvas.

SUMMARY
In the canvas input settings, there are redundant four-finger tap gestures for zooming the canvas, causing gesture conflicts.
This gesture can't even be deleted.

STEPS TO REPRODUCE
1. Change the gesture of Toggle Canvas Only Mode to five-finger tap.
2. Change the gesture of the Show Popup Widget to a four-finger tap.
3. Four-finger tap.

OBSERVED RESULT
Four-finger tap doesn't work.

EXPECTED RESULT
Four-finger tap on the normal Show Popup Widget.

SOFTWARE/OS VERSIONS
Krita

 Version: 5.1.1
 Hidpi: true

Qt

  Version (compiled): 5.12.12
  Version (loaded): 5.12.12

OS Information

  Build ABI: arm64-little_endian-lp64
  Build CPU: arm64
  CPU: arm64
  Kernel Type: linux
  Kernel Version: 5.4.86-qgki-23595105-abT733XXU1BVH1
  Pretty Productname: Android  (12.0)
  Product Type: android
  Product Version: 12.0
  Product Model: Samsung SM-T733

Locale

  Languages: zh, zh_CN, zh_CN
  C locale: C.UTF-8
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8

OpenGL Info
 
  Vendor:  "Qualcomm" 
  Renderer:  "Adreno (TM) 642L" 
  Version:  "OpenGL ES 3.2 V@0530.0 (GIT@009e9bf746, I4cc83cbab4, 1623344793) (Date:06/10/21)" 
  Shading language:  "OpenGL ES GLSL ES 3.20" 
  Requested format:  QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
  Current format:  QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
     Version: 3.2
     Supports deprecated functions false 
     is OpenGL ES: true 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: false 
  Extensions: 
     "GL_QCOM_shading_rate" 
     "GL_EXT_sRGB_write_control" 
     "GL_EXT_multisampled_render_to_texture2" 
     "GL_OES_texture_view" 
     "GL_OES_texture_compression_astc" 
     "GL_EXT_buffer_storage" 
     "GL_EXT_primitive_bounding_box" 
     "GL_OES_rgb8_rgba8" 
     "GL_KHR_texture_compression_astc_ldr" 
     "GL_EXT_texture_filter_anisotropic" 
     "GL_EXT_texture_sRGB_decode" 
     "GL_EXT_multisampled_render_to_texture" 
     "GL_OVR_multiview_multisampled_render_to_texture" 
     "GL_QCOM_motion_estimation" 
     "GL_EXT_sRGB" 
     "GL_OES_texture_stencil8" 
     "GL_EXT_discard_framebuffer" 
     "GL_OES_texture_storage_multisample_2d_array" 
     "GL_EXT_EGL_image_array" 
     "GL_OES_element_index_uint" 
     "GL_EXT_debug_marker" 
     "GL_OES_sample_variables" 
     "GL_EXT_blit_framebuffer_params" 
     "GL_OES_depth24" 
     "GL_EXT_memory_object" 
     "GL_NV_shader_noperspective_interpolation" 
     "GL_EXT_copy_image" 
     "GL_EXT_texture_cube_map_array" 
     "GL_EXT_debug_label" 
     "GL_EXT_clip_cull_distance" 
     "GL_OES_texture_float_linear" 
     "GL_EXT_texture_sRGB_R8" 
     "GL_OES_get_program_binary" 
     "GL_EXT_gpu_shader5" 
     "GL_QCOM_texture_foveated_subsampled_layout" 
     "GL_OES_vertex_array_object" 
     "GL_EXT_clip_control" 
     "GL_EXT_texture_norm16" 
     "GL_EXT_EGL_image_external_wrap_modes" 
     "GL_KHR_blend_equation_advanced_coherent" 
     "GL_EXT_shader_non_constant_global_initializers" 
     "GL_OES_texture_npot" 
     "GL_OES_packed_depth_stencil" 
     "GL_EXT_read_format_bgra" 
     "GL_EXT_texture_format_sRGB_override" 
     "GL_OES_depth_texture" 
     "GL_ANDROID_extension_pack_es31a" 
     "GL_AMD_compressed_ATC_texture" 
     "GL_OES_EGL_sync" 
     "GL_OES_texture_float" 
     "GL_QCOM_shader_framebuffer_fetch_noncoherent" 
     "GL_EXT_protected_textures" 
     "GL_KHR_blend_equation_advanced" 
     "GL_EXT_robustness" 
     "GL_OVR_multiview2" 
     "" 
     "GL_OES_framebuffer_object" 
     "GL_OES_shader_image_atomic" 
     "GL_QCOM_tiled_rendering" 
     "GL_EXT_color_buffer_float" 
     "GL_KHR_debug" 
     "GL_OVR_multiview" 
     "GL_KHR_no_error" 
     "GL_EXT_memory_object_fd" 
     "GL_QCOM_shader_framebuffer_fetch_rate" 
     "GL_EXT_texture_format_BGRA8888" 
     "GL_EXT_YUV_target" 
     "GL_EXT_geometry_shader" 
     "GL_EXT_texture_border_clamp" 
     "GL_OES_depth_texture_cube_map" 
     "GL_OES_compressed_ETC1_RGB8_texture" 
     "GL_EXT_EGL_image_storage" 
     "GL_OES_EGL_image_external_essl3" 
     "GL_OES_vertex_half_float" 
     "GL_ARM_shader_framebuffer_fetch_depth_stencil" 
     "GL_EXT_texture_type_2_10_10_10_REV" 
     "GL_QCOM_texture_foveated" 
     "GL_KHR_robust_buffer_access_behavior" 
     "GL_EXT_fragment_invocation_density" 
     "GL_QCOM_YUV_texture_gather" 
     "GL_EXT_tessellation_shader" 
     "GL_KHR_texture_compression_astc_hdr" 
     "GL_OES_EGL_image" 
     "GL_OES_surfaceless_context" 
     "GL_EXT_draw_buffers_indexed" 
     "GL_EXT_color_buffer_half_float" 
     "GL_OES_sample_shading" 
     "GL_EXT_shader_io_blocks" 
     "GL_EXT_texture_buffer" 
     "GL_EXT_shader_framebuffer_fetch" 
     "GL_OES_texture_half_float" 
     "GL_EXT_external_buffer" 
     "GL_QCOM_validate_shader_binary" 
     "GL_EXT_blend_func_extended" 
     "GL_OES_texture_half_float_linear" 
     "GL_OES_shader_multisample_interpolation" 
     "GL_OES_standard_derivatives" 
     "GL_QCOM_alpha_test" 
     "GL_OES_texture_3D" 
     "GL_EXT_disjoint_timer_query" 
     "GL_OES_EGL_image_external" 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: true 

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: angle
  Memory: 7344 Mb
  Number of Cores: 8
  Swap Location: /data/data/org.krita/cache
  Built for: arm64+neon
  Base instruction set: arm64+neon
  Supported instruction sets: arm64+neon arm32+neon avx512bw avx512dq avx512cd avx512f fma3+avx2 avx2 fma3+avx avx fma4 fma3+sse4.2 sse4.2 sse4.1 ssse3 sse3 sse2 

Current Settings

  Current Swap Location: /data/data/org.krita/cache
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Display Information
Number of screens: 1
	Screen: 0
		Name: 
		Depth: 32
		Scale: 1.8756
		Physical DPI130.431
		Logical DPI71.9771
		Physical Size: 266, 166
		Position: 0, 0
		Resolution in pixels: 1365x853
		Manufacturer: 
		Model: 
		Refresh Rate: 60

Current Settings

  Current Swap Location: /data/data/org.krita/cache
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false



---------------------
================================================================================
SESSION: 17 Sep 2022 14:58:45 +0800. Executing /data/app/~~W_huevtIFI4kmF0x0owULw==/org.krita-TEOBf38LBPwwxE7t8R90eA==/lib/arm64/libkrita.so

Krita Version: 5.1.1, Qt version compiled: 5.12.12, loaded: 5.12.12. Process ID: 12926
-- -- -- -- -- -- -- --
17 Sep 2022 14:58:45 +0800: Style: fusion. Available styles: android, Windows, Fusion
17 Sep 2022 14:58:46 +0800: Creating database from scratch (database didn't exist, new schema version: 0.0.17).
17 Sep 2022 14:59:09 +0800: Created image "未命名", 2480 * 3508 pixels, 300 dpi. Color model: 8 位整数/通道 RGB/透明度 (sRGB-elle-V2-srgbtrc.icc). Layers: 2
17 Sep 2022 14:59:17 +0800: CLOSING SESSION
================================================================================
SESSION: 17 Sep 2022 14:59:18 +0800. Executing /data/app/~~W_huevtIFI4kmF0x0owULw==/org.krita-TEOBf38LBPwwxE7t8R90eA==/lib/arm64/libkrita.so

Krita Version: 5.1.1, Qt version compiled: 5.12.12, loaded: 5.12.12. Process ID: 13095
-- -- -- -- -- -- -- --
17 Sep 2022 14:59:18 +0800: Style: fusion. Available styles: android, Windows, Fusion
17 Sep 2022 14:59:19 +0800: Database is up to date. Version: 0.0.17, created by Krita 5.1.1, at 周六 9月 17 14:58:46 2022
17 Sep 2022 14:59:27 +0800: Created image "未命名", 2480 * 3508 pixels, 300 dpi. Color model: 8 位整数/通道 RGB/透明度 (sRGB-elle-V2-srgbtrc.icc). Layers: 2

---------------------
Comment 1 wolthera 2023-01-16 14:58:51 UTC
Hi, thank you for your report.

I can confirm with the Krita Version: 5.2.0-prealpha (git 5c98a72) Appimage with Qt 5.15.7

I'm going to assign this to sh_zam, it seems the basic problem is that the default input profile has this set up.
Comment 2 sh_zam 2023-02-27 10:53:57 UTC
Git commit 692ab763710b7ad15eca5635c9235f42794064a4 by Sharaf Zaman.
Committed on 27/02/2023 at 06:19.
Pushed by merge-service into branch 'master'.

Detect conflicts in Canvas Input Settings

Part-of: <https://invent.kde.org/graphics/krita/-/merge_requests/1725>

M  +6    -1    libs/ui/input/config/kis_action_shortcuts_model.cpp
M  +48   -1    libs/ui/input/config/kis_input_configuration_page.cpp
M  +5    -1    libs/ui/input/config/kis_input_configuration_page.h
M  +13   -0    libs/ui/input/config/kis_input_configuration_page_item.cpp
M  +5    -0    libs/ui/input/config/kis_input_configuration_page_item.h
M  +48   -34   libs/ui/input/config/kis_input_configuration_page_item.ui
M  +19   -0    libs/ui/input/kis_input_profile_manager.cpp
M  +6    -0    libs/ui/input/kis_input_profile_manager.h
M  +15   -0    libs/ui/input/kis_shortcut_configuration.cpp
M  +17   -0    libs/ui/input/kis_shortcut_configuration.h

https://invent.kde.org/graphics/krita/commit/692ab763710b7ad15eca5635c9235f42794064a4
Comment 3 sh_zam 2023-02-27 10:54:05 UTC
Git commit 721c4d6e1b0d0d580dc8ce47f3ecace968ee2992 by Sharaf Zaman.
Committed on 27/02/2023 at 06:19.
Pushed by merge-service into branch 'master'.

Remove conflicted touch gesture from default profiles

Part-of: <https://invent.kde.org/graphics/krita/-/merge_requests/1725>

M  +0    -1    krita/data/input/clipstudiopaintcompatible.profile
M  +0    -1    krita/data/input/kritadefault.profile

https://invent.kde.org/graphics/krita/commit/721c4d6e1b0d0d580dc8ce47f3ecace968ee2992