material-decoration icon indicating copy to clipboard operation
material-decoration copied to clipboard

Plasma 6 compatibility

Open guiodic opened this issue 1 year ago • 39 comments

Hi, is an update planned for Plasma 6?

Thank you!

guiodic avatar Jan 22 '24 12:01 guiodic

Plasma 6 was released today. I hope this decoration can be updated to the new DE. Thank you!

guiodic avatar Feb 28 '24 12:02 guiodic

Sorry, a gentle bump :)

guiodic avatar Mar 14 '24 14:03 guiodic

I am also curious if an update is planned

AntarEspadas avatar Mar 21 '24 06:03 AntarEspadas

I regret not having learned C++. C++ is too difficult. Similarly, this tool can improve my work efficiency.

abolast avatar Mar 21 '24 08:03 abolast

I am seeing that @Zren is prioritizing widgets, I hope he has time for this decoration, much of the work I think has already been done. I really can't get by without the LIM!

guiodic avatar Apr 02 '24 11:04 guiodic

I am independently working on it, I just need to figure out kconfig but it is so boring as I do not use the kconfig menu, as I always just changed the source code

nicman23 avatar Apr 09 '24 10:04 nicman23

Thank you very much!

Il mar 9 apr 2024, 12:19 nicman23 @.***> ha scritto:

I am independently working on it, I just need to figure out kconfig but it is so boring as I do not use the kconfig menu, as I always just changed the source code

— Reply to this email directly, view it on GitHub https://github.com/Zren/material-decoration/issues/73#issuecomment-2044653776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACH63BB5XZBZCG2OSND7BDY4O6E7AVCNFSM6AAAAABCFC2OXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGY2TGNZXGY . You are receiving this because you authored the thread.Message ID: @.***>

guiodic avatar Apr 09 '24 11:04 guiodic

@nicman23 do you have any news? Is it possible to test the decoration?

guiodic avatar Apr 11 '24 13:04 guiodic

sorry guys it is a tough month, i might just upload whatever i have already done but yeah i have not worked at it at all

nicman23 avatar Apr 11 '24 20:04 nicman23

Thank you very much! I dont care kconfig for now, default options are ok for me, I will eventually change source code. Or, if present, the values in kwinrc.

guiodic avatar Apr 11 '24 20:04 guiodic

@nicman23 sorry to bother you but... any news?

guiodic avatar Apr 15 '24 16:04 guiodic

sorry here is the wip code https://github.com/nicman23/material-decoration but still no progress since my first message

nicman23 avatar Apr 19 '24 11:04 nicman23

thank you. I tried to build it. I receive an error on qtdbusmenu so I tried commenting the line in cmake but then I receive another error on "FindQt.cmake". Well, I will wait...

guiodic avatar Apr 19 '24 11:04 guiodic

On my test machine I don't see a package named "Qt6" which this would parse to: find_package(QT NAMES Qt${QT_VERSION_MAJOR}) It may be the package named "Qt6-base".

Anarcraft avatar Apr 19 '24 16:04 Anarcraft

On my test machine I don't see a package named "Qt6" which this would parse to: find_package(QT NAMES Qt${QT_VERSION_MAJOR}) It may be the package named "Qt6-base".

I presume "package" in cmake refers to QT internal names, not to the packages from the distribution.

guiodic avatar Apr 19 '24 16:04 guiodic

On my test machine I don't see a package named "Qt6" which this would parse to: find_package(QT NAMES Qt${QT_VERSION_MAJOR}) It may be the package named "Qt6-base".

I presume "package" in cmake refers to QT internal names, not to the packages from the distribution.

Oh, OK, I don't know much about cmake.

Anarcraft avatar Apr 19 '24 16:04 Anarcraft

@nicman23 sorry to bother you again ...

guiodic avatar Apr 23 '24 17:04 guiodic

i ll take a crack at it if i have no work today

nicman23 avatar Apr 24 '24 07:04 nicman23

i did make it compile but it does not show up in system config. if at all possible @Zren could you take a look?

it is not buy any way ready - i have removed the configuration for now - but it should had worked (?)

just for reference it compiles with qt6 and kf6

nicman23 avatar Apr 24 '24 17:04 nicman23

thank you. I still receive this error:

CMake Error at /usr/lib/cmake/Qt6DBus/Qt6DBusMacros.cmake:64 (qt5_add_dbus_interface): Unknown CMake command "qt5_add_dbus_interface". Call Stack (most recent call first): src/libdbusmenuqt/CMakeLists.txt:24 (qt_add_dbus_interface)

guiodic avatar Apr 24 '24 17:04 guiodic

and if I comment the qt dbusmenu including in cmake, thei I receive this other error: CMake Error at /usr/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:2829 (message): qt_generate_foreign_qml_types() is only available in Qt 6. Call Stack (most recent call first): /usr/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:145 (include) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib/cmake/KF6Config/KF6ConfigConfig.cmake:53 (find_dependency) /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package) src/CMakeLists.txt:13 (find_package)

(I'm on Manjaro unstable, it's pretty the same of arch)

guiodic avatar Apr 24 '24 17:04 guiodic

p.s. I use this command to build: cmake -DCMAKE_INSTALL_PREFIX=/usr ..

guiodic avatar Apr 24 '24 17:04 guiodic

try cmake -DQT_MAJOR_VERSION=6 -DCMAKE_INSTALL_PREFIX=/usr ..

nicman23 avatar Apr 25 '24 08:04 nicman23

yes, it works! thank you! but it has not shadow

guiodic avatar Apr 25 '24 08:04 guiodic

i tried to add this to kdecoration_materialrc

[Common] MenuAlwaysShow=true ShadowStrength=128

but the shadow doesn't show. Anyway the menu works

guiodic avatar Apr 25 '24 09:04 guiodic

what? tf, it does not work on my machine :D

E: huh the .so is installed in the wrong folder. i do not care to look into it right now, i just did a

cp src/materialdecoration.so /usr/lib/qt6/plugins/org.kde.kdecoration2/

and it worked lol

nicman23 avatar Apr 25 '24 16:04 nicman23

@nicman23 I hope the shadows can be restored.

guiodic avatar Apr 26 '24 14:04 guiodic

i do not use them so probably eh maybe

nicman23 avatar Apr 27 '24 13:04 nicman23

i do not use them so probably eh maybe

Please 🙏🙏🙏

guiodic avatar Apr 27 '24 19:04 guiodic

@nicman23 can you at least make some suggestions? I tried fiddling with the code but couldn't solve the shadow problem. Thank you!

@Zren some love for this bug? Thanks!

guiodic avatar Apr 30 '24 17:04 guiodic