MM2-0 / Kvaesitso

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

Clock‘s widget not updated #122

Open labrusca opened 2 years ago

labrusca commented 2 years ago

No update even after app restart。 I hadn't noticed this before

version 1.13.1 No crash reports

Screenshot_2022-07-25-16-28-01-59_94226bc2e387a4f039bd6db013273604

MM2-0 commented 2 years ago

I can't reproduce this, does this still happen?

labrusca commented 2 years ago

It's still happening.

MM2-0 commented 2 years ago

So the time is correct when you restart the launcher but then it never updates? Does this also apply to the date? Is the date updated correctly?

labrusca commented 2 years ago

So the time is correct when you restart the launcher but then it never updates?

yes.

Does this also apply to the date? Is the date updated correctly?

I will tell you tomorrow.

labrusca commented 2 years ago

It's August 1st now(UTC/GMT+8:00), and the date is still stuck at July 31st. Neither the time nor the date has been updated.

labrusca commented 2 years ago

I have found the reason for the problem, the launcher is not compatible with my phone's OS(Color OS 12.1, oneplus), after changing the OS to Lineage OS, it works well.

labrusca commented 1 year ago

@MM2-0
I reopened the issue because I felt the need to get this issue resolved once and for all. In version 1.22.2, this issue still appears on ColorOS 13 (OnePlus 8T) and here is the strange part of the logs, but I don't know if it is related to this issue:

Device: OnePlus8T
SDK version: 33
====================================
03-06 18:56:42.452 28316  6479 D VRI[LauncherActivity]: dispatchAppVisibility visible:true
03-06 18:56:42.456 28316 28316 D VRI[LauncherActivity]: setWindowStopped stopped:false
03-06 18:56:42.472 28316 28316 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
03-06 18:56:42.472 28316 28316 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
03-06 18:56:42.542 28316 28316 D BufferQueueConsumer: [](id:6e9c0000003d,api:0,p:-1,c:28316) connect: controlledByApp=false
03-06 18:56:42.542 28316 28316 E IPCThreadState: attemptIncStrongHandle(94): Not supported
03-06 18:56:42.544 28316 29234 D BufferQueueProducer: [VRI[LauncherActivity]#61(BLAST Consumer)61](id:6e9c0000003d,api:1,p:28316,c:28316) connect: api=1 producerControlledByApp=true
03-06 18:56:42.544 28316 28316 D VRI[LauncherActivity]: registerCallbacksForSync syncBuffer=false
03-06 18:56:42.620 28316 29234 D VRI[LauncherActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true syncBuffer=false
03-06 18:56:42.620 28316 28316 D VRI[LauncherActivity]: draw finished.
--------- beginning of system
03-06 18:56:42.626 28316 28316 I Quality : Skipped: false 13 cost 110.33601 refreshRate 8283140 bit true processName de.mm20.launcher2.release
03-06 18:56:42.654 28316 28316 D VRI[LauncherActivity]: onFocusEvent true
03-06 18:56:44.768 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:44.859 28316 28316 I Quality : Skipped: false 2 cost 23.300741 refreshRate 8288007 bit true processName de.mm20.launcher2.release
03-06 18:56:44.871 28316 28316 I Quality : Skipped: false 1 cost 9.956565 refreshRate 8288007 bit true processName de.mm20.launcher2.release
03-06 18:56:45.197 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:45.639 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:45.952 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:46.501 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:46.730 28316 29221 W uncher2.release: Reducing the number of considered missed Gc histogram windows from 400 to 100
03-06 18:56:46.753 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:46.915 28316 18317 I Quality : JankCountInfo: de.mm20.launcher2.ui.launcher.LauncherActivity basic:0-0-0 action:-1 data:0-0 type:2 stage:0-0-0 action:1 data:0-0 type:2 stage:0-0-0 type:4 stage:1-0-0 type:5 stage:0-0-0 action:2 data:0-0 type:2 stage:2-0-0 type:3 stage:0-0-0 type:4 stage:1-0-0 type:5 stage:0-0-0 action:6 data:0-0 type:2 stage:0-0-0 type:5 stage:0-0-0 action:8 data:0-0 type:2 stage:0-1-0 type:3 stage:0-0-0 type:4 stage:0-0-0 type:5 stage:0-0-0 type:6 stage:0-0-0
03-06 18:56:47.564 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:48.023 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:48.352 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:49.570 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:49.600 28316 28316 D WindowManager: Add to mViews: androidx.compose.ui.window.PopupLayout{590e772 V.E...... ......I. 0,0-0,0 #1020002 android:id/content},pkg= de.mm20.launcher2.release
03-06 18:56:49.607 28316 28316 D InputEventReceiver: Input log is disabled
03-06 18:56:49.625 28316 28316 D BufferQueueConsumer: [](id:6e9c0000003e,api:0,p:-1,c:28316) connect: controlledByApp=false
03-06 18:56:49.625 28316 29234 D BufferQueueProducer: [VRI[弹出式窗口]#62(BLAST Consumer)62](id:6e9c0000003e,api:1,p:28316,c:28316) connect: api=1 producerControlledByApp=true
03-06 18:56:49.627 28316 28316 D VRI[弹出式窗口]: registerCallbacksForSync syncBuffer=false
03-06 18:56:49.629 28316 29234 D VRI[弹出式窗口]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true syncBuffer=false
03-06 18:56:49.630 28316 29234 W Parcel  : Expecting binder but got null!
03-06 18:56:49.630 28316 28316 D VRI[弹出式窗口]: draw finished.
03-06 18:56:49.632 28316 28316 I Quality : Skipped: false 3 cost 30.79458 refreshRate 8333333 bit true processName de.mm20.launcher2.release
03-06 18:56:49.642 28316 28316 D VRI[弹出式窗口]: registerCallbacksForSync syncBuffer=false
03-06 18:56:49.643 28316 28316 D VRI[LauncherActivity]: onFocusEvent false
03-06 18:56:49.644 28316 28316 D VRI[弹出式窗口]: onFocusEvent true
03-06 18:56:49.646 28316 29234 D VRI[弹出式窗口]: Received frameCommittedCallback lastAttemptedDrawFrameNum=3 didProduceBuffer=true syncBuffer=false
03-06 18:56:49.646 28316 29234 D VRI[弹出式窗口]: draw finished.
03-06 18:56:50.339 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:50.343 28316 28316 D OplusSystemUINavigationGestureExtImpl: regionString = null
03-06 18:56:50.348 28316 28316 I Quality : Skipped: true 1 cost 9.184879 refreshRate 8288307 bit true processName de.mm20.launcher2.release
03-06 18:56:50.467 28316 28316 I Quality : Skipped: true 2 cost 20.243086 refreshRate 8288307 bit true processName de.mm20.launcher2.release
03-06 18:56:50.495 28316 28316 D VRI[弹出式窗口]: onFocusEvent false
03-06 18:56:50.511 28316 28316 D WindowManager: Add to mViews: DecorView@884b43a[SettingsActivity],pkg= de.mm20.launcher2.release
03-06 18:56:50.520 28316 28316 D InputEventReceiver: Input log is disabled
03-06 18:56:50.521 28316 28316 I Quality : Skipped: false 3 cost 33.146305 refreshRate 8333333 bit true processName de.mm20.launcher2.release
03-06 18:56:50.526 28316 28316 D AutofillManager: Fill dialog is enabled:false, hints=[]
03-06 18:56:50.538 28316 28316 D BufferQueueConsumer: [](id:6e9c0000003f,api:0,p:-1,c:28316) connect: controlledByApp=false
03-06 18:56:50.539 28316 28316 V ZoomWindowDecorView: setLastReportedMergedConfiguration mZoomDisplayHeight: 2400 getDecorView.142914618
03-06 18:56:50.539 28316 29234 D BufferQueueProducer: [VRI[SettingsActivity]#63(BLAST Consumer)63](id:6e9c0000003f,api:1,p:28316,c:28316) connect: api=1 producerControlledByApp=true
03-06 18:56:50.539 28316 28316 D VRI[SettingsActivity]: registerCallbacksForSync syncBuffer=false
03-06 18:56:50.543 28316 29234 D VRI[SettingsActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true syncBuffer=false
03-06 18:56:50.543 28316 29234 W Parcel  : Expecting binder but got null!
03-06 18:56:50.543 28316 28316 D VRI[SettingsActivity]: draw finished.
03-06 18:56:50.546 28316 28316 I Quality : Skipped: false 3 cost 25.181688 refreshRate 8333333 bit true processName de.mm20.launcher2.release
03-06 18:56:50.576 28316 28316 D VRI[SettingsActivity]: onFocusEvent true
03-06 18:56:50.577 28316 28316 I Quality : Skipped: false 2 cost 23.379688 refreshRate 8283023 bit true processName de.mm20.launcher2.release
03-06 18:56:50.580 28316 28316 D OplusScrollToTopManager: unregisterGuidePopupDismissReceiverInSystemUI
03-06 18:56:50.580 28316 28316 D OplusScrollToTopManager: Receiver not registered: android.view.OplusScrollToTopManager$1@3af3f5a
03-06 18:56:50.580 28316 28316 D OplusScrollToTopManager: unregisterSystemUIBroadcastReceiver 
03-06 18:56:50.580 28316 28316 D OplusScrollToTopManager: java.lang.IllegalArgumentException: Receiver not registered: android.view.OplusScrollToTopManager$2@87958b
03-06 18:56:50.581 28316 28316 V ZoomWindowDecorView: removeZoomView
03-06 18:56:50.582 28316 29234 D BufferQueueProducer: [VRI[弹出式窗口]#62(BLAST Consumer)62](id:6e9c0000003e,api:1,p:28316,c:28316) disconnect: api 1
03-06 18:56:50.582 28316 29234 D OpenGLRenderer: endAllActiveAnimators on 0xb400007d0f02b800 (UnprojectedRipple) with handle 0xb400007d46911f40
03-06 18:56:50.595 28316 29392 D BufferQueueConsumer: [VRI[弹出式窗口]#62(BLAST Consumer)62](id:6e9c0000003e,api:0,p:-1,c:28316) disconnect
03-06 18:56:50.595 28316 28316 I Quality : Skipped: true 2 cost 16.610777 refreshRate 8284675 bit true processName de.mm20.launcher2.release
03-06 18:56:50.790 28316 29392 D VRI[弹出式窗口]: dispatchAppVisibility visible:false
03-06 18:56:50.790 28316 31912 D VRI[LauncherActivity]: dispatchAppVisibility visible:false
03-06 18:56:50.796 28316 29234 D BufferQueueProducer: [VRI[LauncherActivity]#61(BLAST Consumer)61](id:6e9c0000003d,api:1,p:28316,c:28316) disconnect: api 1
03-06 18:56:50.800 28316 28316 D BufferQueueConsumer: [VRI[LauncherActivity]#61(BLAST Consumer)61](id:6e9c0000003d,api:0,p:-1,c:28316) disconnect
03-06 18:56:50.801 28316 28316 D VRI[LauncherActivity]: setWindowStopped stopped:true
03-06 18:56:51.864 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:51.867 28316 28316 D OplusSystemUINavigationGestureExtImpl: regionString = null
03-06 18:56:51.936 28316 28316 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
03-06 18:56:51.936 28316 28316 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
03-06 18:56:51.955 28316 28316 I Quality : Skipped: true 3 cost 25.385756 refreshRate 8286697 bit true processName de.mm20.launcher2.release
03-06 18:56:52.577 28316 28316 I Quality : Skipped: true 1 cost 9.499224 refreshRate 8286188 bit true processName de.mm20.launcher2.release
03-06 18:56:52.788 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:52.851 28316 28316 I Quality : Skipped: false 1 cost 10.054231 refreshRate 8287762 bit true processName de.mm20.launcher2.release
03-06 18:56:52.934 28316 28316 I Quality : Skipped: false 3 cost 26.100756 refreshRate 8286542 bit true processName de.mm20.launcher2.release
03-06 18:56:53.670 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:55.357 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:56:57.492 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:08.613 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:09.365 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:09.665 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:10.158 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:10.471 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:10.818 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:12.182 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:12.720 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:12.742 28316 32309 I Quality : JankCountInfo: de.mm20.launcher2.ui.settings.SettingsActivity basic:0-0-0 action:-1 data:0-0 type:2 stage:1-0-0 action:0 data:0-0 type:2 stage:2-0-0 action:1 data:0-0 type:3 stage:1-0-0 action:2 data:0-4 type:2 stage:2-0-0 action:8 data:0-2
03-06 18:57:13.354 28316 29220 I uncher2.release: Compiler allocated 4759KB to compile java.lang.Object androidx.compose.foundation.lazy.LazyListKt$rememberLazyListMeasurePolicy$1$1.invoke(java.lang.Object, java.lang.Object)
03-06 18:57:13.587 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:13.890 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:14.199 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:14.456 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:14.763 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:15.078 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:15.558 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:16.397 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:16.740 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:17.471 28316 32432 I Quality : JankCountInfo: de.mm20.launcher2.ui.settings.SettingsActivity basic:0-0-0 action:-1 data:0-0 type:2 stage:0-0-0 action:0 data:0-0 type:2 stage:0-0-0 action:1 data:0-0 type:3 stage:0-0-0 action:2 data:0-0 type:2 stage:0-0-0 action:8 data:0-2
03-06 18:57:20.256 28316 28316 V AutofillManager: requestHideFillUi(null): anchor = null
03-06 18:57:20.391 28316 28316 I Quality : Skipped: false 1 cost 10.094882 refreshRate 8287608 bit true processName de.mm20.launcher2.release
null
MM2-0 commented 1 year ago

Could you please check if the issue still occurs on the most recent nightly build?

labrusca commented 1 year ago

Could you please check if the issue still occurs on the most recent nightly build?

It basically works fine, but the time still doesn't update when the phone stays on the home screen until I do some action.

MM2-0 commented 1 year ago

What kind of action?

labrusca commented 1 year ago

What kind of action?

Actions that can leave the home screen, such as clicking a button or opening an app. And back to the home screen, you will find the time updated

MM2-0 commented 1 year ago

Check if there are any battery "optimizations" active. But other than that, I'm out of ideas. The launcher relies on the ACTION_TIME_TICK broadcast to update the time every full minute. If that broadcast is not delivered by the OS, then it is a bug in the OS.