[Bug]: GUI freeze while waiting for network socket
Closed this issue · 5 comments
Aleksanaa commented
Describe the bug
When launching the app or swiping to the bottom of the list, the app can easily freeze.
Steps To Reproduce
- Launch the app under poor network condition
- Send several mouse events before loading finishes
- 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
nekohayo commented
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 commented
CaptainMorgan12 commented
Might have to re-open scroll is still a little laggy using a touchpad to scroll posts.
CaptainMorgan12 commented
yes that is it, i wanted to post a video so will try to do it there.