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

[Bug]: GUI freeze while waiting for network socket #182

Closed
Aleksanaa opened this issue Apr 11, 2023 · 5 comments · Fixed by #235
Closed

[Bug]: GUI freeze while waiting for network socket #182

Aleksanaa opened this issue Apr 11, 2023 · 5 comments · Fixed by #235
Labels
bug Something isn't working performance Performance related issue

Comments

@Aleksanaa
Copy link

Describe the bug

When launching the app or swiping to the bottom of the list, the app can easily freeze.

Steps To Reproduce

  1. Launch the app under poor network condition
  2. Send several mouse events before loading finishes
  3. Find the GUI freezes

Logs and/or Screenshots

(dev.geopjr.Tuba:311335): Tuba-WARNING **: 19:01:19.142: Network.vala:57: Socket I/O timed out
(dev.geopjr.Tuba:311335): Tuba-WARNING **: 19:01:19.144: Streams.vala:112: DISCONNECTED: https://<instance url>/api/v1/streaming/?stream=user. Reconnecting in 1 seconds.

Instance Backend

Mastodon

Operating System

NixOS unstable

Package

OS repositories

Troubleshooting information

os: NixOS 23.05 (Stoat)
prefix: /nix/store/n00pz1cy5ikf04v3bpy4bk1ssb0jpbc9-tuba-0.2.0
flatpak: false
version: 0.2.0 (production)
gtk: 4.8.3 (4.8.3)
libadwaita: 1.2.3 (1.2.3)
libsoup: 3.2.2 (3.2.2)

Additional Context

No response

@Aleksanaa Aleksanaa added the bug Something isn't working label Apr 11, 2023
@GeopJr GeopJr added the network Network related issue label Apr 12, 2023
@nekohayo
Copy link

Possibly indirectly related: #204 ... but probably only in the cases where:

  • NetworkManager could detect poor or incomplete network availability
  • ...or the code is structured defensively for resilience against server timeouts/latencies/etc.

@GeopJr GeopJr added performance Performance related issue and removed network Network related issue labels May 11, 2023
@GeopJr
Copy link
Owner

GeopJr commented May 11, 2023

Thanks for raising this issue!

I believe after #232 and #235 this should be somewhat fixed, let me know if it didn't and I'll re-open this!

(context: it's not network related but a combination of some expensive sync operations, un-optimized widgets and use of not-so-efficient methods)

@GeopJr GeopJr closed this as completed May 11, 2023
@CaptainMorgan12
Copy link

CaptainMorgan12 commented May 21, 2023

Might have to re-open scroll is still a little laggy using a touchpad to scroll posts.

@nekohayo
Copy link

That's probably issue #267, rather.

@CaptainMorgan12
Copy link

yes that is it, i wanted to post a video so will try to do it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance Performance related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants