komikku-app/komikku

Laggy after displaying many entries

Closed this issue · 9 comments

Steps to reproduce

  1. Have dynamic theme active
  2. Open and close several entries in a row

Expected behavior

There is no lag or slow down

Actual behavior

Scrolling, especially horizontally though categories, is way slower and laggy.
The system in general actually, like too much RAM is filled up and not cleaned on time.

Crash logs

No response

Komikku version

r9115

Android version

Android 12

Device

Lenovo tab m10 plus 3rd Gen (Qualcomm)

Other details

I assume it has something to do with the dynamic theme because such issue isn't present in the latest SY preview.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with an official extension, I should be opening an issue in the extensions repository.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 1.10.5.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.

Yep i found the same problem here, also i think it was not dynamic theme's problem

Does it happen with r9078 or v1.11.1?

@cuong-tran yes, same issue with r9078

could you help share a video record?

could you help share a video record?

20240709_174335.mp4

Did it on my phone instead of my tablet bcs same thing happens here. See how hard it gets to change category, especially by swiping.
And all that lag is real, not due to the record.

I can see it. Could you try same thing but with "Browse->Related titles" or "Appearance->Expand Related titles" turned off?

@cuong-tran those two settings were already off.

Other things I have just noticed:

  • No need to open entries to make it all slow, it's enough to scroll vertically and through categories, displaying many entries.
  • It doesn't slow the OS down, but the whole app. All is laggy: Library, Browse, Settings.
  • Reading pages flows fluently though, and after spending enough time reading, going back to library you see it "fixed" and the UI is smooth. The problem though still persists after moving around.

Thanks. I will run profiler to see why, some background tasks might taken over UI's thread.