Skip to content

select picture and scroll #16209

@bodnarlajos

Description

@bodnarlajos

⚠️ 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

If you select more than one pictures and scroll down for more then click to select a new picture and in that case I get this exception below.
It looks like I can select media files from the current view only...

Expected behaviour

I want to select pictures from my all files.

Actual behaviour

I can select pictures/videos from the files what I see on the current view

Android version

16

Device brand and model

nothing phone 2a

Stock or custom OS?

Stock

Nextcloud android app version

3.34.1

Nextcloud server version

0.0.0

Using a reverse proxy?

No

Android logs

Cause of error

Exception in thread "main" 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{2752e57 position=9 id=137303, oldPos=-1, pLpos:-1 not recyclable(1)} 
 View Holder 2:GalleryRowHolder{e35553e position=8 id=137303, oldPos=-1, pLpos:-1} com.owncloud.android.ui.EmptyRecyclerView{260cf62 VFED..... ......ID 0,0-1084,2223 #7f0a02f3 app:id/list_root aid=1073742181}, adapter:com.owncloud.android.ui.adapter.GalleryAdapter@b63a443, layout:androidx.recyclerview.widget.GridLayoutManager@a3458f3, context:com.owncloud.android.ui.activity.FileDisplayActivity@c55d073
    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:1850)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1859)
    at android.view.Choreographer.doCallbacks(Choreographer.java:1409)
    at android.view.Choreographer.doFrame(Choreographer.java:1289)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1826)
    at android.os.Handler.handleCallback(Handler.java:995)
    at android.os.Handler.dispatchMessage(Handler.java:103)
    at android.os.Looper.loopOnce(Looper.java:283)
    at android.os.Looper.loop(Looper.java:392)
    at android.app.ActivityThread.main(ActivityThread.java:9231)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:633)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)

App information

  • ID: com.nextcloud.client
  • Version: 30340190
  • Build flavor: gplay

Device information

  • Brand: Nothing
  • Device: Pacman
  • Model: A142
  • Id: BP2A.250605.031.A3
  • Product: PacmanEEA

Firmware

  • SDK: 36
  • Release: 16
  • Incremental: 2511282240

Server error logs

Additional information

No response

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