MM2-0 / Kvaesitso

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

Crash when returning to homescreen from app #916

Closed ddbb07 closed 2 days ago

ddbb07 commented 3 days ago

Description

I got a crash when returning to the homscreen from an app, the device was in power saving mode at the time. I have no clue how to reproduce it.

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)
[21 lines truncated]

Device info

APP.VERSION : 1.31.1
APP.VERSIONCODE : 2024070100
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : android
TIMEZONE : Europe/Prague
VERSION.RELEASE : 14
VERSION.INCREMENTAL : 2024062700
VERSION.SDK.NUMBER : 34
BOARD : cheetah
BOOTLOADER : cloudripper-14.5-11677884
BRAND : google
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : 2024062700
FINGERPRINT : google/cheetah/cheetah:14/AP2A.240605.024/2024062700:user/release-keys
HARDWARE : cheetah
HOST : grapheneos
ID : AP2A.240605.024
MANUFACTURER : Google
MODEL : Pixel 7 Pro
PRODUCT : cheetah
TAGS : release-keys
TIME : 1719516874000
TYPE : user

ddbb07 commented 3 days ago

I'll close it if anyone thinks it's to vague and non reproducable. This is the first and only time it has happened.

ddbb07 commented 3 days ago

Probably a dup of #913, stacktrace looks the same.

ddbb07 commented 3 days ago

Probably a dup of #913, stacktrace looks the same.

MM2-0 commented 2 days ago

Duplicate of #913