Skip to content

App freezes when switching to a third-party keyboard (Typewise) #1738

Closed

Description

@jullbo

Hi,

WebSSH freezes when I switch from the default iOS keyboard to the
Typewise keyboard while connected to an SSH session.

Steps to reproduce:

  1. Open WebSSH and connect to an SSH server.
  2. Tap into the terminal so the default iOS keyboard appears.
  3. Switch to the Typewise keyboard (globe key).

Result: the app freezes and does not respond. After force-quitting
it
twice it returns to the home screen; the SSH session is lost.

Expected: the keyboard switches and the session continues.

This started recently, I believe after one of the last WebSSH
updates;
it used to work.

iPhone model: iPhone 16
iOS version: 26.6.2
WebSSH version: v33 (Ladybug)
Typewise version: 4.4.5 (589)

Thanks!

Activity

  1. github-actions commented on Oct 2, 2026

    @github-actions

    Thank you for your feedback! 🙏 Arnaud (@isontheline) will respond within a few hours. In the meantime, please feel free to add any additional information that may help us resolve or improve WebSSH.

  2. isontheline commented on Oct 2, 2026

    @isontheline
    Owner

    Hey @jullbo 👋

    Thanks a lot for your report 🙏

    Have you some time to make the crash again against this beta release?
    https://testflight.apple.com/join/QSrBK59z

    It will help me to receive a full crash report to better understand the root issue.

    Have a great day ☀️

  3. jullbo commented on Oct 2, 2026

    @jullbo
    Author
  4. isontheline commented on Oct 2, 2026

    @isontheline
    Owner

    Unfortunately not yet, I'll check again

  5. jullbo commented on Oct 2, 2026

    @jullbo
    Author
  6. isontheline commented on Oct 3, 2026

    @isontheline
    Owner

    Thanks for these two reports, I will try to find useful data from them
    I don't have received on the App Store the crash reports, perhaps because you should have denied to share them with Apple/Developers? (System setting)

  7. jullbo commented on Oct 3, 2026

    @jullbo
    Author
  8. isontheline commented on Oct 3, 2026

    @isontheline
    Owner

    I will check again this afternoon

    Image
  9. isontheline commented on Oct 4, 2026

    @isontheline
    Owner

    Just received crash reports, I will look at them this afternoon

  10. isontheline commented on Oct 4, 2026

    @isontheline
    Owner

    In fact instead of the crash report I only received this feedback report :

    {
      "id" : "REDACTED",
      "timestamp" : "2026-10-03T20:27:01.472Z[UTC]",
      "appAppleId" : 497714887,
      "cfBundleShortVersion" : "33.1",
      "cfBundleVersion" : "1846",
      "deviceModel" : "iPhone17,3",
      "osVersion" : "26.6.2",
      "locale" : "de-DE",
      "carrier" : "Vodafone.de",
      "timezone" : "REDACTED",
      "architecture" : "arm64e",
      "connectionStatus" : "WI_FI",
      "pairedAppleWatch" : "",
      "appUptimeMillis" : null,
      "availableDiskBytes" : 18963959808,
      "totalDiskBytes" : 127317213184,
      "networkType" : null,
      "batteryPercentage" : 25,
      "screenWidth" : 393,
      "screenHeight" : 852,
      "emailAddress" : "REDACTED",
      "comment" : "Hi sure, I have installed the test flight version and reproduced the crash. Let me know if you need more. "
    }

    That's strange, I'm searching why

  11. isontheline commented on Oct 4, 2026

    @isontheline
    Owner

    @jullbo I've just identified a possible root cause.

    Could you hide the State Bar (by using the "..." top right menu) and make your test again?

  12. jullbo commented on Oct 4, 2026

    @jullbo
    Author

    I have repeated my test and disabled state bar, no crash but still with lags. Then I also disabled the keyboard bar and then it crashed again. I have sent the report again via test flight.

  13. isontheline commented on Oct 4, 2026

    @isontheline
    Owner

    I'm trying to reproduce on my iPhone with Typewise but without success yet, no freeze yet

  14. jullbo commented on Oct 5, 2026

    @jullbo
    Author

    I had a look at the two .ips files I attached:

    • It's not a real crash, the app hangs. The CPU report shows it
      stuck redrawing the screen layout for almost 2 minutes, while memory
      grows from 11 MB to 778 MB. Maybe the keyboard change triggers a
      layout update that never ends.
    • The other report only comes from my force-quit. That's probably
      why you get no crash report, because iOS doesn't report a hang as a
      crash.
    • My Typewise setup: hexagon layout, German, English (US) and
      Turkish, full access on.

    If you symbolicate the CPU report with your debug symbols (build
    1846), it should show which view is stuck.
    I don‘t know if it helps, let me know if I can do anything to further assist.

  15. isontheline commented on Oct 5, 2026

    @isontheline
    Owner

    If you symbolicate the CPU report with your debug symbols (build 1846), it should show which view is stuck.

    I've tried with no luck unfortunately:(

    If you have some time, you can rollback to a previous release if you think WebSSH is the root cause :
    https://testflight.apple.com/join/QSrBK59z

    Maybe it can help me to find the binary which introduce the trouble

  16. jullbo commented on Oct 6, 2026

    @jullbo
    Author

    I bisected the TestFlight builds with the same steps
    (switch from the iOS keyboard to Typewise with the globe key):

    • 32.4 (1765): no freeze
    • 1802, 1820, 1826: no freeze
    • 32.10 (1828): no freeze
    • 32.10 (1829): no freeze <- last good build
    • 32.10 (1830): freezes <- first bad build (verified twice,
      froze on the first try)
    • 1835, 1839, 33.0 (1841), 33.1 (1847): freeze

    According to the release notes, 1830 only added 1time.io v3
    support (#1713) and search on buffer (#539). Could the buffer
    search UI react to the keyboard height change? Typewise has a
    different height than the iOS keyboard, and the CPU report showed
    the app stuck in layout for ~2 minutes.

  17. self-assigned this
    on Oct 6, 2026
  18. added this to the 33 - Ladybug milestone on Oct 6, 2026
  19. isontheline commented on Oct 6, 2026

    @isontheline
    Owner

    @jullbo Thank you so much for your feedback about the last good build 🙏

    Your assumption seems a very good start, I'm looking deeper inside it right now

  20. isontheline commented on Oct 6, 2026

    @isontheline
    Owner

    A (possible) fix will be provided soon

    "Possible" because I can't reproduce but I'm pretty confident thanks to your strong feedback about the root cause

  21. isontheline commented on Oct 6, 2026

    @isontheline
    Owner

    @jullbo Please try latest WebSSH 33.1.1848 : https://testflight.apple.com/join/QSrBK59z

  22. jullbo commented on Oct 6, 2026

    @jullbo
    Author

    1848 is not crashing/freezing anymore. What ever you did, it seems to fix the issue!!

  23. jullbo commented on Oct 6, 2026

    @jullbo
    Author

    Thanks for the fix!

  24. isontheline commented on Oct 7, 2026

    @isontheline
    Owner

    You're welcome!

    Thank you too for your strong feedback and your patience about the fix 🙏

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

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions