haiwen / seadroid

Android client for Seafile
Other
540 stars 277 forks source link

File listing regression in 2.3.6/2.3.7: Error when loading the folder #1013

Open thegarbz opened 5 months ago

thegarbz commented 5 months ago

I upgraded from 2.2.x recently and noticed a problem which I then hunted down by downgrading until the issue stopped. It seems between 2.3.5 and 2.3.6 something has changed which has caused problems with displaying libraries, and traversing folders.

Expected behaviour: v2.3.5 Issue 1) Main libraries view sorted by most recent date. Libraries are shown with the most recent modification at the top. Issue 2) Traversing folders: fast and snappy even for folders with large numbers of files. Issue 3) (Related to Issue 2) Traversing large folder: fast and snappy.

Actual behaviour: v.2.3.6/v2.3.7 Issue 1) Main libraries ignore sorting by more recent date. Sorting is set, and the dates are correctly shown, but the sorting seems completely random. Issue 2) Traversing folders: this seems to be highly dependent on the folder size. Small folders are okayish - still slower than 2.3.5. Large folders are painfully slow. It takes upwards of 20 seconds to display the folder contents of 5954 image files. On 2.3.5 this was <2seconds. Issue 3) Traversing large folder: It appears to load for 30+ seconds and then briefly flashes the contents before display an error: "Error when loading the folder. Tap to retry". The working (but slow folder) has 5954 images in it. The next size up I have is 8236 images and this one fails with the error.

SoLoR1 commented 5 months ago

Im getting "error when loading libraries", but i suspect its similar issue, since downgrading app to 2.3.5 fixes it, Its old self hosted seafile server (dont know version right now), that needs an update, but still...

SoLoR1 commented 5 months ago

Also one more thing, from comments: image

im not alone....

toasterking commented 5 months ago

I am also getting "Error when loading libraries" on seadroid 2.3.6. Can create a library but not see it. Downgrading to 2.3.5 fixes it. Seafile server version is 5.0.3. (Server is stuck at that version due to OS and hardware constraints. I mean, c'mon, it's only 9 years out of date!)

Caseritto commented 4 months ago

Came here to confirm the "error when loading libraries" error. Tried on 2.3.6 and 2.3.7. Rolling back to 2.3.5 let the libraries load.

zhwanng commented 1 week ago

Due to some modifications to the certificate verification method, the self-signed certificate may be abnormal. Please upgrade to the latest version and try again

toasterking commented 1 week ago

Due to some modifications to the certificate verification method, the self-signed certificate may be abnormal. Please upgrade to the latest version and try again

Thanks for the response. My self-signed certificate is accepted in seadroid 3.0.5 now, but it still fails to list the libraries. Note the "Not found" flash message (circled) that appears when it attempts to list libraries.

1 2 3 4 5 6