lingtjien/Grid-Tiling-Kwin

Keyboard shortcuts don't work

jazz-it opened this issue · 2 comments

Hi! I just updated my system, including your script and suddenly all of my shortcuts work except for Grid-Tiling-Kwin. I tried to reconfigure some keys, same outcome. I also tried resetting the settings to default, nothing changed. Any ideas what could it be? Thanks.

It seems assigning Meta+' to any action breaks the KWin shortcuts AND/OR usage of the previous naming "Increase/Decrease Step" (currently "Increase/Decrease Size") breaks it.

Anyway, to resolve this, rename your ~/.config/kglobalshortcutsrc to ~/.config/kglobalshortcutsrc_bkp, then re-login and re-assign your config through System Settings (use kglobalshortcutsrc_bkp as a reference only).

Note: UX should be a bit more intuitive in situations like this, so whenever you change the format in your config in any upcoming new version, please warn the user to reset this file, or even better - maybe that could be even automated.

Unfortunately that's not something I can fix. Once a script registers shortcuts they stay there until you manually remove them. So if I rename shortcuts in a newer version then you'll stil have the shortcuts assigned to the old ones.

To fix this you need to disable the KWin script and go to the shortcuts settings and there press the delete button on the KWin application that contains the shortcuts. Once you start the script again it will register the new shortcuts.

I also wrote a small section about this in the README.md but I'll expand a bit further on that for clarity purposes