Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

UI hangs when connecting to an IRC bouncer with a lot of channels #420

Open
Exagone313 opened this issue Jul 30, 2024 · 2 comments
Open

Comments

@Exagone313
Copy link
Contributor

Exagone313 commented Jul 30, 2024

I launched Srain and connected to my IRC bouncer where I have joined 130+ channels. Srain UI hung for a minute while it received messages from each of these channels.

How to reproduce

  1. Get yourself a bouncer and join a lot of channels
  2. Connect to this bouncer with Srain

Actual result

Srain UI hangs while receiving messages (chat buffers) from all the channels.

Expected result

UI runs on a separate thread so that it doesn't hang when receiving a lot of messages at once.

Notes

This probably requires major changes to the design of the app. I am only opening this for tracking.

@Exagone313
Copy link
Contributor Author

I have run sysprof to check what is blocking the UI and it appears to come from the usage of gtk_list_store_set in sui_user_update.

I will see if I can improve performance on this part.

@SilverRainZ
Copy link
Member

SilverRainZ commented Sep 1, 2024 via email

@SilverRainZ SilverRainZ added this to the 1.8 milestone Sep 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants