psifidotos / applet-window-buttons

Plasma 5 applet in order to show window buttons in your panels
GNU General Public License v2.0
403 stars 56 forks source link

Error Loading QML File #96

Closed erayerdin closed 4 years ago

erayerdin commented 4 years ago

I'm on Manjaro KDE. The applet cannot load qml, saying below on click:

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.windowbuttons/contents/ui/main.qml:26:1: plugin cannot be loaded for module "org.kde.appletdecoration": Cannot load library /usr/lib/qt/qml/org/kde/appletdecoration/libappletdecorationplugin.so: (libkdecorations2private.so.6: cannot open shared object file: No such file or directory)

Will troubleshoot and write what I will come up with.


Environment

psifidotos commented 4 years ago

classic Manjaro issue... have you built / install the applet by yourself or you used the prepackaged version of Arch/Manjaro?

erayerdin commented 4 years ago

Troubleshooting

libkdecorations2private.so.6

Looks like my system does not have /usr/lib/libkdecorations2private.so.6, instead it has 5.18.3 and 7. I will find it somewhere.

Installing from AUR

Tried installing from this source but did not work, same error. I will also report the issue there.

erayerdin commented 4 years ago

classic Manjaro issue... have you built / install the applet by yourself or you used the prepackaged version of Arch/Manjaro?

I have built it myself. Actually let me have a look if it has an AUR entry.

xMase commented 4 years ago

arojas the maintainer of the repository on arch did not want to hear reason to add the correct path for manjaro (probably for laziness) so having the problem I folded back to use the git package that presents the path fix (git repo aur)

the fix is to add this-DCMAKE_INSTALL_PREFIX=/usr on cmake

psifidotos commented 4 years ago

the fix is to add this -DCMAKE_INSTALL_PREFIX=/usr on cmake

this is distro responsibility

psifidotos commented 4 years ago

file: https://github.com/psifidotos/applet-window-buttons/blob/master/install.sh

contains the mentioned line but if a distro want different paths then the distro should adjust that on distro level

psifidotos commented 4 years ago

upstream

xMase commented 4 years ago

the fix is to add this -DCMAKE_INSTALL_PREFIX=/usr on cmake

this is distro responsibility

file: https://github.com/psifidotos/applet-window-buttons/blob/master/install.sh

contains the mentioned line but if a distro want different paths then the distro should adjust that on distro level

this is true but here: Wgr1Q7T and the current aur package override your installation file and use a cmake without the parameter (look here)

psifidotos commented 4 years ago

and the current aur package override your installation file and use a cmake without the parameter (look here)

the AUR package does not follow the AUR KDE guidelines... so this is the AUR package fault.