jkuester / unlauncher

Android minimalistic launcher
https://jkuester.github.io/unlauncher/
MIT License
305 stars 47 forks source link

all kinds of switching between apps (home button, square button) lag a lot and sometimes glitch after update from 2.0.0 to 2.1.1 #220

Open ewnjtgouierg opened 7 months ago

ewnjtgouierg commented 7 months ago

since the upgrade to 2.1.1 (the latest F-Droid version at the moment)

the home button (the disc that brings back the unlauncher) and other buttons of that menu lag a lot testing it and comparing to 2.0.0 - it adds some delay before the switch starts right away (no matter if it's with animation or w/o thanks to "Remove animations" setting - smartphone pauses before it even begins)

this lag varies and seems to grow over time, the delay can reach many seconds (until I realized that, I thought that tap is just ignored and would tap again and again), making smartphone partially unresponsive at some point

also sometimes there're glitches, like:

downgrading to 2.0.0 completely solves all these problems but it's kind of sad because 2.1.1 has the long awaited fix of the full-width tap area of every option in the menu! other great improvements too, but that one is what is difficult to give away

jkuester commented 7 months ago

Yikes! This is disappointing! Can I ask a few more clarifying questions to hopefully aid with re-creation and fixing this issue?

ewnjtgouierg commented 7 months ago

yeah, sorry, phone details:

Manufacturer: Xiaomi Brand: Redmi Model: M2004J19C Model name: Redmi 9 Android version: 11 RP1A.200720.011 API Level: 30 MIUI version: MIUI Global 12.5.5 Stable 12.5.5.0(RJCRUXM)

52 installed apps

ewnjtgouierg commented 7 months ago

my apologies - apparently those secondary glitches I listed happen in 2.0.0 too but they are not frequent and so minor that i never paid attention to them, until they were emphasized by the lags in 2.1.1

yatoman commented 7 months ago

I can confirm the same problem with delay or lag since the upgrade to 2.1.1 on Motorola moto g62 5G (XT2223-1) android 13.

CubeOfCheese commented 6 months ago

I have noticed an increased lag recently too. On Samsung S22 running Android 14 and Unlauncher v2.1.1

I particularly notice it with the home button when I'm trying to exit an app. Sometimes the stock wallpaper even flashes on screen momentarily before the solid color background of unlauncher loads.

tozpeak commented 6 months ago

I am a new user, and noticed an unexpected lag for such a launcher. I thought it was native Samsung issue though.

Brand: Samsung Model: SM-M526B/DS One UI: 5.1 Android: 13

Knusper commented 6 months ago

I downgraded to 2.0.0 on f-droid and can confirm that this version is significantly snappier than the latest version.

Galaxy A14 Android 13

Dylan-Cairns commented 6 months ago

Same here,

Pixel 3 Android 12 78 apps

Otherwise I love the app, thank you for your effort!

jkuester commented 6 months ago

:+1: Hoping to have some time in the near future to dig into this some more. As a note to my future self (or to anyone else who gets a chance to look at this), I think a good place to start would be to look at the various notifyDataSetChanged calls. These are noted as being bad for performance.

khwolf commented 5 months ago

Maybe it could help to have a central settings-class (e.g. as a singleton) to hold all the app settings as a proxy? So read options from that class and have that class sync writes with the settings store. Could help with backup and restore of settings and make it easier to change the storage when android changes the prefered way to do so again.