Changing account does not work for sharing an image from the gallery
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/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](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
A prerequisite is having at least two accounts.
1. Take a photo with the smartphone!
2. Open _Gallery_, look for the photo and click the upload icon!
3. Choose _Nextcloud_!
4. Taken it shows the wrong account click _Vaheta kontot_!
5. Click the account bar to choose the account!
6. See that it always remains in the current account no matter what you do!
### Expected behaviour
Switching the account really switches the account.
### Actual behaviour
Clicking to switch the account and choosing the account results with remaining in the current account.
### Android version
13 TKQ1.221013.002
### Device brand and model
Xiaomi, Redmi Note 10 Pro
### Stock or custom OS?
Stock
### Nextcloud android app version
3.29.2
### Nextcloud server version
29.0.2 for one account, 28.0.1 for the current account
### Using a reverse proxy?
Yes
### Android logs
_No response_
### Server error logs
```bash
oiatus cron
Used memory grew by more than 10 MB when executing job OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications (id: 633, arguments: null): 49.9 MB (before: 39.8 MB)
"21. aug 2024, 00:16:21"
Hoiatus cron
Used memory grew by more than 10 MB when executing job OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications (id: 633, arguments: null): 50 MB (before: 40.1 MB)
"19. aug 2024, 00:05:37"
Hoiatus cron
Used memory grew by more than 10 MB when executing job OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications (id: 633, arguments: null): 50 MB (before: 40.1 MB)
"19. aug 2024, 00:05:37"
Viga recognize
NotFoundException
Error in recognize file listener
Error in recognize file listener
"18. aug 2024, 04:07:32"
Viga recognize
NotFoundException
Error in recognize file listener
Error in recognize file listener
"18. aug 2024, 04:07:32"
Hoiatus cron
Used memory grew by more than 10 MB when executing job OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications (id: 633, arguments: null): 49.6 MB (before: 39.5 MB)
"9. aug 2024, 23:35:54"
Hoiatus cron
Used memory grew by more than 10 MB when executing job OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications (id: 633, arguments: null): 49.6 MB (before: 39.5 MB)
"9. aug 2024, 23:35:54"
Hoiatus cron
Used memory grew by more than 10 MB when executing job OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications (id: 633, arguments: null): 49.9 MB (before: 40 MB)
"6. aug 2024, 23:22:42"
Hoiatus cron
Used memory grew
```
### Additional information
> peacecopkalmer@peacecop-kalmer-GL752VW:~$ adb logcat --pid=$(adb shell pidof -s 'com.nextcloud.client') > logcatOutput.txt
> * daemon not running; starting now at tcp:5037
> * daemon started successfully
> adb: device unauthorized.
> This adb server's $ADB_VENDOR_KEYS is not set
> Try 'adb kill-server' if that seems wrong.
> Otherwise check for a confirmation dialog on your device.
> - waiting for device -
> logcat: pid out of range.
Contributor guide
Assessment
This issue has not been assessed yet.