nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.27k stars 1.77k forks source link

Crash when copying multi-selection from favourites/shared tab #11797

Closed ZetaTom closed 10 months ago

ZetaTom commented 1 year ago

⚠️ Before posting ⚠️

Steps to reproduce

  1. Install and setup new account in Nextcloud app
  2. Navigate into Photos folder
  3. Select all items and add to favourites
  4. Switch to Favourites tab
  5. Long-press on any item; select all
  6. Select Copy or Move from action menu
  7. In Copy to… dialogue create new folder (e.g. A)
  8. Confirm move/copy

Expected behaviour

Selected items are moved or copied to selected folder.

Actual behaviour

After a suspiciously jumpy loading animation the app crashes. When examining what files have been copied/moved, there is always a subset of the selected files present.

Filename Present after crash?
Birdie.jpg :x:
Frog.jpg :heavy_check_mark:
Gorilla.jpg :heavy_check_mark:
Library.jpg :heavy_check_mark:
Nextcloud community.jpg :heavy_check_mark:
Readme.md :x:
Steps.jpg :x:
Toucan.jpg :x:
Vineyard.jpg :x:

Android version

11 (API level 30; AOSP image)

Device brand and model

Google Pixel 2 Emulator (Android Studio)

Stock or custom OS?

Stock

Nextcloud android app version

ba292cfd2bf449235c3e84edbc6d11d2a70cd37e

Nextcloud server version

27.0.0

Using a reverse proxy?

No

Android logs

log.txt

Server error logs

No response

Additional information

No response

ZetaTom commented 10 months ago

Not reproducible with the latest master version.

Closing this issue as there have been major changes made to the way the recycler view, its items and the corresponding positions are handled internally.