-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plasma 6 compatibility #73
Comments
Plasma 6 was released today. I hope this decoration can be updated to the new DE. Thank you! |
Sorry, a gentle bump :) |
I am also curious if an update is planned |
I regret not having learned C++. C++ is too difficult. |
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! |
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 |
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
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACH63BB5XZBZCG2OSND7BDY4O6E7AVCNFSM6AAAAABCFC2OXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGY2TGNZXGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@nicman23 do you have any news? Is it possible to test the decoration? |
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 |
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. |
@nicman23 sorry to bother you but... any news? |
sorry here is the wip code https://github.com/nicman23/material-decoration but still no progress since my first message |
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". |
On my test machine I don't see a package named "Qt6" which this would parse to: |
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. |
@nicman23 sorry to bother you again ... |
i ll take a crack at it if i have no work today |
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 |
thank you. I still receive this error: CMake Error at /usr/lib/cmake/Qt6DBus/Qt6DBusMacros.cmake:64 (qt5_add_dbus_interface): |
and if I comment the qt dbusmenu including in cmake, thei I receive this other error: (I'm on Manjaro unstable, it's pretty the same of arch) |
p.s. I use this command to build: |
try |
yes, it works! thank you! but it has not shadow |
i tried to add this to kdecoration_materialrc [Common] but the shadow doesn't show. Anyway the menu works |
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
and it worked lol |
@nicman23 I hope the shadows can be restored. |
i do not use them so probably eh maybe |
Please 🙏🙏🙏 |
Sorry again @nicman23 ... |
To restore shadows, in the Decoration.cc, line 567 if (!s_cachedShadow ---> if (s_cachedShadow |
Is there any chance of this decoration being ported to Wayland? |
no |
maybe @Zren ? |
no i mean it is currently not possible |
Can you explain why? Thank you! |
Because Wayland sucks. It's much more restrictive than X11. Also, any progress on this ? |
I agree on Wayland sucks etc. but in this particular case I think there are no major problems, in fact the global menu and the menu button in the title bar work correctly (at least for QT apps, the GTK ones have a problem upstream) |
Damn I'll have to switch to Debian /s |
I guess this is dead :'( |
Hi, @nicman23 updated this to Plasma 6 and I made some little adjustment (restore shadows, remove deprecated functions). You can find it in my github: https://github.com/guiodic/material-decoration I am trying to understand the problem. Perhaps it is related to the fact that the _KDE_NET_WM_APPMENU_OBJECT_PATH property changes. In fact, if the gtk3 plugin of Libreoffice is used, the property in question does not change and the menu works correctly, updating. |
Ooh, awesome 😎 I will try it out asap tonight! |
@HerrCraziDev If you have Arch or derivatives there is already a package |
hey, nice! @guiodic, libreoffice and gtk apps in general never worked quite right with appmenu in general not just with the appmenu that the decoration uses. did you try libreoffice-qt? |
The problem is precisely with Libreoffice-qt. With gtk3 works just fine. |
@nicman23 To give an example, open libreoffice starcenter (using qt5 or qt6), the menu appears. But if you start Writer from there, the menu either disappears (qt5) or the starcenter menu remains (qt6). Using xprop I found that when you open Writer the _KDE_NET_WM_APPMENU_OBJECT_PATH property changes. Perhaps that is the problem. |
uh i remember i had issues with one of the versions but i guess i had them mixed up. to be honest, i really do not have time these weeks but i ll try to see what is up soon (tm) |
sorry to bother you... any news? |
I obtained the result in this way:
However, it does not seem efficient to me because it is called up every time the window changes (so even if I move it, it shrinks) and it also seems prone to memory leakage @nicman23 do you have any suggestions? |
Hi @nicman23 I modified lines 139-141 like this:
But I see that the signal is triggered repeatedly (4-6 times) every time I open a window, which is why I put the QTimer, but it doesn't seem like an optimal solution. Do you have any idea why this happens? Please help me! Thanks! |
@nicman23 I think I found a workaround, I accidentally turned it into a pull request on your repository, I actually wanted to make a pull request on my own. Anyway if you can take a look at it and tell me what you think thanks! |
sorry guys I went with plasma 5 and almalinux. see you at 2032 |
Hi, is an update planned for Plasma 6?
Thank you!
The text was updated successfully, but these errors were encountered: