Michael-128 / qBitControl

qBittorrent remote client for iOS devices.
https://x.com/qbitcontrol
GNU General Public License v3.0
196 stars 9 forks source link

[BUG] Not loading categories on start #6

Open jfgoncalves opened 8 months ago

jfgoncalves commented 8 months ago

Describe the bug Sometimes, the app is not loading categories when it is started from opening a torrent file from Files.app

To Reproduce Steps to reproduce the behavior:

  1. Kill the app and reboot the device
  2. Go to Files.app and open a .torrent file
  3. Tap category
  4. See error

Expected behavior The categories should be loading on start of the application, even if it's opened from a file.

Screenshots https://files.catbox.moe/vkeicf.mp4

Smartphone (please complete the following information):

Additional context It's a weird bug because sometimes it loads them, and most of the time it doesn't. When the app is in memory it's not a problem.

Michael-128 commented 8 months ago

Thanks for reporting the bug and providing a video! I will take care of that.

Michael-128 commented 8 months ago

I couldn't reproduce the bug. My guess is that there can be too much latency between the qbittorrent server and the app. Do the categories load after some time without exiting the app or the file upload screen?

jfgoncalves commented 8 months ago

The categories don't load while the file upload screen is still up. But if I dismiss it and pull it up again they do show up.

narenh commented 4 months ago

I'm not sure if this is the same issue as #16. In #16, the categories never load at all no matter how many times you try (full explanation in the report)