stepanzubkov / where-is-my-sddm-theme

:eyes: The most minimalistic and highly customizable SDDM theme.
MIT License
187 stars 10 forks source link

not compatible with KDE plasma6 #21

Closed dennisTGC closed 4 months ago

dennisTGC commented 5 months ago

Plasma6 was just released:
https://community.kde.org/Plasma/Plasma_6

It looks like your theme is not compatible anymore.

FYI:

More details on my system: Operating System: KDE neon 6.0 KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.5.0-21-generic (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 5900 12-Core Processor Memory: 31,2 GiB of RAM Graphics Processor: NV174 Manufacturer: Alienware Product Name: Alienware Aurora Ryzen Edition R14 System Version: 2.14.0

stepanzubkov commented 5 months ago

Ok, patch will be soon

stepanzubkov commented 5 months ago

Fixed in main branch. I tested it on kde neon live iso and it works. Please, test it and give feedback. Thanks 😃 !

dennisTGC commented 5 months ago

Tested it on unstable, cloned repo and installed it with script. Didn't work, but let me test on my workstation which has stable.

for reference, unstable is: Operating System: KDE neon Unstable Edition KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.5.0-21-generic (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz Memory: 15,3 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: Dell Inc. Product Name: XPS 13 9380

stepanzubkov commented 5 months ago

You can test theme with sddm-greeter --test-mode --theme <path to theme folder> and send me error you are getting

dennisTGC commented 5 months ago

That seemed to work:

sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/where_is_my_sddm_theme
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/where_is_my_sddm_theme/theme.conf"
Socket error:  "QLocalSocket::connectToServer: Invalid name"
Loading file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml...
Adding view for "eDP-1" QRect(0,0 2560x1440)
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

I did not receive any errors, I did however see this in journal, but not sure its related as it is a pipewire error:

plasmashell[5424]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 5 op:7
kitroed commented 5 months ago

Thank you for the update! In order to get this to work with SDDM 21 on Arch, I had to add: QtVersion=6 to the metadata.desktop file

dennisTGC commented 5 months ago

That worked for me too on KDE Neon unstable. Still haven't tested stable, sry.

stepanzubkov commented 5 months ago

And theme is working for me too on Artix GNU/Linux with plasma6

dennisTGC commented 5 months ago

So, took me some time but confirmed fix for KDE Neon stable. Didn't doubted it, but good to know right? ;-)

Cherkah commented 4 months ago

hi i cannot use the theme on plasma 6.0.3 release:

Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
20:16:34 sddm-greeter: Fallback to embedded theme
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: Loading file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml...
20:16:34 sddm-greeter: qrc:/theme/Main.qml:41:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
20:16:34 sddm-greeter: Fallback to embedded theme
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:2:1: module "QtQuick.Controls" is not installed 
     import QtQuick.Controls 2.0 
     ^
20:16:34 sddm-greeter: file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
20:16:34 sddm-greeter: Loading file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml...
20:16:34 sddm-greeter: Loading theme configuration from "/usr/share/sddm/themes/where_is_my_sddm_theme/theme.conf"
20:16:34 sddm-helper: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-GDSlmR --theme /usr/share/sddm/themes/where_is_my_sddm_theme"
20:16:34 sddm: Loading theme configuration from "/usr/share/sddm/themes/where_is_my_sddm_theme/theme.conf"

qt5 and qt6 (tool && base) are already installed on my system. either via pacman or via store store i cannot use it as a screen for connection

stepanzubkov commented 4 months ago

@Cherkah Seems you didn't installed some packages with qt quick modules. I tested theme on sddm with qt6 and qt5, both are works fine. Have you tried other qt6 themes for sddm? Did they work?

stepanzubkov commented 4 months ago

I broke qt5 compatibility in main branch. I will create qt5 branch soon.

Cherkah commented 4 months ago

i am using quite only qt6/kf6 app so as to keep my plasma 6.0.3 system as stable as possible.

Have you tried other qt6 themes for sddm

yes & some are working & others not

Cherkah commented 4 months ago

i've just tried to reactivated the theme again and got thos lissues:

Loading file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml...
file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^
file:///usr/share/sddm/themes/where_is_my_sddm_theme/Main.qml:3:1: module "QtGraphicalEffects" is not installed 
     import QtGraphicalEffects 1.12 
     ^

before to trie it i've installed qt6-graphs pkg but still got the logs. regards

Cherkah commented 4 months ago

ok now it working by the @kitroed workaround with append QtVersion=6 in metadata.desktop file

regards and thanks