51n7 / kTile

GNU General Public License v3.0
18 stars 0 forks source link

does not install on KDE 6 #4

Open imthenachoman opened 5 months ago

imthenachoman commented 5 months ago

I am getting this error:

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

51n7 commented 5 months ago

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

imthenachoman commented 5 months ago

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.

51n7 commented 5 months ago

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.

imthenachoman commented 5 months ago

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?

ChrisCheney commented 5 months ago

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.

51n7 commented 4 months ago

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

imthenachoman commented 4 months ago

Awesome. Thank you!

51n7 commented 3 weeks ago

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

imthenachoman commented 3 weeks ago

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

51n7 commented 3 weeks ago

@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.