IacobIonut01 / Gallery

Light-weight Media Gallery app for Android made with Jetpack Compose
Apache License 2.0
1.34k stars 71 forks source link

App doens't open after restart (error) after switching on monthly view #219

Closed pflanzenandi closed 1 year ago

pflanzenandi commented 1 year ago

2.0.0, Fresh install, all permissions, Android 14

IacobIonut01 commented 1 year ago

2.0.0, Fresh install, all permissions, Android 14

Are you using stock android ? I've never encountered this issue nor I can't reproduce

pflanzenandi commented 1 year ago

GrapheneOS 14

type: crash
osVersion: google/bluejay/bluejay:14/UP1A.231005.007/2023102300:user/release-keys
package: com.dot.gallery:20070
process: com.dot.gallery
processUptime: 171 + 186 ms
installer: com.looker.droidify

java.lang.IllegalArgumentException: Key "header_October" was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item.
    at t1.f0.u(Unknown Source:161)
    at x.d0.a(Unknown Source:33)
    at w.b0.a(Unknown Source:20)
    at w.u.b(Unknown Source:51)
    at w.v.k(Unknown Source:726)
    at r.x0.k(Unknown Source:160)
    at t1.h0.b(Unknown Source:79)
    at v1.u.d(Unknown Source:81)
    at q.m.a(Unknown Source:8)
    at q.m.j(Unknown Source:13)
    at t1.b0.d(Unknown Source:7)
    at v1.u.d(Unknown Source:29)
    at q.m.a(Unknown Source:37)
    at q.m.j(Unknown Source:26)
    at t1.b0.d(Unknown Source:7)
    at v1.u.d(Unknown Source:29)
    at g1.q0.d(Unknown Source:0)
    at v1.u.d(Unknown Source:29)
    at u.h0.d(Unknown Source:94)
    at v1.u.d(Unknown Source:29)
    at v1.k0.d(Unknown Source:17)
    at l0.g3.g(Unknown Source:59)
    at y0.y.b(Unknown Source:47)
    at y0.z.c(Unknown Source:152)
    at v1.l1.a(Unknown Source:2)
    at v1.i0.v0(Unknown Source:129)
    at v1.q0.b(Unknown Source:43)
    at v1.q0.j(Unknown Source:112)
    at v1.q0.e(Unknown Source:102)
    at v1.q0.d(Unknown Source:42)
    at androidx.compose.ui.platform.AndroidComposeView.j(Unknown Source:2)
    at v1.i0.v0(Unknown Source:54)
    at v1.i0.d(Unknown Source:112)
    at l0.a7.b(Unknown Source:931)
    at l0.a7.k(Unknown Source:25)
    at t1.h0.b(Unknown Source:79)
    at v1.u.d(Unknown Source:81)
    at v1.k0.d(Unknown Source:17)
    at l0.g3.g(Unknown Source:59)
    at y0.y.b(Unknown Source:47)
    at y0.z.c(Unknown Source:152)
    at v1.l1.a(Unknown Source:2)
    at v1.i0.v0(Unknown Source:129)
    at v1.q0.b(Unknown Source:43)
    at v1.q0.j(Unknown Source:112)
    at v1.q0.g(Unknown Source:90)
    at androidx.compose.ui.platform.AndroidComposeView.r(Unknown Source:33)
    at v1.j1.a(Unknown Source:3)
    at androidx.compose.ui.platform.AndroidComposeView.dispatchDraw(Unknown Source:13)
    at android.view.View.draw(View.java:23892)
    at android.view.View.updateDisplayListIfDirty(View.java:22756)
    at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4540)
    at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4513)
    at android.view.View.updateDisplayListIfDirty(View.java:22712)
    at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4540)
    at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4513)
    at android.view.View.updateDisplayListIfDirty(View.java:22712)
    at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4540)
    at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4513)
    at android.view.View.updateDisplayListIfDirty(View.java:22712)
    at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4540)
    at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4513)
    at android.view.View.updateDisplayListIfDirty(View.java:22712)
    at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:694)
    at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:700)
    at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:798)
    at android.view.ViewRootImpl.draw(ViewRootImpl.java:4939)
    at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4643)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3822)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2465)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9305)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1339)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1348)
    at android.view.Choreographer.doCallbacks(Choreographer.java:952)
    at android.view.Choreographer.doFrame(Choreographer.java:882)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1322)
    at android.os.Handler.handleCallback(Handler.java:958)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:205)
    at android.os.Looper.loop(Looper.java:294)
    at android.app.ActivityThread.main(ActivityThread.java:8199)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
    at com.android.internal.os.ExecInit.main(ExecInit.java:49)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
DKMellow commented 1 year ago

Also on Garapene OS, Android 13, and the apps crashes at launch after the update.

crash-com-dot-gallery-02-11_20-10-01.zip

IacobIonut01 commented 1 year ago

Please check update 20079, should have fixed all issues about this

DKMellow commented 1 year ago

Can confirm the issue is fixed. Thank you!