T8RIN/ImageToolbox

Severe Performance Decrease Upgrading From 2.70 - 2.80

lowerclasswarfare opened this issue · 13 comments

Describe the bug
When opening the app there is a noticeable lag when using the menus or tools. Trying to crop an image is basically unusable as the screen updates are extremely slow.

EDIT: After playing with the settings a bit I turned off drawing shadows beneath containers and got a noticeable performance increase.

To Reproduce
Literally just upgraded the app and used it.

Expected behavior
Smooth operation and fast editing in 2.70
Menus and screen does not lag.

Screenshots

Smartphone (please complete the following information):

  • Device: LG V30 model LG-H931
  • OS: Android 9

Let me know what I can do to help figure out what is happening. I know I'm running an older phone but the last version worked flawlessly.

Also when you search something in settings and press back button to clear out, it lags a bit. This doesn't happen in others apps.

Okay, maybe shadows could be changed a bit

Is it actually happing because of shadows tho? Shadows existed in previous stable version as well but app was working fine. Did the new version changed something regarding visuals?

Yes, some shadows drawing on render script now instead of soft layer, that was a mistake

I see. I think a quick fix release is needed. Lag and crashes are two major problem in new release.

Will be today i hope

hmm, maybe that's not shadows, i Double checked and there nothing changed in their render, maybe compose bumping was the issue, anyway, i can just disable shadows by default for some phones

How it's going on alpha 2.8.2 ?

How it's going on alpha 2.8.2 ?

I can say I'm having the same issue. When the preview loads on any of the modes, scrolling lags horribly. Shadows are disabled. Latest version.

Edit: also happens with previews disabled. Using Android 13

that's compose related thing i think, maybe that's will be better in alpha 02