HomeiOS Developmentkivy iOS TextInput loses focus because of the suggestion and shortcut bar...

kivy iOS TextInput loses focus because of the suggestion and shortcut bar with exterior keyboard


As anticipated, when a textual content area is chosen, it receives focus and I can enter textual content. The shortcut bar seems on the backside of the display. If I then choose one other textual content area, it’s chosen briefly and loses focus after a short while. Additionally, all the app jumps up by the peak of the shortcut bar for a quick second.

If no keyboard is linked, then there may be solely the issue with the leaping format.
As already reported and never resolved: https://github.com/kivy/kivy/points/5235

The app labored and is within the Appstore since Sept. 2022. Previous working construct compiled with xcode on macOS 10.15 Catalina. Since App Retailer Join not helps the outdated xcode model, I switched to Xcode 14.3.1 and macOS Ventura. I’ve additionally tried Xcode model 15 beta and Xcode 14. Kivy 2.0.0dev and Kivy 2.2.1. Copied the mission file 1:1 and created a brand new mission file from scratch and reinstalled kivy-ios. Identical difficulty.

I can rule out:

  • Downside will not be within the code, as a result of by way of github totally different prior to now working variations had been examined. All with the identical consequence.
  • Downside will not be with the {hardware} keyboard, as totally different iPads with totally different keyboards have been examined.

After I rapidly swap forwards and backwards between textual content fields I get the message from xcode:

[Assert] UIFocusItem: <<_UIRemoteKeyboardPlaceholderView: 0x105d18e90; body = (0 0; 1024 0); layer = <CALayer: 0x28207cba0>>; measurement={1024, 0}> with parentFocusEnvironment: <UICompatibilityInputViewController: 0x1113d3600>  focusItemContainer: (null) has no coordinate house.

However I believe the issue lies elsewhere.

If I set Window.keyboard_anim_args = {'d': 1, 't': 'linear'} you possibly can clearly see that the main target is misplaced simply earlier than the animation begins and the app strikes up and down once more. If I set the length to 4 the app caught on the prime and by no means goes down. If I set the length to 0 the app nonetheless jumps up for a small fast second.

Now it will get fascinating:
If I flip off the shortcut bar in iPad beneath Common -> Keyboard -> Shortcut off and Ideas off, then I am unable to choose any textinputs in any respect. Instantly each chosen textinput loses the main target. You may see the cursor flashing briefly.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments