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

Communities form Discover communities screen cannot be opened and causing performance issues #16691

Closed
pavloburykh opened this issue Jul 14, 2023 · 1 comment · Fixed by #16702
Assignees

Comments

@pavloburykh
Copy link
Contributor

pavloburykh commented Jul 14, 2023

Communities are not opening both on IOS and Android.
Performance issues are reproducible on Android only.

Steps:

  1. Open Discover communities screen
  2. Try to open any of communities
  3. Observe the result
  4. Keep trying to open communities by tapping on them, closing and reopening Discover communities screen
  5. Pay attention at app performance after some time

Actual result: communities from Discover communities screen cannot be opened. After some time of trying to open those communities app performance is getting worse. On video below you can observe how slow and laggy app's navigation.

Status-debug-logs (40).zip

telegram-cloud-document-2-5300917863006088101.mp4

Additional Information

  • Status version: release 1.24
  • Operating System: Android 12, Samsung Galaxy A52; IOS 16.5.1, iPhone X
@pavloburykh pavloburykh added this to the 1.24.0 - Alpha milestone Jul 14, 2023
@pavloburykh pavloburykh changed the title Communities form Discover communities screen cannot be opened and causing performance issues (Android) Communities form Discover communities screen cannot be opened and causing performance issues Jul 14, 2023
@cammellos
Copy link
Contributor

from the logs, there's a flurry of events:

07-14 17:16:10.295 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:10.301 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:10.304 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:10.310 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:10.552 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:10.562 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:10.566 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:10.570 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:10.667 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :shell/floating-screen-opened
07-14 17:16:11.083 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :shell/add-switcher-card
07-14 17:16:11.543 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-back
07-14 17:16:11.545 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:11.547 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:11.784 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :shell/floating-screen-closed
07-14 17:16:14.883 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:14.886 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:14.887 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:14.889 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:15.202 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:15.206 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:15.208 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:15.210 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:15.331 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :shell/floating-screen-opened
07-14 17:16:15.388 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:15.392 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:15.394 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:15.397 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:15.723 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:15.727 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:15.730 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:15.733 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:15.739 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :shell/add-switcher-card
07-14 17:16:15.942 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:15.945 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:15.947 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:15.951 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:16.910 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:16.914 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:16.916 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:16.920 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:17.164 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:17.168 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:17.170 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:17.174 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:17.422 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:17.427 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:17.429 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:17.432 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:18.121 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-back
07-14 17:16:18.124 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:18.126 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:18.362 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :shell/floating-screen-closed
07-14 17:16:21.873 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:21.875 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:22.750 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
07-14 17:16:22.753 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :screens/on-will-focus
07-14 17:16:22.968 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :messages-home/select-tab
07-14 17:16:23.559 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :dismiss-keyboard
07-14 17:16:23.560 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :chat/navigate-to-chat
07-14 17:16:23.567 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :navigate-to
07-14 17:16:23.570 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :hide-bottom-sheet
07-14 17:16:23.572 14748 14857 D ReactNativeJS: DEBUG [utils.re-frame:21] - Handling re-frame event:  :set-view-id
0

this looks like some circular event or something

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

Successfully merging a pull request may close this issue.

5 participants