Closed jansol closed 7 months ago
X11 or Wayland? Seems fine for me on Wayland/AMD.
Wayland/AMD, was working fine in upstream nixpkgs.
Interesting. Anything in kwin logs?
Haven't spotted anything so far, no :(
Okay after a reboot it seems to somewhat work? But I did find a couple of interesting journal messages when opening the kcm:
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:64:5: QML Connections: Detected function "onLatitudeChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:64:5: QML Connections: Detected function "onLongitudeChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:65:9: Unable to assign [undefined] to QObject*
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:313: TypeError: Cannot read property 'latitude' of undefined
systemsettings[113649]: file:///nix/store/27z4kwwpasdf59nfr9hwcmp1rl8qcrj2-kirigami-5.245.0/lib/qt-6/qml/org/kde/kirigami/private/globaltoolbar/PageRowGlobalToolBarUI.qml:55:5: QML Rectangle: Cannot specify top, bottom, and verticalCenter anchors at the same time.
systemsettings[113649]: qml: Page SubCategoryPage_QMLTYPE_87(0x13d47f0) is already in the PageRow
systemsettings[113649]: qml: Pushed pages do not confront the rules. Please check the documentation.
systemsettings[113649]: push (file:///nix/store/27z4kwwpasdf59nfr9hwcmp1rl8qcrj2-kirigami-5.245.0/lib/qt-6/qml/org/kde/kirigami/PageRow.qml:223)
onActiveSubCategoryRowChanged (qrc:/qt/qml/org/kde/systemsettings/SubCategoryPage.qml:175)
systemsettings[113649]: file:///nix/store/27z4kwwpasdf59nfr9hwcmp1rl8qcrj2-kirigami-5.245.0/lib/qt-6/qml/org/kde/kirigami/ScrollablePage.qml:332: TypeError: Cannot read property 'activeFocus' of null (exception occurred during delayed function evaluation)
systemsettings[113649]: file:///nix/store/27z4kwwpasdf59nfr9hwcmp1rl8qcrj2-kirigami-5.245.0/lib/qt-6/qml/org/kde/kirigami/ScrollablePage.qml:332: TypeError: Cannot read property 'activeFocus' of null (exception occurred during delayed function evaluation)
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:43: TypeError: Cannot call method 'destroy' of undefined
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:43: TypeError: Cannot call method 'destroy' of undefined
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:43: TypeError: Cannot read property 'destroy' of undefined
systemsettings[113649]: qrc:/kcm/kcm_nightcolor/main.qml:43: TypeError: Cannot read property 'destroy' of undefined
Those are just the systemsettings page itself, and seemingly non-fatal. The actual night color-ing is done by KWin.
The systemsettings page seems to have trouble showing the actual configuration too, probably related to these errors. It always reverts the dropdown box to "Always off" even though it was set to something else. The "Apply" button matches what it's supposed to, though. Might be an upstream thing I guess.
Can't seem to repro this any more so I'll close this. Works nicely even with HDR enabled.
It does appear to be limited to only one monitor (and I have two) but from a quick glance that seems to be an upstream issue so I'll close this for now.
Setting it to "always on" or triggering manually from the task bar does nothing.