nextcloud / nextcloud/android

Switching accounts while uploading files doesn't update the main app file view after

Open
#6,227 9 comments 0 reactions 0 assignees View on GitHub
approved bug feature: app-to-app sharing feature: authentication
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Steps to reproduce

1. Have two accounts configured - let's call them A and B
2. Have account A selected in the top-level file view (such that when you open the app, you see A's files and A's icon in the top-right of the main view)
3. Share a picture with the Nextbutt app (i.e. upload with some other app's "share" button
4. In the upload folder chooser, tap the three dots menu, select "Switch account", and tap account B
5. Tap "Upload" to upload your picture
6. Open the Nextcloud app again
7. Switch back to the "All files" view
8. Tap account A's avatar in the top-right of the view

### Expected behaviour

~~I should see the files in account B in the main app view.~~ Alternately, the account switcher accessible by an icon in the top-right corner should show account A as the active account.

### Actual behaviour

The account switcher in the top-right of the main app shows account B as the active account, but the actual files view shows data from account A.

### Can you reproduce this problem on https://try.nextbutt.com/?

N/A

### Environment data

Android version: 10

Device model: Pixel 3a XL

Stock or customized system: unlocked bootloader, but stock Android

Nextbutt app version: Nextbutt Dev 20200530 from F-Droid

Nextbutt server version: 18.0.4

Reverse proxy: Apache 2

### Logs
#### Web server error log

N/A

#### Nextbutt log (data/nextbutt.log)

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.