https://bugs.kde.org/show_bug.cgi?id=437995

            Bug ID: 437995
           Summary: kdeconnect.photo.request opens blank/white KDE connect
                    android app
           Product: kdeconnect
           Version: unspecified
          Platform: Android
                OS: Android 11.x
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: k...@dothomic.de
  Target Milestone: ---

SUMMARY

After sending a `kdeconnect.photo.request` (with an empty body) to my android
smartphone (Google Pixel 5 running CalyxOS, a degoogled ROM with microG, the
stock Google Camera app and the stock Google Photos app with capped network
access), it opens the KDE connect app I installed from f-droid. The app stays
blank/white and nothing happens.

STEPS TO REPRODUCE

1. Send a kdeconnect.photo.request (with an empty body) to a paired android
smartphone (in my case, I'm using GSConnect and have checked the logs)
2. Smartphone opens the KDE Connect app with no content
3. Nothing happens

OBSERVED RESULT

It opens the KDE Connect app without any content (plain white) and doesn't
shoot a photo.

EXPECTED RESULT

It opens my default Camera app (Google Camera), shoots a photo, and sends the
photo back to my computer.

SOFTWARE/OS VERSIONS
Desktop OS: Arch GNU/Linux (rolling release)
Desktop Environment: GNOME 40
Desktop Server: GSConnect extension (uses the standard KDE Connect protocol as
observed in the logs)
Smartphone OS: Android 11 (CalyxOS) with the microG Google Framework
replacement layer
Smartphone Applications: Google Camera, Google Photos (no network access)
Smartphone Client: KDE Connect 1.17.0 installed from F-Droid (standard
repository)

ADDITIONAL INFORMATION

Request log:
```
GSConnect: 46 (user)
GJS:       16801
Session:   wayland
OS:        Arch Linux
--------------------------------------------------------------------------------
-- Journal begins at [...] --
[...] org.gnome.Shell.Extensions.GSConnect[2710]:
[/service/device.js:sendPacket:446]: Pixel 5: {
    "id": 1622637336251,
    "type": "kdeconnect.photo.request",
    "body": {}
}
[...]
```
GSConnect source code relevant to sending said packet:
https://github.com/GSConnect/gnome-shell-extension-gsconnect/blob/master/src/service/device.js#L428-L456
GSConnect source code relevant to the Photo plugin:
https://github.com/GSConnect/gnome-shell-extension-gsconnect/blob/master/src/service/plugins/photo.js
I have opened an issue in the GSConnect repository before I filed a bug report
here (it was labeled an upstream issue):
https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/1066

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to