EliverLara / Nordic

:snowflake: Dark Gtk3.20+ theme created using the awesome Nord color pallete.
GNU General Public License v3.0
2.33k stars 117 forks source link

[KDE Plasma] Lock screen does not unlock user #215

Closed kuroni closed 1 year ago

kuroni commented 2 years ago

I am on Arch Linux, and I just installed nordic-kde-git 2 days ago. Everything is working like expected except for the lock screen; for some reason the lock screen is using Breeze's. Reinstalling the theme doesn't work at all.

Upon inspecting using /usr/lib/kscreenlocker_greet --testing, I think there are issues with the Nord's lock screen not being able to unlock properly.

Breeze's lock screen (kscreenlocker_greet exits upon entering the correct password)

$ /usr/lib/kscreenlocker_greet --testing --org.kde.breeze.desktop
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:222: ReferenceError: wallpaper is not defined
file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:55: TypeError: Property 'setAction' of object ScreenLocker::WallpaperIntegration(0x560017d11610) is not a function
Locked at 1656145434
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:604: TypeError: Value is undefined and could not be converted to an object
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US" . Search paths ("/usr/share/qt/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")

Nord's lock screen (kscreenlocker_greet does not respond to password input)

$ /usr/lib/kscreenlocker_greet --testing --theme Nordic-darker
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/LockScreen.qml:52:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:55: TypeError: Property 'setAction' of object ScreenLocker::WallpaperIntegration(0x55dafa07e770) is not a function
Locked at 1656145091
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/MainBlock.qml:101:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/LockScreenUi.qml:66:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/LockScreenUi.qml:43:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/LockScreenUi.qml:43:5: QML Connections: Cannot assign to non-existent property "onError"
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/LockScreenUi.qml:43:5: QML Connections: Cannot assign to non-existent property "onMessage"
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/LockScreenUi.qml:43:5: QML Connections: Cannot assign to non-existent property "onGraceLockedChanged"
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/SessionManagementScreen.qml:64:5: Unable to assign [undefined] to int
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/ActionButton.qml:33:5: Unable to assign [undefined] to int
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/KeyboardLayoutButton.qml:29:5: Unable to assign [undefined] to int
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/Battery.qml:48:9: Unable to assign [undefined] to double
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/lockscreen/LockOsd.qml:58:13: Cannot assign to non-existent property "rootItem"
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/UserDelegate.qml:41:5: Unable to assign [undefined] to int
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/KeyboardLayoutButton.qml:55: TypeError: Cannot read property 'displayName' of undefined
qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US" . Search paths ("/usr/share/qt/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/WallpaperFader.qml:128: ReferenceError: formBg is not defined
file:///usr/share/plasma/look-and-feel/Nordic-darker/contents/components/WallpaperFader.qml:128: ReferenceError: formBg is not defined
kuroni commented 2 years ago

Update: I downgraded everything related to plasma to version 5.24, and the lock screen is working fine now. Probably some sort of API deprecation was carried out.