ImageToolbox icon indicating copy to clipboard operation
ImageToolbox copied to clipboard

Severe Performance Decrease Upgrading From 2.70 - 2.80

Open lowerclasswarfare opened this issue 1 year ago • 10 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.

lowerclasswarfare avatar Apr 24 '24 21:04 lowerclasswarfare

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.

NikunjK8 avatar Apr 25 '24 04:04 NikunjK8

Okay, maybe shadows could be changed a bit

T8RIN avatar Apr 25 '24 05:04 T8RIN

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?

NikunjK8 avatar Apr 25 '24 06:04 NikunjK8

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

T8RIN avatar Apr 25 '24 06:04 T8RIN

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

NikunjK8 avatar Apr 25 '24 06:04 NikunjK8

Will be today i hope

T8RIN avatar Apr 25 '24 06:04 T8RIN

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

T8RIN avatar Apr 25 '24 08:04 T8RIN

How it's going on alpha 2.8.2 ?

T8RIN avatar May 04 '24 23:05 T8RIN

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

nexus226 avatar May 09 '24 11:05 nexus226

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

T8RIN avatar May 10 '24 10:05 T8RIN

It still isn't fixed but something weird I noticed is that the app doesn't lag when turned to the horizontal orientation

nexus226 avatar May 17 '24 13:05 nexus226

Because there are less objects in the lazy list, compose issue

T8RIN avatar May 17 '24 13:05 T8RIN

on initial startup all shadows will be enabled only if device performance is high, on average performance only some shadows will be enabled, on low performance there will be no shadows enabled initally

T8RIN avatar May 27 '24 10:05 T8RIN