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

App locks up when tapping the message composer #6734

Closed
pixlwave opened this issue Sep 16, 2022 · 7 comments · Fixed by #6743
Closed

App locks up when tapping the message composer #6734

pixlwave opened this issue Sep 16, 2022 · 7 comments · Fixed by #6743
Labels
A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely os:iOS16 S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@pixlwave
Copy link
Member

pixlwave commented Sep 16, 2022

Steps to reproduce

  1. Run the app on iOS 16 on an iPhone 13 mini (probably others but I know this one works, tested on a real device and Xcode 14 simulator myself).
  2. Open a room and tap the message composer to reveal the keyboard (make sure the keyboard shows on the simulator).
  3. Type the following message but don't send it:

Doug
Test

Gggcv
Bbb

  1. You might notice the composer is one line too high, but maybe not.
  2. Navigate away from the room back to the hope screen.
  3. Open the room again.
  4. Tap on the message composer

Outcome

What did you expect?

To be able to continue typing

What happened instead?

The app locks up when trying to animate the keyboard onscreen in MXKViewController (the completion never gets called) and if left for long enough will crash.

Your phone model

iPhone 13 mini (device and simulator)

Operating system version

iOS 16

Application version

1.9.5

Homeserver

No response

Will you send logs?

No

@pixlwave pixlwave added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Sep 16, 2022
@pixlwave pixlwave added A-Composer S-Critical Prevents work, causes data loss and/or has no workaround O-Occasional Affects or can be seen by some users regularly or most users rarely labels Sep 16, 2022
@pixlwave
Copy link
Member Author

Looks like the crash is an OOM one:

Screenshot 2022-09-16 at 8 44 21 pm

@JoshMock
Copy link

Similar experience here. iPhone 13 mini, and I noticed it on iOS 15 as well as 16.

@JoshMock
Copy link

Even killing/restarting the app doesn’t always work. And sometimes I can message just fine in some channels then it crashes on other channels, even when both are hosted on the same server.

@jedieaston
Copy link

Same. Shoot, is this why element is so buggy for me but not other people? My fun-sized iPhone?

@pixlwave
Copy link
Member Author

Best sized iPhone 😉

@toshanmugaraj
Copy link
Contributor

I can't reproduce in my iPhone 11 , iOS 16.0 , matrix sdk 0.23.18.

@rosston
Copy link

rosston commented Sep 19, 2022

This happens to me on my iPhone 12 mini, iOS 16.0, Element 1.9.5. I didn't start seeing it until iOS 16, but I don't know for sure that that was the cause.

For me at least, I don't even have to go back to the main screen. Sometimes it freezes after I try to switch to the emoji keyboard (#6735). Other times it freezes after I take a break from typing for a second without exiting the room or app. Bug persists after deleting the app and reinstalling.

Not a complaint, just noting: this bug is so consistent for me that I've switched to FluffyChat on iOS (which doesn't have this problem) for the time being. I'm happy to be a reproducer or guinea pig if that'd be helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely os:iOS16 S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants