Skip to content
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

Unable to install widget #3

Open
Lgmrszd opened this issue Feb 29, 2024 · 7 comments
Open

Unable to install widget #3

Lgmrszd opened this issue Feb 29, 2024 · 7 comments

Comments

@Lgmrszd
Copy link

Lgmrszd commented Feb 29, 2024

Updated to Plasma 6.0 recently and trying to install this widget.
Installing directly from "Download New Plasma Widgets" is simply not working without any kind of message.
Attempting to install downloaded file plasmoid-panel-modes-switcher-v0.1.1.plasmoid results in "Installation Failure" error dialog simply saying "Installing the package /home/lgm/Downloads/plasmoid-panel-modes-switcher-v0.1.1.plasmoid failed."

I don't know which command is used to install plasmoids so I don't have any logs

@luisbocanegra
Copy link
Owner

Please try installing from Discover, I also have had problems installing plasmoids from "Download New Plasma Widgets" but Discover worked fine. This could be a bug in Plasma if it happens with other widgets too.

@Lgmrszd
Copy link
Author

Lgmrszd commented Feb 29, 2024

I don't have Discover on my system (NixOS), just tried to get it and it's actually broken unfortunately. I guess for now I'll just wait if plasma gets fixes for that soon.

A bit offtopic question: I've noticed that there is a window action buttons widget on this plugin's demo video. Can you link that widget? I can't find it for Plasma 6.

@luisbocanegra
Copy link
Owner

I don't have Discover on my system (NixOS), just tried to get it and it's actually broken unfortunately. I guess for now I'll just wait if plasma gets fixes for that soon.

As a workaround you can download the file install it with plasmapkg2 -i plasmoid-panel-modes-switcher-v0.1.1.plasmoid

A bit offtopic question: I've noticed that there is a window action buttons widget on this plugin's demo video. Can you link that widget? I can't find it for Plasma 6.

That's https://github.com/moodyhunter/applet-window-buttons6

@Lgmrszd
Copy link
Author

Lgmrszd commented Mar 1, 2024

I don't have plasmapkg2 and it appears it is only present for plasma 5, but I am not sure.
But I managed to solve the problem with Discover. It failed to install the widget at first (because turns out it got partially installed and the files were present already) but after clearing those I got it installed. However it is not working, with the following error:
luisbocanegra.panel.modes.switcher/contents/ui/main.qml:9:1: module "org.kde.plasma.private.keyboardindicator" is not installed

image

@luisbocanegra
Copy link
Owner

org.kde.plasma.private.keyboardindicator

That's a leftover from previous experiments and was removed in version 0.1.1. It seems discover installed the old version, you could remove that line but you better install the latest where I fixed a crash. To get around all this you can just clone and replace the files from package/ into ~/.local/share/plasma/plasmoids/luisbocanegra.panel.modes.switcher/ and it should work fine.

@Lgmrszd
Copy link
Author

Lgmrszd commented Mar 1, 2024

Yup, that got it working. Thanks!
Not closing this for now as I was able to install other widgets through "Download New Plasma Widgets" just fine, so maybe this is a packaging issue

@luisbocanegra
Copy link
Owner

luisbocanegra commented Mar 4, 2024

I have now opened a bug report about this problem on KDE Bugzilla https://bugs.kde.org/show_bug.cgi?id=482349 hopefully they are able to figure out why this is happening and can fix this soon. Fixed for Frameworks 6.1

Let's keep this issue open until that version is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants