Bug 492199

Summary: The name org.kde.kdeconnect was not provided by any .service filE
Product: [Applications] kdeconnect Reporter: imscytha
Component: macos-applicationAssignee: Ruixuan Tu <turx2003>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The screenshots as mentioned

Description imscytha 2024-08-26 09:18:16 UTC
Created attachment 172961 [details]
The screenshots as mentioned

After downloading the latest verision of KDE Connect (provided in the download section of the official website that redirects you to: https://cdn.kde.org/ci-builds/network/kdeconnect-kde/master/macos-arm64/), based on the file name and the info this pertains the release file: kdeconnect-kde-master-4181-macos-clang-arm64.dmg	2024-08-21 16:04.

When you open the kde-indicator app from launchpad I get 'The name org.kde.kdeconnect was not provided by any .service file' in the name field of KDE Connect.
I'm not super informed on how KDE Connect really works under the hood, however I'm just a tiny bit experienced on Linux systems, so I wanted to go ahead and take a look myself.
Now again as a disclaimer I'm not nearly experienced with how KDE Connect works, but I think the issue is somewhere with the dbus service.
Perhaps it could be that on /Applications/kdeconnect-indicator.app/Contents/Resources/dbus-1/services the file looks like this:

[D-BUS Service]
Name=org.kde.kdeconnect
Exec==/Users/gitlab/ws/builds/GZwHuM5x/0/network/kdeconnect-kde/macos-arm-clang/bin/kdeconnectd

and I'm not sure if the path is correct or not (forgive me for my lack of knowledge in this case please). 
When I try to run the kde-indicator binary from the terminal at /Applications/kdeconnect-indicator.app/Contents/MacOS
the error is mitigated however there are still some debug info at the terminal such as: 

./kdeconnect-indicator
2024-08-26 11:10:07.950 kdeconnect-indicator[19770:124284] Registering KDE Connect Send File Service
2024-08-26 11:10:07.950 kdeconnect-indicator[19770:124284] KDE Connect Send File Service registered
dbus[19770]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Default session bus not detected, will use private D-Bus.
Launching private session D-Bus.
Private D-Bus daemon launched and connected.
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
kdeconnect.interfaces: dbus interface not valid
kdeconnect.interfaces: dbus interface not valid
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
QSystemTrayIcon::setVisible: No Icon set
kdeconnect.interfaces: dbus interface not valid
2024-08-26T11:10:12 default: Unimplemented code.
2024-08-26T11:10:12 default: Error sending UDP packet: QAbstractSocket::DatagramTooLargeError
2024-08-26T11:10:12 default: Identity packet to QHostAddress("255.255.255.255") got rejected because it was too large. Retrying without including the capabilities
2024-08-26T11:10:12 kdeconnect.core: Could not query capabilities from notifications server
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kdeconnect was not provided by any .service files")

I'll attach all of these as a screenshots as well.

SOFTWARE/OS VERSIONS
macOS: 14.6.1 (23G93)
(available in the Info Center app, or by running `kinfo` in a terminal window)