immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
39.43k stars 1.86k forks source link

Sharing images from inside Immich to another app opens the target app inside Immich #10533

Open lilfoure opened 3 weeks ago

lilfoure commented 3 weeks ago

The bug

When I attempt to use the "share to" function in the tap-and-hold selection menu, or use the share button while viewing a photo, say to send a photo to a friend via text message, the app that I am sharing the photo to (the example screenshot shows Snapchat running inside the Immich window) will open inside of Immich. when I try to return to the Immich app, I must use the recent apps tray to force close Immich and reopen it to regain access to the regular Immich application. Screenshot_2024-06-21-14-36-14-02_b783bf344239542886fee7b48fa4b892

The OS that Immich Server is running on

Debian 12 Bookworm, inside Docker

Version of Immich Server

1.106.4

Version of Immich Mobile App

1.106.4 build 2144

Platform with the issue

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

1. open the Immich mobile app
2. open a photo (or tap and hold on the photo from thumbnail view)
3. tap the share button (or, in thumbnail view, tap "Share to"
4. select an app
5. try to return to Immich after sharing

Relevant log output

No response

Additional information

this is my first issue i've opened, so not sure if it's relevant but the Android kernel version is Android 14, the actual OS is Oxygen OS 14.0 from OnePlus.

waqasali101 commented 1 week ago

Could not reproduce this on Oneplus 9 Pro with android 14 with latest version of app 1.107.1. OnePlus has a share option with floating windows, maybe thats messing up? Floating windows does not seem to work when sharing from immich app but does not cause above issue.