Skip to content

Multiple select - media files #16194

@kbftech

Description

@kbftech

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Go to media
  2. Select multiple pictures (11 in my case)
  3. App crashes

Expected behaviour

App not crashing.

Actual behaviour

App crashes.

Android version

16

Device brand and model

Google Pixel 7 pro

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.34.1

Nextcloud server version

32.0.3

Using a reverse proxy?

Yes

Android logs

type: crash
osVersion: google/cheetah/cheetah:16/BP4A.251205.006/2025121701:user/release-keys
flags: dev options enabled
package: com.nextcloud.client:30340190, targetSdk 35
process: com.nextcloud.client
processUptime: 86628 + 334 ms
installer: com.aurora.store

java.lang.IllegalStateException: Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.
 ViewHolder 1:GalleryRowHolder{9fb4ef9 position=11 id=54839, oldPos=-1, pLpos:-1 not recyclable(1)} 
 View Holder 2:GalleryRowHolder{1d57b9d position=10 id=54839, oldPos=-1, pLpos:-1} com.owncloud.android.ui.EmptyRecyclerView{3bbb2c4 VFED..... ......ID 0,0-1080,2179 #7f0a02f3 app:id/list_root}, adapter:com.owncloud.android.ui.adapter.GalleryAdapter@5416ac7, layout:androidx.recyclerview.widget.GridLayoutManager@efb05ad, context:com.owncloud.android.ui.activity.FileDisplayActivity@85d8483
	at androidx.recyclerview.widget.RecyclerView.handleMissingPreInfoForChangeError(RecyclerView.java:4778)
	at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:4702)
	at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:4367)
	at androidx.recyclerview.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:2095)
	at androidx.recyclerview.widget.RecyclerView$1.run(RecyclerView.java:468)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1630)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1639)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1235)
	at android.view.Choreographer.doFrame(Choreographer.java:1160)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1613)
	at android.os.Handler.handleCallback(Handler.java:1070)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.dispatchMessage(Looper.java:333)
	at android.os.Looper.loopOnce(Looper.java:263)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9331)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:366)

Server error logs

Additional information

Grapheneos

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions