Folder view freezes with large amount of images and does not respond to taps
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 32/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- mobile, performance
Direzione di ricerca
The payload names no source files, tests or entry points, so the first step is reproducing the freeze with a large folder tree of thousands of images. Profile what runs on the main thread when a folder is tapped and when swipe-to-refresh runs, then find which work scales with total collection size rather than with the visible items. Done means a folder opens promptly on a collection of about 30,000 images, and a tap is accepted while the refresh is still running.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
1.13.1
Affected Android/Custom ROM version
Android 16/OxygenOS 16
Affected device model
Oneplus Nord 5
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
-
Have a very large photo collection on your phone (mine has 30 000 photos, 1200px wide webp pics, average file size maybe 90kB) somewhere where Fossify Gallery can access it (e.g. sdcard/Pictures/COLLECTION or sdcard/Pictures2/COLLECTION2), that have been divided to subfolder tree structure of hundreds of folders.
-
Open fossify gallery
-
Tap any visible folder to open it
Expected behavior
Folder opens
Actual behavior
Most of time there is no response to tap. Sometimes there is response with 5 sec delay, sometimes with over 20 sec delay. Sometimes but much more rarely it opens near instantly.
Screenshots/Screen recordings
No response
Additional information
I have replicated this behaviour with at least 2 different devices (Oneplus Nord 5, android 16 and Samsung Galaxy S21FE android 14).
I suspect reason being that devs have maybe? not thought about users having this large collections and have not optimized the UI with the thought that there could be so large amount of pics and possibly assume that whole UI (instead of just the visible portion) should be rendered to some degree before it can accept taps.
Nevertheless having minor versions of images of your whole photo collection on your phone is very useful if/whenever you feel sharing some memories from past.
Whatever is the case the app is currently pretty unusable for me as virtually any time I open it (unless I open an individual file from file manager app which I sometimes also do) it does not respond properly before a long delay.
A related issue could be that if I swipe down to refresh UI (sometimes I also do it half accidentally). It pretty much freezes the app as it starts the whole rendering process from scratch and seems to go through whole photo collection again. So also this feature should have some mechanism that taps / some sort of usage is already possible for viewable area before the whole thing is re-rendered again.
- Lingua principale
- Kotlin
- Stelle
- 3.8k
- Fork
- 270
- Merge medio
- 1g 2h
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FossifyOrg/Gallery
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FossifyOrg/Gallery#1213 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
FossifyOrg/Gallery#1196 ·
I maintainer di solito rispondono entro 1 giorno
-
Renaming a locked folder silently removes its lockForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
FossifyOrg/Gallery#1195 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs triage
Difficoltà 2/5 Mezza giornata Idoneità per principianti 60/100
FossifyOrg/Gallery#1181 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
FossifyOrg/Gallery#1167 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di FossifyOrg/Gallery
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
QuranHub/quranhub-android#354 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Gradle plugin calls deprecated Configuration.setVisible (removed in Gradle 11)Forse già presa @griffio l’ha presa oggi. Apertacomponent: gradle-plugin
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
sqldelight/sqldelight#6391 · 1 commento ·
-
unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
thunderbird/thunderbird-android#11893 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni