MM2-0 / Kvaesitso

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

Layout Coordinates Crash #936

Open linuzzx opened 1 month ago

linuzzx commented 1 month ago

Description

Please provide as many information about the crash as possible (What did you do before the crash happened? Steps to reproduce?)

Sometimes when I navigate my launcher and phone, Kvaisitso crashes and freezes until I relog into my phone

kvaesitso-log-2024-07-10-062345.txt

Strack trace

java.lang.IllegalArgumentException: Error: Uninitialized LayoutCoordinates. Please make sure when using the SharedTransitionScope composable function, the modifier passed to the child content is being used, or use SharedTransitionLayout instead.
    at androidx.compose.animation.SharedBoundsNode$measure$1.invoke(SharedContentNode.kt:73)
    at androidx.compose.ui.node.LookaheadCapablePlaceable$layout$1.placeChildren(LookaheadDelegate.kt:7)
    at androidx.compose.ui.node.LookaheadDelegate.placeChildren(LookaheadDelegate.kt:5)
    at androidx.compose.ui.node.LookaheadDelegate.placeAt-f8xVGno(LookaheadDelegate.kt:9)
    at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50$default(Placeable.kt:15)
    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$LookaheadPassDelegate$placeSelf$2.invoke(LayoutNodeLayoutDelegate.kt:60)
    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:114)
    at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:48)
    at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:141)
    at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.kt:3)
    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$LookaheadPassDelegate.placeSelf-MLgxB_4$1(LayoutNodeLayoutDelegate.kt:104)
    at androidx.compose.ui.node.LayoutNode.lookaheadReplace$ui_release(LayoutNode.kt:35)
    at androidx.compose.ui.node.MeasureAndLayoutDelegate.ensureSubtreeLookaheadReplaced(MeasureAndLayoutDelegate.kt:41)
    at androidx.compose.ui.node.MeasureAndLayoutDelegate.ensureSubtreeLookaheadReplaced(MeasureAndLayoutDelegate.kt:44)
[19 lines truncated]

Device info

APP.VERSION : 1.31.2
APP.VERSIONCODE : 2024070300
APP.SIGNATURE : dRIzg4UiJzwGibzTylZTobfZl/E=
LAUNCHER.APP : de.mm20.launcher2.release
TIMEZONE : Europe/Berlin
VERSION.RELEASE : 14
VERSION.INCREMENTAL : 76
VERSION.SDK.NUMBER : 34
BOARD : venus
BOOTLOADER : unknown
BRAND : Xiaomi
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : AP1A.240505.005
FINGERPRINT : Xiaomi/venus_global/venus:13/RKQ1.211001.001/V816.0.2.0.UKBMIXM:user/release-keys
HARDWARE : qcom
HOST : android-build
ID : AP1A.240505.005
MANUFACTURER : Xiaomi
MODEL : M2011K2G
PRODUCT : venus_global
TAGS : release-keys
TIME : 1718024277000
TYPE : user

8227846265 commented 1 month ago

I have the same issue. Had to temporarily switch to another launcher since the frequency of this issue is too high on my devices.