Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug (iOS): Shavian keyboard freezes when typing third character #8786

Open
1 of 8 tasks
trosel opened this issue May 13, 2023 · 14 comments
Open
1 of 8 tasks

bug (iOS): Shavian keyboard freezes when typing third character #8786

trosel opened this issue May 13, 2023 · 14 comments
Assignees

Comments

@trosel
Copy link

trosel commented May 13, 2023

Describe the bug

IMG_6307

when typing the third shavian character (doesn’t matter which one), keyman freezes.

Reproduce the bug

Go to any text box on iOS
Try to type three shavian characters

Expected behavior

I can continue typing without the keyboard freezing

Related issues

No response

Keyman apps

  • Keyman for Android
  • Keyman for iPhone and iPad
  • Keyman for Linux
  • Keyman for macOS
  • Keyman for Windows
  • Keyman Developer
  • KeymanWeb
  • Other - give details at bottom of form

Keyman version

16.0.139

Operating system

iOS 16.4.1 (a)

Device

iphone 8 plus

Target application

every text box on iOS

Browser

No response

Keyboard name

No response

Keyboard version

No response

Language name

Shavian (English)

Additional context

No response

@trosel trosel added the bug label May 13, 2023
@trosel trosel changed the title bug: Shavian keyboard freezes when typing third character bug (iOS): Shavian keyboard freezes when typing third character May 13, 2023
@trosel
Copy link
Author

trosel commented May 15, 2023

This also just happened on the 5th character.

And every time I return to the same textbox, it’s almost as if that text is just corrupted. Because nothing makes it work.

It could be an issue with the cache of the app. Like the keyboard almost remembered that “I’m supposed to freeze at this point”. Some kind of overflow maybe

@trosel
Copy link
Author

trosel commented May 16, 2023

Test: I tried copy and pasting one extra shavian character to get beyond the blocked point.

Result:
IMG_6353

@jahorton jahorton added the ios/ label May 17, 2023
@trosel
Copy link
Author

trosel commented May 17, 2023

I notice that the keyboard also freezes when I tap a predictive text word option sometimes. Could be related to keymanapp/lexical-models#230

I'm wondering if this is an iOS16.4 thing. Maybe an API changed? Something about the cache is different I think. Keyboard gets overloaded and clunky a lot quicker.

@mcdurdin mcdurdin added this to the A17S14 milestone May 29, 2023
@mcdurdin mcdurdin self-assigned this May 29, 2023
@mcdurdin
Copy link
Member

Trying to reproduce this now in latest iOS simulator (it's an all-day job to update XCode...)

@mcdurdin
Copy link
Member

runningboardd   [application<Tavultesoft.Keyman>:714] client not entitled to get limitationsForInstance: <Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}>
kernel          4 duplicate reports for Sandbox: com.apple.WebKit.GPU(718) deny(1) mach-lookup com.apple.diagnosticd

@mcdurdin
Copy link
Member

@jahorton
Copy link
Contributor

Another notable part from that posting:

I’ve done some further tests. Simply changing the “text” field in english_shavian_qwerty to remove the surrogate pairs didn’t fix the problem. However, when I changed the font (as I did with english_shavian_igc as well), the problem seemed to be fixed. I tried just changing the font and leaving the the keyman-touch-layout file otherwise the same (with surrogate pairs) and it worked.

So, maybe it was a problem with the original font, but I’m still unsure why it only appeared in April 2023 after using it for some years.

@trosel
Copy link
Author

trosel commented May 30, 2023

So, maybe it was a problem with the original font, but I’m still unsure why it only appeared in April 2023 after using it for some years.

The issue occurred only after I updated my operating system to iOS 16.4.1(a). So theoretically it could be a change in some APIs of the operating system.

edit: I see much discussion is happening on the forum post linked above. will check there too

@mcdurdin
Copy link
Member

mcdurdin commented Jun 6, 2023

Treating this as an Apple bug. Waiting on Apple's response to FB12210511.

@mcdurdin mcdurdin modified the milestones: A17S14, Waiting-external Jun 6, 2023
@mcdurdin
Copy link
Member

mcdurdin commented Jul 7, 2023

Will close this issue, if Apple ever respond to our bug report I'll update this.

@mcdurdin mcdurdin closed this as completed Jul 7, 2023
@mcdurdin mcdurdin reopened this Mar 28, 2024
@mcdurdin
Copy link
Member

Apple have asked us to re-test with iOS 17.1.2. @trosel are you able to do that?

It seems Apple asked us to re-test a few months ago but Apple's woeful feedbackassistant.apple.com site doesn't do notifications, so it's just because I happened to look at the feedback report after submitting another one that I saw the request...

@sgschantz
Copy link
Contributor

sgschantz commented Apr 2, 2024

I retested and the issue still exists with iOS 17.2.1

edit: Also exists with iOS 17.4.1

@jahorton
Copy link
Contributor

jahorton commented Apr 2, 2024

If there's a newer version, you may as well retest with that - we got back to them "later enough" that they'll probably ask again, but with the current most-recent version (which, today, is 17.4.1, I think?).

@sgschantz
Copy link
Contributor

Attached sysdiagnose file to issue in Apple's Feedback Assistant after reproducing with iOS 17.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants