Bug 513130

Summary: On-canvas text tool keyboard pans application window up depending on initial screen position
Product: [Applications] krita Reporter: dra.w.p.il.e+bugskde
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dra.w.p.il.e+bugskde 2025-12-09 16:35:23 UTC
On Android, when you interact with the on-canvas text tool input and summon an on-screen keyboard on Android, the entire application window will pan up if the initial position of the input is near the bottom of the screen. This is wrong, if the user wants to see the input, they can pan the canvas to bring it into view, they don't need their entire window shifted. It also puts the selection handles in the wrong place because Qt doesn't offset the transform correctly on its own.

This probably requires patching Qt. QtNativeActivity.java has a variable m_softInputMode that decides on this behavior, but there's no interface for manipulating it.