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

Created on 6 Jun 2020  路  9Comments  路  Source: nextcloud/android

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

approved bug

Most helpful comment

@tobiasKaminsky hmm. That makes sense, but there's still a bug in dev edition 20200607. After switching accounts during uploading, the avatar shown in the top-right of the main file view is correct. However, when you tap on it, it shows the account you switched to during upload as the active account. (If that's hard to follow I can write a more detailed STR when I'm in front of a real computer 馃槄)

I'd like to reopen this.

All 9 comments

Upload is just a short account switching, this does not change which account is used during normal app usage.
(we change UI soon, so that you can see more easily which account is used)

@tobiasKaminsky hmm. That makes sense, but there's still a bug in dev edition 20200607. After switching accounts during uploading, the avatar shown in the top-right of the main file view is correct. However, when you tap on it, it shows the account you switched to during upload as the active account. (If that's hard to follow I can write a more detailed STR when I'm in front of a real computer 馃槄)

I'd like to reopen this.

(If that's hard to follow I can write a more detailed STR when I'm in front of a real computer sweat_smile)

Yes, please :)

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!

still valid

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!

Oof. Embarrassingly I forgot about this multiple times, despite the stale bot reminders... but the STR in the description is finally updated to be clearer. So sorry for the wait :sweat_smile:

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!

Removing the needs info label since the description has been updated, but feel free to apply it again and ping me if you need more information 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tobiasKaminsky picture tobiasKaminsky  路  3Comments

JSoko picture JSoko  路  3Comments

ikke-t picture ikke-t  路  3Comments

AndyScherzinger picture AndyScherzinger  路  3Comments

AndyScherzinger picture AndyScherzinger  路  3Comments