MM2-0 / Kvaesitso

A search-focused Android launcher
https://kvaesitso.mm20.de/
GNU General Public License v3.0
2.05k stars 59 forks source link

App switcher lag/general crashing #846

Open TJonCooper opened 1 month ago

TJonCooper commented 1 month ago

Version: 1.30.4 OS: Android 14 (GrapheneOS, Build: 2024050700) Phone: Pixel 8

I'm experiencing a fairly odd issue whereby when Kvaesitso is set as the launcher, the app switcher button becomes unresponsive at times or there is a delay in being able to activate it again. This is not seen on the default GrapheneOS launcher nor others such as Smart Launcher.

Here is a brief example:

https://github.com/MM2-0/Kvaesitso/assets/15924377/92ceab8a-aefd-4956-b3db-70bb3d5078d1

It's often accompanied by a white flash on the screen, or a brief moment where Kvaesitso disappears. This is not always captured on the screen recording.

In some cases, the app switcher can be become completely unresponsive until reboot. This is, again, behaviour only seen in Kvaesitso and it can happen during routine usage (not tapping the button in quick succession as in the video).

Logs do not reveal much however there is a gesture-navigation related warning:

signal-2024-05-16-175821

signal-2024-05-16-175825

Since I am not using gesture navigation, I'm not sure if this is related. Note: the app-switcher misbehaviour is seen when using gesture navigation too.

Lastly, when returning from an app to the home screen (middle button), Kvaesitso can sometimes disappear - leaving only a blank wallpaper screen. This persists until the app switcher responds again and I can attempt to return home again.

I can't tell if this is a GrapheneOS-specific issue, or it's something with Kvaesitso (or both).

Wateroverlord commented 1 month ago

Yeah I'm getting the same on stock Pixel Android 14

TJonCooper commented 1 month ago

Here is another example of it. This time, the navigation bar has become completely unresponsive:

https://github.com/MM2-0/Kvaesitso/assets/15924377/92a84b25-b44a-4585-8d8f-0574743b3220

There are only two ways to fix this at the moment and restore function:

(i) Open Settings and switch to another launcher, at which point it immediately works again (ii) Reboot the phone

Wateroverlord commented 1 month ago

Thank you I appreciate your responses I'll try that next time usually a restart fixes it but it's annoying but thanks for making such a cool launch​er

On 16 May 2024, 19:32, at 19:32, TJFC @.***> wrote:

Here is another example of it. This time, the navigation bar has become completely unresponsive:

https://github.com/MM2-0/Kvaesitso/assets/15924377/92a84b25-b44a-4585-8d8f-0574743b3220

There are only two ways to fix this and restore function:

(i) Open Settings and switch to another launcher, at which point it immediately works again (ii) Reboot the phone.

-- Reply to this email directly or view it on GitHub: https://github.com/MM2-0/Kvaesitso/issues/846#issuecomment-2115939229 You are receiving this because you commented.

Message ID: @.***>

TJonCooper commented 1 month ago

I'm posting more warnings that occur when the app switcher button becomes completely unresponsive. I cannot tell if they are related or not.

Screenshot_20240521-123128

Wateroverlord commented 1 month ago

Thank you for your continued help with this

On 21 May 2024, 10:34, at 10:34, TJFC @.***> wrote:

I'm posting more warnings that occur when the app switcher button becomes completely unresponsive. I cannot tell if they are related or not.

Screenshot_20240521-123128

-- Reply to this email directly or view it on GitHub: https://github.com/MM2-0/Kvaesitso/issues/846#issuecomment-2122198009 You are receiving this because you commented.

Message ID: @.***>

Zarkorix commented 1 month ago

I am also experiencing this exact issue. After a while the button stops working too. I do not see this happening in other launchers. I am also on stock android, a Pixel 8 Pro, with animations turned off (but it happens with them turned on too).

It is also happening on my other device, a Pixel 7, that runs GrapheneOS.

In both cases, it is Android 14.

TJonCooper commented 1 month ago

Adding a few more logs here from times when this issue has occurred with Kvaesitso:

Device: shiba
SDK version: 34
====================================
05-25 07:49:45.430  4069  4479 D MM20    : Icon pack com.unvoid.borealis is up to date
05-25 07:50:44.192  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:50:44.192  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:50:44.205  4069  4069 D VRI[LauncherActivity]: Start draw after previous draw not visible
05-25 07:50:48.071  4069  4069 I Choreographer: Skipped 48 frames!  The application may be doing too much work on its main thread.
05-25 07:50:48.589  4069  4069 I Choreographer: Skipped 61 frames!  The application may be doing too much work on its main thread.
05-25 07:50:51.313  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:50:51.313  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:50:51.567  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@b7485a9
05-25 07:50:52.243  4069 11639 D MM20    : Icon pack com.unvoid.borealis is up to date
05-25 07:50:52.372  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:50:56.437  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:50:56.437  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:50:56.760  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@9a299cb
05-25 07:50:59.856  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:50:59.856  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:01.635  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@90e0719
05-25 07:51:05.245  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:05.245  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:06.004  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@4b5a024
05-25 07:51:07.887  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:07.887  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:08.037  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@749dd18
05-25 07:51:09.832  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:09.832  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:10.188  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@cfaba2a
05-25 07:51:11.154  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:11.164  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:11.176  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:11.187  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:11.197  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:12.029  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:12.029  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:12.340  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@4831135
05-25 07:51:14.366  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:14.366  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:15.406  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@4106ef
05-25 07:51:17.958  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:17.958  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:18.232  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@1c2e334
05-25 07:51:19.990  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:19.990  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:20.275  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@adc9727
05-25 07:51:23.374  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:23.374  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:23.518  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@15b7565
05-25 07:51:24.119  4069  4224 I de.mm20.launcher2.release: Background concurrent mark compact GC freed 56MB AllocSpace bytes, 0(0B) LOS objects, 75% free, 17MB/71MB, paused 711us,1.397ms total 105.039ms
05-25 07:51:24.161  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:24.163  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:24.164  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:24.169  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:24.170  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:26.490  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:26.490  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:26.510  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@d3be9cd
05-25 07:51:34.141  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:34.141  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:34.958  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@469a7c5
05-25 07:51:35.002  4069  4069 D VRI[LauncherActivity]: visibilityChanged oldVisibility=true newVisibility=false
05-25 07:51:35.010  4069  4069 D VRI[LauncherActivity]: Not drawing due to not visible
05-25 07:51:37.299  4069  4069 D VRI[SettingsActivity]: visibilityChanged oldVisibility=true newVisibility=false
05-25 07:51:37.305  4069  4069 D VRI[SettingsActivity]: Not drawing due to not visible
05-25 07:51:38.113  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api34Impl$createOnBackAnimationCallback$1@a6351e
05-25 07:51:39.555  4069  4069 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10149; state: ENABLED
05-25 07:51:39.573  4069  4069 D VRI[SettingsActivity]: Start draw after previous draw not visible
05-25 07:51:41.996  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api34Impl$createOnBackAnimationCallback$1@a6351e
05-25 07:51:43.268  4069  4069 D VRI[SettingsActivity]: Not drawing due to not visible
05-25 07:51:43.270  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Activity$$ExternalSyntheticLambda0@1d9d0f0
05-25 07:51:43.296  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:43.296  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:43.311  4069  4069 D VRI[LauncherActivity]: Start draw after previous draw not visible
05-25 07:51:45.634  4069  4069 D VRI[LauncherActivity]: Not drawing due to not visible
05-25 07:51:46.184  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:46.184  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:46.196  4069  4069 D VRI[LauncherActivity]: Start draw after previous draw not visible
05-25 07:51:47.174  4069  4069 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-25 07:51:47.174  4069  4069 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
05-25 07:51:47.807  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@2b15acc
05-25 07:51:47.855  4069  4069 D VRI[LauncherActivity]: visibilityChanged oldVisibility=true newVisibility=false
05-25 07:51:47.861  4069  4069 D VRI[LauncherActivity]: Not drawing due to not visible
05-25 07:51:51.127  4069  4069 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api34Impl$createOnBackAnimationCallback$1@70a2273
05-25 07:51:51.322  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:51.336  4069  4226 W System  : A resource failed to call Surface.release. 
05-25 07:51:52.665 14817 14817 W libc    : Access denied finding property "ro.debuggable"
05-25 07:51:52.660 14817 14817 W logcat  : type=1400 audit(0.0:4828): avc:  denied  { read } for  name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=364 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=de.mm20.launcher2.release
05-25 07:52:19.645  4069  4224 I de.mm20.launcher2.release: Background concurrent mark compact GC freed 60MB AllocSpace bytes, 0(0B) LOS objects, 75% free, 20MB/82MB, paused 934us,1.467ms total 104.670ms
05-25 07:52:22.716 14864 14864 W libc    : Access denied finding property "ro.debuggable"
05-25 07:52:22.712 14864 14864 W logcat  : type=1400 audit(0.0:4870): avc:  denied  { read } for  name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=364 scontext=u:r:untrusted_app:s0:c149,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=de.mm20.launcher2.release
null
WilliamKimball0 commented 1 week ago

Also experiencing this issue with Kvaesitso v1.30.4 on Pixel 8 Pro running Graphene OS version 2024061400. Issue only replicates with Kvaesitso as launcher.