https://bugs.kde.org/show_bug.cgi?id=463543

            Bug ID: 463543
           Summary: Long press interpreted as right click with external
                    usb mouse
    Classification: Applications
           Product: krita
           Version: 5.1.4
          Platform: Android
                OS: ChromeOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Usability
          Assignee: krita-bugs-n...@kde.org
          Reporter: japel...@gmail.com
  Target Milestone: ---

SUMMARY

I have problem dragging slider,etc when my external usb mouse's long left click
is interpreted as long press (which translates to right click).  There should
be different interpretation when using external usb mouse with 3-buttons and a
slider and when using for example the pen on touchscreen where there is no
other way to create right click except long press... In my case I would be
happy to just disable the left click interpretation as long press inside Krita.
I use mouse to access menus, sliders, etc and the pen just for drawing.

***
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.  Try sliding sliders by pressing external mouse left click for just a little
too long before slide motion
2.  right click menu appears instead of being able to slide the sliders...
3. 

OBSERVED RESULT


EXPECTED RESULT

Krita

 Version: 5.1.4
 Hidpi: true

Qt

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

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.10.145-987484-ga780dfc91c86
  Pretty Productname: Android  (11.0)
  Product Type: android
  Product Version: 11.0
  Product Model: Google volteer

Locale

  Languages: en, en_US, en_Latn_US
  C locale: C.UTF-8
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8

OpenGL Info

  Vendor:  "Mesa/X.org" 
  Renderer:  "virgl (Mesa Intel(R) UHD Graphics (TGL GT2))" 
  Version:  "OpenGL ES 3.1 Mesa 22.3.0-devel (git-e7be4fa659)" 
  Shading language:  "OpenGL ES GLSL ES 3.10" 
  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.1, 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.1
     Supports deprecated functions false 
     is OpenGL ES: true 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: false 
  Extensions: 
     "GL_KHR_blend_equation_advanced" 
     "GL_OES_texture_stencil8" 
     "GL_NV_read_depth_stencil" 
     "GL_OES_tessellation_shader" 
     "" 
     "GL_OES_draw_buffers_indexed" 
     "GL_OES_texture_half_float" 
     "GL_OES_tessellation_point_size" 
     "GL_OES_gpu_shader5" 
     "GL_EXT_copy_image" 
     "GL_OES_EGL_sync" 
     "GL_ANGLE_texture_compression_dxt3" 
     "GL_EXT_texture_view" 
     "GL_OES_texture_cube_map_array" 
     "GL_EXT_base_instance" 
     "GL_OES_texture_buffer" 
     "GL_EXT_polygon_offset_clamp" 
     "GL_OES_texture_half_float_linear" 
     "GL_EXT_texture_norm16" 
     "GL_OES_sample_variables" 
     "GL_OES_geometry_point_size" 
     "GL_OES_compressed_ETC1_RGB8_texture" 
     "GL_OES_EGL_image" 
     "GL_OES_vertex_array_object" 
     "GL_OES_EGL_image_external_essl3" 
     "GL_MESA_shader_integer_functions" 
     "GL_OES_stencil8" 
     "GL_EXT_tessellation_point_size" 
     "GL_OES_shader_io_blocks" 
     "GL_EXT_texture_format_BGRA8888" 
     "GL_OES_EGL_image_external" 
     "GL_OES_shader_multisample_interpolation" 
     "GL_NV_conditional_render" 
     "GL_KHR_debug" 
     "GL_OES_texture_view" 
     "GL_EXT_texture_cube_map_array" 
     "GL_OES_vertex_half_float" 
     "GL_EXT_multi_draw_arrays" 
     "GL_EXT_texture_compression_bptc" 
     "GL_ANGLE_pack_reverse_row_order" 
     "GL_OES_geometry_shader" 
     "GL_KHR_parallel_shader_compile" 
     "GL_KHR_robustness" 
     "GL_ANGLE_texture_compression_dxt5" 
     "GL_EXT_texture_sRGB_decode" 
     "GL_KHR_context_flush_control" 
     "GL_EXT_texture_compression_s3tc_srgb" 
     "GL_EXT_tessellation_shader" 
     "GL_EXT_draw_elements_base_vertex" 
     "GL_NV_shader_noperspective_interpolation" 
     "GL_OES_required_internalformat" 
     "GL_EXT_texture_type_2_10_10_10_REV" 
     "GL_EXT_shader_integer_mix" 
     "GL_NV_read_stencil" 
     "GL_EXT_texture_sRGB_R8" 
     "GL_KHR_texture_compression_astc_ldr" 
     "GL_OES_draw_elements_base_vertex" 
     "GL_EXT_texture_filter_anisotropic" 
     "GL_OES_surfaceless_context" 
     "GL_EXT_clip_cull_distance" 
     "GL_OES_mapbuffer" 
     "GL_OES_depth_texture" 
     "GL_EXT_texture_compression_dxt1" 
     "GL_APPLE_texture_max_level" 
     "GL_EXT_geometry_shader" 
     "GL_EXT_separate_shader_objects" 
     "GL_OES_rgb8_rgba8" 
     "GL_OES_sample_shading" 
     "GL_EXT_blend_func_extended" 
     "GL_EXT_geometry_point_size" 
     "GL_KHR_no_error" 
     "GL_EXT_clear_texture" 
     "GL_OES_packed_depth_stencil" 
     "GL_EXT_draw_buffers" 
     "GL_EXT_EGL_image_storage" 
     "GL_NV_draw_buffers" 
     "GL_EXT_draw_instanced" 
     "GL_EXT_color_buffer_half_float" 
     "GL_OES_standard_derivatives" 
     "GL_EXT_unpack_subimage" 
     "GL_EXT_texture_buffer" 
     "GL_NV_read_depth" 
     "GL_EXT_shader_io_blocks" 
     "GL_EXT_texture_border_clamp" 
     "GL_EXT_shader_implicit_conversions" 
     "GL_OES_primitive_bounding_box" 
     "GL_MESA_framebuffer_flip_y" 
     "GL_OES_element_index_uint" 
     "GL_KHR_texture_compression_astc_sliced_3d" 
     "GL_OES_texture_float_linear" 
     "GL_EXT_texture_compression_rgtc" 
     "GL_EXT_texture_compression_s3tc" 
     "GL_OES_depth_texture_cube_map" 
     "GL_EXT_disjoint_timer_query" 
     "GL_EXT_frag_depth" 
     "GL_KHR_robust_buffer_access_behavior" 
     "GL_EXT_sRGB_write_control" 
     "GL_EXT_texture_query_lod" 
     "GL_EXT_compressed_ETC1_RGB8_sub_texture" 
     "GL_OES_texture_border_clamp" 
     "GL_EXT_debug_marker" 
     "GL_OES_fbo_render_mipmap" 
     "GL_EXT_float_blend" 
     "GL_EXT_gpu_shader5" 
     "GL_NV_read_buffer" 
     "GL_EXT_map_buffer_range" 
     "GL_EXT_clip_control" 
     "GL_EXT_robustness" 
     "GL_EXT_read_format_bgra" 
     "GL_NV_pixel_buffer_object" 
     "GL_NV_image_formats" 
     "GL_OES_depth24" 
     "GL_OES_copy_image" 
     "GL_EXT_depth_clamp" 
     "GL_EXT_texture_rg" 
     "GL_OES_shader_image_atomic" 
     "GL_OES_texture_npot" 
     "GL_OES_texture_float" 
     "GL_EXT_blend_minmax" 
     "GL_MESA_bgra" 
     "GL_EXT_primitive_bounding_box" 
     "GL_OES_get_program_binary" 
     "GL_EXT_discard_framebuffer" 
     "GL_OES_texture_3D" 
     "GL_NV_pack_subimage" 
     "GL_NV_fbo_color_attachments" 
     "GL_EXT_occlusion_query_boolean" 
     "GL_OES_viewport_array" 
     "GL_EXT_render_snorm" 
     "GL_EXT_draw_buffers_indexed" 
     "GL_ANDROID_extension_pack_es31a" 
     "GL_EXT_color_buffer_float" 
     "GL_EXT_texture_mirror_clamp_to_edge" 
     "GL_OES_texture_storage_multisample_2d_array" 

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

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: angle
  Memory: 6637 Mb
  Number of Cores: 4
  Swap Location: /data/data/org.krita/cache
  Built for: sse4.2
  Base instruction set: sse4.2
  Supported instruction sets: 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
  Resource Location: /storage/emulated/0/Android/data/org.krita/files
  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
                Physical DPI143.469
                Logical DPI72
                Physical Size: 340, 177
                Position: 0, 0
                Resolution in pixels: 1920x1000
                Manufacturer: 
                Model: 
                Refresh Rate: 60


---------------------


---------------------
Krita

 Version: 5.1.4
 Hidpi: true

Qt

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

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.10.145-987484-ga780dfc91c86
  Pretty Productname: Android  (11.0)
  Product Type: android
  Product Version: 11.0
  Product Model: Google volteer

Locale

  Languages: en, en_US, en_Latn_US
  C locale: C.UTF-8
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8


Hardware Information

  GPU Acceleration: angle
  Memory: 6637 Mb
  Number of Cores: 4
  Swap Location: /data/data/org.krita/cache
  Built for: sse4.2
  Base instruction set: sse4.2
  Supported instruction sets: 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
  Resource Location: /storage/emulated/0/Android/data/org.krita/files
  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
                Physical DPI143.469
                Logical DPI72
                Physical Size: 340, 177
                Position: 0, 0
                Resolution in pixels: 1920x1000
                Manufacturer: 
                Model: 
                Refresh Rate: 60


---------------------

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to