HimDek / Utterly-Nord-Plasma

A Slick and Modern Global theme for KDE Plasma utilizing the Nord Color Palette with transparency and blur in UI
http://himdek.com/Utterly-Nord-Plasma/
GNU General Public License v2.0
54 stars 5 forks source link

SDDM Theme not supported for Plasma 6 #14

Open CommanderKronos opened 8 months ago

CommanderKronos commented 8 months ago

I installed the Utterly-Nord global theme and it's components for Plasma 6, including the SDDM. Unfortunately, the SDDM does not work with Plasma 6 due to the missing module org.kde.plasma.private.sessions which is loaded in sddm/components/WallpaperFader.qml:

import org.kde.plasma.private.sessions 2.0
import "../components"

Resulting in the error:

The current theme cannot be loaded due to the errors below, please select another theme

file:///usr/share/sddm/themes/Utterly-Nord/Main.qml:110:9: Type WallpaperFader unavailable
file:///usr/share/sddm/themes/Utterly-Nord/components/WallpaperFader.qml:13:1: module 'org.kde.plasma.private.sessions' is not installed
CommanderKronos commented 8 months ago

More verbose error:

~> sddm-greeter --test-mode --theme /usr/share/sddm/themes/Utterly-Nord/
High-DPI autoscaling Enabled
Reading from "/usr/local/share/wayland-sessions/plasma.desktop"
Reading from "/usr/share/wayland-sessions/plasma.desktop"
Reading from "/usr/local/share/xsessions/plasmax11.desktop"
Reading from "/usr/share/xsessions/plasmax11.desktop"
Loading theme configuration from "/usr/share/sddm/themes/Utterly-Nord//theme.conf"
Socket error:  "QLocalSocket::connectToServer: Invalid name"
Loading file:///usr/share/sddm/themes/Utterly-Nord//Main.qml...
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7ffd78a8b910), parent's thread is QThread(0x55d7406fea50), current thread is QThread(0x55d7408ccfb0)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7ffd78a8b910), parent's thread is QThread(0x55d7406fea50), current thread is QThread(0x55d7408ccfb0)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7ffd78a8b910), parent's thread is QThread(0x55d7406fea50), current thread is QThread(0x55d7408ccfb0)
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
file:///usr/share/sddm/themes/Utterly-Nord//Main.qml:110:9: Type WallpaperFader unavailable 
             WallpaperFader { 
             ^
file:///usr/share/sddm/themes/Utterly-Nord//components/WallpaperFader.qml:13:1: module "org.kde.plasma.private.sessions" is not installed 
     import org.kde.plasma.private.sessions 2.0 
     ^
file:///usr/share/sddm/themes/Utterly-Nord//Main.qml:110:9: Type WallpaperFader unavailable 
             WallpaperFader { 
             ^
file:///usr/share/sddm/themes/Utterly-Nord//components/WallpaperFader.qml:13:1: module "org.kde.plasma.private.sessions" is not installed 
     import org.kde.plasma.private.sessions 2.0 
     ^
Fallback to embedded theme
file:///usr/lib/qt/qml/SddmComponents/LayoutBox.qml:35:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/theme/Main.qml:41:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Adding view for "HDMI-A-1" QRect(0,0 2560x1440)
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Loading file:///usr/share/sddm/themes/Utterly-Nord//Main.qml...
file:///usr/share/sddm/themes/Utterly-Nord//Main.qml:110:9: Type WallpaperFader unavailable 
             WallpaperFader { 
             ^
file:///usr/share/sddm/themes/Utterly-Nord//components/WallpaperFader.qml:13:1: module "org.kde.plasma.private.sessions" is not installed 
     import org.kde.plasma.private.sessions 2.0 
     ^
file:///usr/share/sddm/themes/Utterly-Nord//Main.qml:110:9: Type WallpaperFader unavailable 
             WallpaperFader { 
             ^
file:///usr/share/sddm/themes/Utterly-Nord//components/WallpaperFader.qml:13:1: module "org.kde.plasma.private.sessions" is not installed 
     import org.kde.plasma.private.sessions 2.0 
     ^
Fallback to embedded theme
file:///usr/lib/qt/qml/SddmComponents/LayoutBox.qml:35:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/theme/Main.qml:41:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Adding view for "DP-1" QRect(2560,267 1920x1080)
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Reading from "/usr/share/wayland-sessions/plasma.desktop"
QIODevice::write (QLocalSocket): device not open
Reading from "/usr/share/wayland-sessions/plasma.desktop"
QIODevice::write (QLocalSocket): device not open
Reading from "/usr/share/wayland-sessions/plasma.desktop"
QIODevice::write (QLocalSocket): device not open

Error happened twice because it (tries to) load on two seperate screens.

r4jmond commented 3 weeks ago

I tried running the version from master and with the following patch it opens and somehow even works, but there's an issue with dual monitors - I have notebook and external monitor and only on the notebook it works correctly - on external monitor the action buttons are grey and logging in doesn't work. fix.txt