nextcloud / android

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

Changing account does not work for sharing an image from the gallery #13435

Open piiskop opened 1 month ago

piiskop commented 1 month ago

⚠️ Before posting ⚠️

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

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.
joshtrichards commented 2 days ago

Reproduced.

It does eventually change the account if you poke around the directory structure a bit (i.e. try to go to the parent directory or to into a subdirectory, which seems to trigger a refresh into the correct account).