Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

Slow loading/lagging when viewing hi-res images

Open seniorm0ment opened this issue 1 year ago • 6 comments

Checklist

  • [X ] I can reproduce the bug with the latest version.
  • [ X] I made sure that there are no existing issues - open or closed - to which I could contribute my information to.
  • [X ] I have read the FAQ and my problem isn't listed.
  • [X ] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X ] This issue contains only one bug.
  • [X ] I have read and understood the contribution guidelines.

Describe the bug Noticing lag when swiping between photos. I think it is because they are high quality.

For example the two files I just looked at are 4590 x 8160 (37.5MP) Size 8MB

4590 x 8160 (37.5MP) Size 7.5MB

Took from Google Camera

To Reproduce Steps to reproduce the behavior:

  1. Go to gallery
  2. Click on a photo to open fullscreen
  3. Swipe between photos

Expected behavior Smooth transition

Device info (please complete the following information):

  • Model: Pixel 8 Pro
  • OS: GrapheneOS, Android 14
  • Version F-Droid 1.1.1

seniorm0ment avatar Jan 13 '24 14:01 seniorm0ment

Please adjust your bug report to the issue template.

Aga-C avatar Jan 13 '24 14:01 Aga-C

Can be related to #54.

Aga-C avatar Jan 13 '24 18:01 Aga-C

Not seeing that problem on my Note9 running Android 10 while browsing a folder of 4K+ images.

I have File loading priority set to speed and Show images in the highest possible quality enabled in Settings.

jdrch avatar Jan 14 '24 18:01 jdrch

I was able to replicate the issue on my S21 FE (Qualcomm ver. Android 14) with a test file with the size 2894 x 10413 (30.1 MP) formatted as a PNG. The File loading priority setting has no effect, but turning off Show images in the highest possible quality partially fixes the issue.

  • With the quality setting on, the app lags and stutters (scrolling past the image stutters, zooming in and panning is slow and at a low framerate).
  • With the quality setting off, the app hangs for a second when scrolling to and away from the image, but the other issues go away.

nootnt avatar Feb 01 '25 12:02 nootnt