Manjaro KDE 上夜间模式根据地理位置改变似乎不起作用

之前一个系统是好的,好像重装系统就坏了,不知道哪些软件影响了。


5月 12 10:21:32 Manjaro kwin_x11[3440]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 49507, resource id: 35651866, major code: 18 (ChangeProperty), minor code: 0
5月 12 10:21:32 Manjaro systemd[665]: Started 系统设置 - 系统设置.
5月 12 10:21:32 Manjaro kwin_x11[3440]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 49600, resource id: 35651867, major code: 18 (ChangeProperty), minor code: 0
5月 12 10:21:38 Manjaro systemsettings[7036]: file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:344: TypeError: Cannot read property 'latitude' of null
5月 12 10:21:38 Manjaro systemsettings[7036]: file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:345: TypeError: Cannot read property 'longitude' of null
5月 12 10:21:38 Manjaro systemsettings[7036]: file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:227: TypeError: Cannot read property 'latitude' of null
5月 12 10:21:39 Manjaro systemsettings[7036]: kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so: 无法加载库 /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so:(libgps.so.29: 无法打开共享对象文件: 没有那个文件或目录)"
5月 12 10:21:39 Manjaro systemsettings[7036]: Failed to load GeolocationProvider: "/usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so" "无法从 /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so 加载插件:无法加载库 /usr/lib/qt/plugins/plasma/geolocationprovider/plasma-geolocation-gps.so:(libgps.so.29: 无法打开共享对象文件: 没有那个文件或目录)"
5月 12 10:21:56 Manjaro systemsettings[7036]: file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:344: TypeError: Cannot read property 'latitude' of null
5月 12 10:21:56 Manjaro systemsettings[7036]: file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:345: TypeError: Cannot read property 'longitude' of null
5月 12 10:21:56 Manjaro systemsettings[7036]: file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:227: TypeError: Cannot read property 'latitude' of null
5月 12 10:21:56 Manjaro kwin_x11[3440]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 52169, resource id: 132120709, major code: 18 (ChangeProperty), minor code: 0
5月 12 10:21:56 Manjaro systemsettings[7036]: kf.notifications: Playing audio notification failed: Destroyed
5月 12 10:21:56 Manjaro systemd[665]: app-systemsettings-ffd6000476bd43e28e46e58330b12c91.scope: Consumed 1.767s CPU time.
5月 12 10:21:56 Manjaro kwin_x11[3440]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 52182, resource id: 35651868, major code: 18 (ChangeProperty), minor code: 0

这是个老bug了,起初我以为是没有联网或者用VPN,后来发现不是,安装 gpsd 也无法解决

This is an old bug. I also found it. It is not a network issue. I installed gpsd but it still not working.

file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:344: TypeError: Cannot read property 'latitude' of undefined
file:///usr/share/kpackage/kcms/kcm_nightcolor/contents/ui/main.qml:345: TypeError: Cannot read property 'longitude' of undefined
org.kde.plasma.dataengine.geolocation: gpsd not found

已经固定在 Unstable branch.
修复与 Plasma Framework 5.94