Skip to content

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

@strugee

Description

@strugee

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

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