-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Crash when scrolling quickly through chat history #817
Comments
I've tested extensively, but never seen this. What iOS version is that? Is it reproducible? |
iOS 10.3.3 on the TestFlight build v4.1.1 (96) I put out last night. It's 100% reproducible but... it only happens on one of my conversations (the one with the longest history), while I try to scroll up faster than it can load the previous page. |
Is that new build already published via TestFlight? I don't see it. |
iTunes Connect is being very buggy, but I think I fixed the TestFlight invites. |
Confirm. iOS 10.3.3. If I scroll through the conversation fast enough, the app crashes. |
Reproduced, will fix in the next couple of days. |
@stigger Thanks! I think there are some related bugs as well:
|
…RMessagesViewController rework (ChatSecure#817)
Fixing a crash and a couple of other issues introduced in a recent OTRMessagesViewController rework (#817)
Marking as fixed for now |
Ok, still not fixed. Same exact crash still happening in v4.1.1 (98). :( Also the screen flashes white when sending a message, or scrolls to the wrong place, which is new as of merging this PR. If we can't get these issues fixed in the next week or two I'll have to revert the merge and push it back. |
Please don't, it will be fixed. |
I looked into the crash more closely, and apparently this is a bug in JSQMessagesViewController: jessesquires/JSQMessagesViewController#1424 (PR jessesquires/JSQMessagesViewController#1868 does not fix it). The workaround is to comment out lines 312-314 in JSQMessagesCollectionViewFlowLayout.m. It seems that these lines are related to springiness, which is not used in ChatSecure, so this should be a safe change. After that the layout invalidation, which I introduced in #823, can be removed. |
@stigger Thanks for looking into that! I happen to have commit access to upstream JSQMessagesViewController now, but will probably continue maintaining our own fork for the most part. |
Regarding the flashes and scrolling to the wrong place. I could not reproduce them (and never seen them while using the app normally), so I need some additional details. |
We recently fixed some similar looking crash in Signal. This may or may not be useful for you: |
Should be fixed! |
Regression caused by #812
cc @stigger
The text was updated successfully, but these errors were encountered: