Bug 432453 - panning, rotating zooming via shortcuts set in canvas input settings do not work as expected on other tools than Freehand Brush Tool (B)
Summary: panning, rotating zooming via shortcuts set in canvas input settings do not w...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (show other bugs)
Version: 4.4.2
Platform: Android Android 11.x
: NOR minor
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 09:27 UTC by barberapali
Modified: 2024-08-19 03:47 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 barberapali 2021-02-03 09:27:14 UTC
SUMMARY
panning, rotating zooming via shortcuts set in canvas input settings work as expected when Freehand Brush Tool (B) is active; 
Selecting any other tool then interacting with the canvas via shortcuts is broken.
This works fine on desktop.
Is broken on Android 11/ Galaxy TabS7+


STEPS TO REPRODUCE
1.select freehand brush tool from toolbox (default shortcut B)
2.press and hold the spacebar 
3.while still holding the spacebar consecutively click and drag on canvas : the canvas should pan as per click/drag combo as long as the keyboard shortcut for Pan Canvas in CanvasInputSettings is Space+ Left Button (default)
4.select freehand selection tool from toolbox (default shortcut L) or any other tool
5.press and hold the spacebar
6.click+drag on canvas, the canvas will move as expected initially, do not release the spacebar and click and drag again, the canvas should move again but instead you will draw a selection.

OBSERVED RESULT
on continually holding the spacebar consecutive click+drag will initially pan the canvas then on further click+drag it will use the tool currently active 
same for trying to rotate or zoom via the key combo set in input canvas (default Shift+Space+Left Button for rotate and Ctrl+Space+Left Button for zoom)

EXPECTED RESULT
on continually holding the spacebar consecutive click+drag should pan canvas consecutively with each click+drag .(the behaviour when the Freehand Brush Tool is active) 

Panning, zooming, rotating with Freehand Brush Tool (B) as active tool  works as expected ;  panning, zooming, rotating the canvas should work the same for any other tool selected, instead i noticed the scenario explained above .

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

ADDITIONAL INFORMATION
Krita

 Version: 4.4.2
 Languages: C
 Hidpi: true

Qt

  Version (compiled): 5.12.9
  Version (loaded): 5.12.9

OS Information

  Build ABI: arm64-little_endian-lp64
  Build CPU: arm64
  CPU: arm64
  Kernel Type: linux
  Kernel Version: 4.19.113-20748183
  Pretty Productname: Android  (11.0)
  Product Type: android
  Product Version: 11.0
  Desktop: 

OpenGL Info
 
  Vendor:  "Qualcomm" 
  Renderer:  "Adreno (TM) 650" 
  Version:  "OpenGL ES 3.2 V@0502.0 (GIT@7c6959d1f7, Ifdda647016, 1599142814) (Date:09/03/20)" 
  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 

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

Hardware Information

  GPU Acceleration: angle
  Memory: 5562 Mb
  Number of Cores: 8
  Swap Location: /data/user/0/org.krita/files

Current Settings

  Current Swap Location: /data/user/0/org.krita/files
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 30
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Use AMD Vectorization Workaround: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  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.31253
		Resolution in pixels: 2133x1287
		Manufacturer: 
		Model: 
		Refresh Rate: 60

Current Settings

  Current Swap Location: /data/user/0/org.krita/files
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 30
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Use AMD Vectorization Workaround: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  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
Comment 1 Dmitry Kazakov 2024-07-19 09:26:41 UTC
Hi, barberapali!

Could you check if the bug is still valid in the recently release Krita 5.2.3? We have fixed a lot of issues with input actions since then...

If you can still see the bug in the release build, could you also check the build from my merge request here: 

https://invent.kde.org/graphics/krita/-/pipelines/736398

It addresses the interactions of the touch and stylus actions, so it might really fix this issue.
Comment 2 Bug Janitor Service 2024-08-03 03:46:24 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-08-19 03:47:31 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.