Bug 432455 - canvas input settings shortcuts not working after save file
Summary: canvas input settings shortcuts not working after save file
Status: REPORTED
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 normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-02-03 10:01 UTC by barberapali
Modified: 2021-02-08 04:33 UTC (History)
1 user (show)

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


Attachments
system wide shortcuts (72.81 KB, image/jpeg)
2021-02-07 19:31 UTC, barberapali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description barberapali 2021-02-03 10:01:59 UTC
SUMMARY
canvas input settings shortcuts stop responding from time to time, most common situation that can reproduce the bug all the time is when saving the file after a new file creation.
A temporary fix is to open the settings dialog and just close it. The behavior gets back to normal.

Tested on Android11/Samsung galaxy TabS7+

While painting sometimes the shortcuts from canvas input settings stop responding , usually on some operations that draw another window on top of krita's but can not reproduce it 100%.  

STEPS TO REPRODUCE
1. open krita
2. create new document
3. pan , zoom , rotate or do any operations involving shortcuts set in Canvas Input Settings(default space + left button and drag to pan canvas) all works as intended
4. save the document
5. try to repeat step 3. nothing works, i can pan, zoom rotate with the fingers or using the hand tool but the spacebar+ left click does not work, nor any other shortcut set in canvas input settings
6. open settings>configure krita dialog
7. close the dialog
8. repeat step 3 , all works as intended 


OBSERVED RESULT
sometimes the shortcuts set in canvas input settings stop working after some operations (100% reproductibility for me are the steps described above but from time to time on longer drawing sessions they stop working). Opening the configure krita dialog and just closing it will do the trick all the time.

EXPECTED RESULT
shortcuts set in canvas input settings should work as intended

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 barberapali 2021-02-03 22:29:44 UTC
another way to reproduce it:
1.create new doc
2.pan zoom rotate using shortcuts set in Canvas Input Settings, things should work as expected
3.press Alt+F to display the file menu, click anywhere on the canvas to dismiss the menu
4.repeat step2 , it no longer works for pan zoom or rotate
5. go to the 3 dots menu and select the file menu manually to get it displayed ,click anywhere on the canvas to dismiss the menu
6.repeat step 2, all is working as it should now
Comment 2 sh_zam 2021-02-05 11:51:43 UTC
Hello!

I can't reproduce this issue on my tablet :/

I tried both steps, saving document and ALT+F. But it worked fine. Sometimes ALT would bring up emoji board, but it went away with a tap.

Could you tell what soft-keyboard you're using? Is it the default one from Samsung?
Comment 3 barberapali 2021-02-07 19:31:49 UTC
Created attachment 135491 [details]
system wide shortcuts
Comment 4 barberapali 2021-02-07 19:34:47 UTC
i have the default samsung keyboard.
As for the physical keyboard i have a logitech k810 and also tried with a full usb keyboard attached via adaptor to usbc port, i have the same behaviour with shortcuts temporarily not working.

On a deeper search I found these settings(attachment) : what looks like systemwide shortcuts to change the language and i can not deactivate all, one must be active ... these might interfere with the combo i have set up for krita as well that have alt/ shift or control and space ... will investigate more if all is ok on your device
Comment 5 Bug Janitor Service 2021-02-08 04:33:13 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.