kTile icon indicating copy to clipboard operation
kTile copied to clipboard

does not install on KDE 6

Open imthenachoman opened this issue 1 year ago • 10 comments

I am getting this error:

Installation of /tmp/cNSjdv-kTile.kwinscript failed: Package is not considered valid

imthenachoman avatar Jun 05 '24 00:06 imthenachoman

@imthenachoman can I get more info about your distro? and does it install using one of the other options in the readme?

51n7 avatar Jun 09 '24 01:06 51n7

I am on OpenSuse Tumbleweed.

I was able to install using the manual way.

But it wouldn't install when trying to install from the store.

#offtopic -- any plans to add support for closing with esc?

And, is it possible to use just a single key to select a position? For example, 1 to select the first one.

imthenachoman avatar Jun 09 '24 04:06 imthenachoman

Ok, I'll try grab an OpenSuse VM and see if I can replicated the problem. Thanks for letting me know.

I'd love to support closing the main window with esc, this drives me crazy but I havn't figured out a solution yet as it's a limitation with kwin/KDE and the way global shortcuts are bound. Similarly pressing 1 would be difficult because the script is relying on KDE's global shortcuts (in settings) which also doesn't allow single presses.

I'll take another look into this but the documentation is among the worst I've seen and TBH I got this far by looking at other people's kwin scripts instead, who I assume are reverse engineering kwin core because some of the functions they're using are nowhere to be found in the docs, and that is a skill level above mine.

Anyways I'll do what I can.

51n7 avatar Jun 09 '24 20:06 51n7

Ok, I'll try grab an OpenSuse VM and see if I can replicated the problem. Thanks for letting me know.

Welcome. I am happy to help test/debug if you tell me what you need me to do.

I'd love to support closing the main window with esc, this drives me crazy but I havn't figured out a solution yet as it's a limitation with kwin/KDE and the way global shortcuts are bound. Similarly pressing 1 would be difficult because the script is relying on KDE's global shortcuts (in settings) which also doesn't allow single presses.

I know Exquisite recently added support for esc. In case that helps you.

Anyways I'll do what I can.

No issues or rush. They were just ideas. I really like how the tool works right now. Very well done!

Also, do you have any kind of contribution/donation option?

imthenachoman avatar Jun 10 '24 02:06 imthenachoman

I'm also getting the same error message when installing from the store "Package is not considered valid" on current user Neon using today's iso: neon-user-20240618-1525.iso

I also made sure that qml-module-qtquick-localstorage was installed.

ChrisCheney avatar Jun 18 '24 20:06 ChrisCheney

Update:

I'm still looking into the package not being valid but I swear I tested this when I re-wrote the script for Plasma 6 so I'm guessing the metadata requirements changed but it's not clear yet what exactly is needed.

@imthenachoman thanks for the tip with Exquisite and being able to use Esc, their solution is quite hacky but I suppose it's necessary given the limitations in kwin, that being said it's hard to implement the same solution given we took different approaches in the code but I've got it half working, I can hit Esc to close the window but it's breaking the ability to click a space to move a window, so it's something I'm working on too.

I've added a ko-fi sponsor to the repo, thanks for the suggestion and all the bug reports! https://ko-fi.com/51n71

51n7 avatar Jun 25 '24 00:06 51n7

Awesome. Thank you!

imthenachoman avatar Jun 25 '24 02:06 imthenachoman

@imthenachoman sorry for the wait, now that KDE/Kwin has settled down with their breaking things I've been able to repackage kTile.kwinscript.

51n7 avatar Oct 26 '24 03:10 51n7

@51n7 Thanks. I had downgraded back to KDE 5 cause I was having issues but I'll try 6 again.

imthenachoman avatar Oct 26 '24 13:10 imthenachoman

@51n7 Thanks. I had downgraded back to KDE 5 cause I was having issues but I'll try 6 again.

I don't blame you, I kinda did the same or at least neglected KDE for the last few months for the same reason but I'll try to be more active again on this project.

While I was looking around to see how other kwin scripts are packaged I found kzones which works on KDE 6 and seems pretty great.

51n7 avatar Oct 26 '24 19:10 51n7