Bug 462893

Summary: "take a photo " action on host only works when KDE Connect is currently open on the phone
Product: [Applications] kdeconnect Reporter: Philippe ROUBACH <philippe.roubach>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 22.12.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Philippe ROUBACH 2022-12-11 08:19:58 UTC
STEPS TO REPRODUCE

1. in kde connect plasmoid in the burger menu click on  "take a photo"


OBSERVED RESULT

nothing happens at the smartphone.
dolphin file selector opens, but there is no photo to record.

EXPECTED RESULT

A photo is taken at the smartphone.
there is a photo to record

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221209
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
KDE GEARS 22.12.0

kdeconnect 22.12.0
android kdeconnect 1.19.1
Samsung S7, android 8.0

ADDITIONAL INFORMATION
Comment 1 Philippe ROUBACH 2022-12-14 08:41:01 UTC
A new definition of the problem.

When using “take a photo” then the photo app is well launched, but the photo is not taken.
You must manually take the photo.

I checked this with two different phones and the same app "opencamera" using camera2 api.

Plus : 
if the smartphone is locked, then the photo app is well launched.
 If the screen saver is displayed, then the app is not launched. We must switch to the lock screen to get the photo app.
Comment 2 Nate Graham 2023-01-04 19:22:53 UTC
Can reproduce. Seems like it only works when the KDE Connect app is open on the phone.