Bug 513130 - On-canvas text tool keyboard pans application window up depending on initial screen position
Summary: On-canvas text tool keyboard pans application window up depending on initial ...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Android Android 14.x
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-09 16:35 UTC by dra.w.p.il.e+bugskde
Modified: 2025-12-09 16:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.