MM2-0 / Kvaesitso

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

Crash when typing to start an app #962

Closed huettenwirt closed 4 months ago

huettenwirt commented 4 months ago

Description

*Please provide as many information about the crash

After typing the second character of a search, Kvaesitso crashes.

Strack trace

java.lang.IllegalArgumentException: Key "calendar-calendar://27938" was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item.
    at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$Scope.subcompose(SubcomposeLayout.kt:146)
    at androidx.compose.foundation.lazy.layout.LazyLayoutMeasureScopeImpl.measure-0kLqBqw(LazyLayoutMeasureScope.kt:34)
    at androidx.compose.foundation.lazy.LazyListMeasuredItemProvider.getAndMeasure-0kLqBqw$default(LazyListMeasuredItemProvider.kt:15)
    at androidx.compose.foundation.lazy.LazyListKt$rememberLazyListMeasurePolicy$1$1.invoke(LazyList.kt:819)
    at androidx.compose.foundation.lazy.layout.LazyLayoutKt$LazyLayout$3$2$1.invoke(LazyLayout.kt:21)
    at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$createMeasurePolicy$1.measure-3p2s80s(SubcomposeLayout.kt:74)
    at androidx.compose.ui.node.InnerNodeCoordinator.measure-BRTryo0(InnerNodeCoordinator.kt:50)
    at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier.measure-3p2s80s(GraphicsLayerModifier.kt:1)
    at androidx.compose.ui.node.LayoutModifierNodeCoordinator.measure-BRTryo0(LayoutModifierNodeCoordinator.kt:189)
    at androidx.compose.ui.node.LayoutNodeLayoutDelegate$performMeasureBlock$1.invoke(LayoutNodeLayoutDelegate.kt:9)
    at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:56)
    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)
[80 lines truncated]

Device info

APP.VERSION : 1.32.0
APP.VERSIONCODE : 2024071900
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : android
TIMEZONE : Europe/Berlin
VERSION.RELEASE : 14
VERSION.INCREMENTAL : S906BXXSAEXEC
VERSION.SDK.NUMBER : 34
BOARD : s5e9925
BOOTLOADER : S906BXXSAEXEC
BRAND : samsung
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : UP1A.231005.007.S906BXXSAEXEC
FINGERPRINT : samsung/g0sxeea/g0s:14/UP1A.231005.007/S906BXXSAEXEC:user/release-keys
HARDWARE : s5e9925
HOST : 21DK7923
ID : UP1A.231005.007
MANUFACTURER : samsung
MODEL : SM-S906B
PRODUCT : g0sxeea
TAGS : release-keys
TIME : 1717045477000
TYPE : user

matthewdavis commented 4 months ago

I have this issue. I was able to work around it by disabling calendar from the search options.

Options -> Search -> uncheck calendar

After that I could search for apps

huettenwirt commented 4 months ago

Thanks for pointing this out. I was deleting the calendar widget, but didn't think of the calendar search. I'm sure this will be fixed, soon since there are multiple issues around this topic now...