我的桌面:
❯ 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 商店安裝了 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
,但沒有更改。
有什麼想法可能導致此問題或如何解決此問題嗎?