我的桌面:
❯ uname -a
Linux rigel 5.15.0-53-generic #59~20.04.1-Ubuntu SMP Thu Oct 20 15:10:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
❯ kdeconnect-app --version
kdeconnect.app 1.0
我的手机是 Pixel 3a,安装了来自 Google Play Store 的 Android 12 和 KDE Connect 1.19.1。所有这些操作所在的网络是受信任的,这意味着我的手机不会改变物理地址,而且它有一个静态 IP。
配对这两个设备时我没有遇到任何问题,而且每个功能(例如文件传输、远程控制等)似乎都运行良好。问题是,一旦我关闭/打开手机屏幕,KDE Connect 就会将手机从受信任(配对)设备列表中删除。我kdeconnect-app
在控制台中运行并得到以下输出:
❯ kdeconnect-app
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ContextDrawer.qml:79: TypeError: Cannot call method 'hasOwnProperty' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ContextDrawer.qml:79: TypeError: Value is null and could not be converted to an object
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ContextDrawer.qml:79: TypeError: Value is null and could not be converted to an object
kdeconnect.interfaces: Adding missing or previously removed device "a484339f505ceccc"
kdeconnect.interfaces: Adding missing or previously removed device "a484339f505ceccc"
kdeconnect.interfaces: Adding missing or previously removed device "a484339f505ceccc"
kdeconnect.interfaces: Adding missing or previously removed device "a484339f505ceccc"
kdeconnect.interfaces: Adding missing or previously removed device "a484339f505ceccc"
kdeconnect.interfaces: Adding missing or previously removed device "a484339f505ceccc"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ContextDrawer.qml:79: TypeError: Value is null and could not be converted to an object
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ContextDrawer.qml:79: TypeError: Value is null and could not be converted to an object
qrc:/qml/DevicePage.qml:45: TypeError: Type error
qrc:/qml/DevicePage.qml:32: TypeError: Type error
qrc:/qml/DevicePage.qml:134: TypeError: Type error
qrc:/qml/DevicePage.qml:120: TypeError: Type error
qrc:/qml/DevicePage.qml:112: TypeError: Type error
kdeconnect.interfaces: Removed changed device "a484339f505ceccc"
显然,当手机恢复在线时,确实发生了一些变化,但是什么呢?我检查了设备配置或证书是否发生变化~/.config/kdeconnect/trusted_devices
,但没有变化。
有什么想法可能导致该问题或如何解决该问题?