Bug 474084

Summary: KDE Connect doesn't correct work on MacOS
Product: [Applications] kdeconnect Reporter: srysis1249
Component: macos-applicationAssignee: Weixuan XIAO <veyx.shaw>
Status: REPORTED ---    
Severity: crash CC: andy0130tw, turx2003
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Log crash
screenshot 1
screenshot 2
screenshot 3
screenshot 4

Description srysis1249 2023-09-03 10:02:56 UTC
Created attachment 161359 [details]
Log crash

SUMMARY
Yesterday I installed the latest version of KDE connect on MacOS and Android, but these apps didn't work with together. 

STEPS TO REPRODUCE
1. Connect Android to MacOS via KDE Connect
2. Configure permissions on Android and MacOS
3. Send clipboard from Android to MacOS

OBSERVED RESULT
I can connect Android to MacOS, but I cannot do anything. All functions doesn't work. Devices doesn't send even statistic about battery. 

EXPECTED RESULT
All works as it should.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 13.5.1 (22G90)
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I have attached file with log crash.
Comment 1 srysis1249 2023-09-03 10:20:18 UTC
Created attachment 161360 [details]
screenshot 1
Comment 2 srysis1249 2023-09-03 10:20:51 UTC
Created attachment 161361 [details]
screenshot 2
Comment 3 srysis1249 2023-09-03 10:21:27 UTC
Created attachment 161362 [details]
screenshot 3
Comment 4 srysis1249 2023-09-03 10:21:47 UTC
Created attachment 161363 [details]
screenshot 4
Comment 5 srysis1249 2023-09-03 10:24:56 UTC
Screenshots 1 and 2 is before bag happaned
Comment 6 srysis1249 2023-09-03 10:25:57 UTC
Ups, screenshots 1 and 3 instead 2
Comment 7 Andy Pan 2023-10-30 14:10:38 UTC
Not sure if it is related. I also ran into this problem despite a clean setup with manually started `dbus-launch` and `kdeconnectd` and I can provide some log trace of `kdeconnectd`:

```
Error sending UDP packet: QAbstractSocket::DatagramTooLargeError
Identity packet to QHostAddress("255.255.255.255") got rejected because it was too large. Retrying without including the capabilities
kdeconnect.core: Could not query capabilities from notifications server
new capabilities for  "Pixel 3"
kdeconnect.plugin.systemvolume: Unknown data source id of device 82
new capabilities for  "Pixel 8"
kdeconnect.plugin.systemvolume: Unknown data source id of device 82
kdeconnect.plugin.clipboard: Ignoring clipboard without timestamp
discarding unsupported packet "kdeconnect.runcommand.request" for "Pixel 8"
```

Although the last line looks suspicious that KDE Connect cannot detect the capabilities correctly, randomly everything works smoothly even if the line appears.