android icon indicating copy to clipboard operation
android copied to clipboard

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

Open piiskop opened this issue 1 year ago • 1 comments

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar 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.

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.

piiskop avatar Aug 21 '24 20:08 piiskop

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).

joshtrichards avatar Oct 16 '24 17:10 joshtrichards

Workaround: After the not working attempt to switch the account I go back to the sharing dialogue and when I share again the account changed.

q-wertz avatar Jun 28 '25 07:06 q-wertz