Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freezing when scrolling in the new version #301

Closed
7 tasks done
Pushkin31 opened this issue Sep 22, 2024 · 21 comments
Closed
7 tasks done

Freezing when scrolling in the new version #301

Pushkin31 opened this issue Sep 22, 2024 · 21 comments
Assignees
Labels
ASAP Issue needs to be fixed as soon as possible. bug Something is not working

Comments

@Pushkin31
Copy link

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.2.0

Affected Android/Custom ROM version

Android 14, oxygenOS 14

Affected device model

OnePlus 12

How did you install the app?

GitHub releases

Steps to reproduce the bug

  1. Open the application
  2. Open any folder with many media files (photos+videos)
  3. Scroll

Expected behavior

Scrolling without freezing, file previews load quickly

Actual behavior

When scrolling, the application freezes, it takes a long time to load file previews. Until all previews in the folder are loaded, it does not open any photo/video

Screenshots/Screen recordings

Log file
crash-org-fossify-gallery-22_09-12-46-12_347.zip

Additional information

No response

@Pushkin31 Pushkin31 added bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Sep 22, 2024
@naveensingh
Copy link
Member

Thanks for the logs!

Is anyone else able to reproduce this?

@Aga-C
Copy link
Member

Aga-C commented Sep 22, 2024

Exactly how many files do you have in a folder where you experience this problem?

@Aga-C Aga-C added question Further information is requested waiting for author If the author does not respond, the issue will be closed. Otherwise, the label will be removed. labels Sep 22, 2024
@Pushkin31
Copy link
Author

Exactly how many files do you have in a folder where you experience this problem?

It can also freeze on the main screen. Freezing occurred in a folder with more than 700 media. Previews load slowly even in a folder with 80 media, but scrolling does not slow down

@github-actions github-actions bot removed the waiting for author If the author does not respond, the issue will be closed. Otherwise, the label will be removed. label Sep 22, 2024
@naveensingh
Copy link
Member

I can reproduce this 'occasionally' on a Samsung device.

@Aga-C Aga-C added device/software specific Issues that only happen on some devices or with some specific hardware/software and removed question Further information is requested labels Sep 22, 2024
@BluePixel4k
Copy link

BluePixel4k commented Sep 22, 2024

Is anyone else able to reproduce this?

I also notice this bug frequently.
(Pixel 8 with GrapheneOS (A14))

@AdityaMishra135
Copy link

Yes, I'm also facing this.

@Aadesh001
Copy link

Facing this on Nothing Phone 2 (Nothing OS 2.6, Android 14) frequently

@naveensingh naveensingh added the ASAP Issue needs to be fixed as soon as possible. label Sep 23, 2024
@Aga-C Aga-C removed device/software specific Issues that only happen on some devices or with some specific hardware/software needs triage Issue is not yet ready for PR authors to take up labels Sep 23, 2024
@naveensingh naveensingh self-assigned this Sep 23, 2024
@naveensingh
Copy link
Member

It might help if anyone would share the file exported by Gallery => Settings => Export settings.

@Pushkin31
Copy link
Author

Pushkin31 commented Sep 23, 2024

It might help if anyone would share the file exported by Gallery => Settings => Export settings.

I am attaching the file

gallery-settings_2024_09_23_11_29_44.txt

@Aadesh001
Copy link

gallery-settings_2024_09_23_13_27_43.txt

This is mine

@nexxus-vi
Copy link

+1 on Pixel 7 - 14 (AP2A.240705.004)
gallery-settings_2024_09_23_15_39_23.txt

@naveensingh naveensingh pinned this issue Sep 23, 2024
@Mape6
Copy link

Mape6 commented Sep 23, 2024

+1 Pixel 7a
I killed the app, cleaned the cache and started the app again. The first thumbnails are generated quickly and after some the process slows down quickly.

@naveensingh
Copy link
Member

naveensingh commented Sep 24, 2024

Seems to be caused by JPEG XL support added in #253

If you guys are up for testing, here's an APK with that change reverted: gallery-8-foss-release.apk.zip

Please remove the .zip extension from the filename, thanks!

@naveensingh naveensingh mentioned this issue Sep 24, 2024
4 tasks
@vivident4004
Copy link

+1 Pixel 7a I killed the app, cleaned the cache and started the app again. The first thumbnails are generated quickly and after some the process slows down quickly.

Exactly this, and it struggles to the point of freezing especially with animated media (.mp4, .mov, .webp) when trying to load or create thumbnails.
Here's my settings file:
gallery-settings_2024_09_24_14_39_29.txt

@Mape6
Copy link

Mape6 commented Sep 24, 2024

Seems to be caused by JPEG XL support added in #253

If you guys are up for testing, here's an APK with that change reverted: gallery-8-foss-release.apk.zip

Please remove the .zip extension from the filename, thanks!

That version works perfectly.

@naveensingh
Copy link
Member

@Mape6 Thanks for testing!

@vivident4004
Copy link

Seems to be caused by JPEG XL support added in #253

If you guys are up for testing, here's an APK with that change reverted: gallery-8-foss-release.apk.zip

Please remove the .zip extension from the filename, thanks!

For me, this seems to have solved the issue. I even cleared the cache once more to force the app to rebuild the thumbnails, and scrolling in a folder full of movies it has no issues now, while before it freezed and crashed.
Tested on a Pixel 7 with GrapheneOS with Android 14 2024091900.

@naveensingh
Copy link
Member

I'll release an update soon, thank you!

@shockergit
Copy link

Yes its even the thumbails are loading after 2 minutes. Image loading takes lot of time. While switching back to simple gallery it works fine.

@naveensingh
Copy link
Member

Should be fixed in version 1.2.1: https://github.com/FossifyOrg/Gallery/releases/tag/1.2.1

@shockergit
Copy link

Should be fixed in version 1.2.1: https://github.com/FossifyOrg/Gallery/releases/tag/1.2.1

I think this fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP Issue needs to be fixed as soon as possible. bug Something is not working
Projects
None yet
Development

No branches or pull requests

10 participants