android icon indicating copy to clipboard operation
android copied to clipboard

Pictures don't delete

Open RemboIII opened this issue 4 months ago • 5 comments

⚠️ Before posting ⚠️

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

Steps to reproduce

Select pictures in media view. Choose delete (verwijderen). Pictures are still showing. Switching to all files crashes Nextcloud and shows logs.

Expected behaviour

Remove pictures from view

Actual behaviour

Pictures are removed, but were still showing before crash

Android version

15

Device brand and model

Samsung S22

Stock or custom OS?

Stock

Nextcloud android app version

3.32.3

Nextcloud server version

31.0.7

Using a reverse proxy?

Yes

Android logs

No response

Server error logs


Additional information

No response

RemboIII avatar Sep 05 '25 04:09 RemboIII

@RemboIII Hello

Thank you for the report. Could you share the crash log?

alperozturk96 avatar Sep 05 '25 06:09 alperozturk96

I'd be happy to. Where can I find it?

--

Vriendelijke groet,Remco.

Op vr 5 sep 2025, 08:54 schreef Alper Öztürk @.***>:

alperozturk96 left a comment (nextcloud/android#15534) https://github.com/nextcloud/android/issues/15534#issuecomment-3257272529

@RemboIII https://github.com/RemboIII Hello

Thank you for the report. Could you share the crash log?

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/android/issues/15534#issuecomment-3257272529, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKBO45VFFUNDTTKRU7AYZVT3REXTDAVCNFSM6AAAAACFV6FBUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENJXGI3TENJSHE . You are receiving this because you were mentioned.Message ID: @.***>

RemboIII avatar Sep 05 '25 15:09 RemboIII

Switching to all files crashes Nextcloud and shows logs.

It'll be in the output when it crashes.

joshtrichards avatar Sep 30 '25 22:09 joshtrichards

@alperozturk96 I also encountered this problem on Android 16 of Samsung Galaxy S24U! After selecting more content on the media file page, click "Delete" and directly crash. I obtained the crash log.

### Cause of error
```java
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{da418e6 position=46 id=348621, oldPos=-1, pLpos:-1 not recyclable(1)} 
 View Holder 2:GalleryRowHolder{477f0f9 position=45 id=348621, oldPos=-1, pLpos:-1} com.owncloud.android.ui.EmptyRecyclerView{61414ce VFED..... ......ID 0,0-1440,3007 #7f0a02f3 app:id/list_root}, adapter:com.owncloud.android.ui.adapter.GalleryAdapter@c49ece6, layout:androidx.recyclerview.widget.GridLayoutManager@7a1c554, context:com.owncloud.android.ui.activity.FileDisplayActivity@fdc991f
    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:1901)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1910)
    at android.view.Choreographer.doCallbacks(Choreographer.java:1367)
    at android.view.Choreographer.doFrame(Choreographer.java:1282)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1870)
    at android.os.Handler.handleCallback(Handler.java:995)
    at android.os.Handler.dispatchMessage(Handler.java:103)
    at android.os.Looper.loopOnce(Looper.java:273)
    at android.os.Looper.loop(Looper.java:363)
    at android.app.ActivityThread.main(ActivityThread.java:10060)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)

App information

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

Device information

  • Brand: samsung
  • Device: e3q
  • Model: SM-S9280
  • Id: BP2A.250605.031.A3
  • Product: e3qzcx

Firmware

  • SDK: 36
  • Release: 16
  • Incremental: `S9280ZCU4CYI7

Doraemon-byte avatar Oct 26 '25 07:10 Doraemon-byte

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

github-actions[bot] avatar Nov 24 '25 00:11 github-actions[bot]