FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.67k stars 57 forks source link

Slow Media Loading Performance #328

Closed sojuo closed 2 weeks ago

sojuo commented 2 weeks ago

Checklist

Affected app version

1.2.1

Affected Android/Custom ROM version

MIUI-V13.0.7.0.SKHCNXM

Affected device model

Redmi k40

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Select the option to load media files directly rather than loading entire folders.

Expected behavior

Displaying media files directly, rather than showing folders, may result in significantly slower loading times.

Actual behavior

Whether displaying media files directly or through folders, it is essential that thumbnails are generated swiftly. Additionally, when new media files are added to the device, both the folders and the individual images should be scanned and displayed promptly.

Screenshots/Screen recordings

https://github.com/user-attachments/assets/78eabee1-a518-48ca-9ace-ad82cb496983

https://github.com/user-attachments/assets/0c7150ae-715c-4826-aa18-170e65a74630

https://github.com/user-attachments/assets/39b64d7a-88e0-4b41-8064-2f04ddef76d2

https://github.com/user-attachments/assets/028238b7-7186-41c0-adfb-73873d28d82f

Additional information

Other applications, such as Aves and Gallery, demonstrate rapid loading times and may serve as useful references.

https://github.com/user-attachments/assets/b033d177-383c-4951-9f77-e92f93f13040

https://github.com/user-attachments/assets/854c985f-3bbb-415a-90ff-5e0b3b601648

Aga-C commented 2 weeks ago

It's a duplicate of https://github.com/FossifyOrg/Gallery/issues/54.

sojuo commented 1 week ago

It's a duplicate of #54.

          I was able to reproduce this problem on OnePlus 8 Pro with over 2300 files using Fossify Gallery 1.2.1. While showing all files at the startup, it takes a few seconds to start the app. I can imagine that with less performant phones it may take more time.

Originally posted by @Aga-C in https://github.com/FossifyOrg/Gallery/issues/54#issuecomment-2407656481 After testing, when Performance mode is enabled for my phone, the rate of loading images directly is a few seconds faster, but it still doesn't refresh new images faster. Is there any way to load images as fast as Aves and other album software?

shockergit commented 15 hours ago

https://github.com/FossifyOrg/Gallery/releases/tag/1.2.1 This update fixed for me