-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
SignalServiceKit refactor rendering glitches #1146
Comments
I don't really notice any glitches when viewing short or plain text threads, however as threads get longer and include more media, things get really slow, and frames start to drop. Doing some analysis in instruments showed we're spending a lot of time building our TSInteractions. As a quick first step, I've cached them here: @FredericJacobs can you see if this improves the situation that you were experiencing? There seems to be some more low hanging optimization fruit that I will continue to attack. |
No, I'm not talking about dropped frames. When you have a few threads and switch back and forth between them, some messages from other threads might be rendered in the wrong thread. |
I have never reproduced this, so I am going to let it float until the beta. Hopefully getting more users involved will get us more reproduction data. |
Partial revert of 2c83046 which introduced a shared reusable message view controller across threads. 2c83046 resulted in several discovered bugs so far (#1179, #1150, #1152, and maybe: #1146). It's pretty clear at this point we're going against the grain of how JSQMesageViewController is intended to be used, and since the nominal purpose of this feature (iPad Layout) doesn't exist, we should revert to the known good way of interacting with the MessageViewController, creating a fresh instance per thread. // FREEBIE
* all Signal users can send text messages, never hide texting toolbar. //FREEBIE * Fix composition box size when switching threads. Partial revert of 2c83046 which introduced a shared reusable message view controller across threads. 2c83046 resulted in several discovered bugs so far (#1179, #1150, #1152, and maybe: #1146). It's pretty clear at this point we're going against the grain of how JSQMesageViewController is intended to be used, and since the nominal purpose of this feature (iPad Layout) doesn't exist, we should revert to the known good way of interacting with the MessageViewController, creating a fresh instance per thread. // FREEBIE
AFAIK this was not reproduced. Closing. |
This issue is mostly a placeholder for rendering glitches blocking release as reported by @FredericJacobs
Some maybe relevant commits:
The text was updated successfully, but these errors were encountered: