spectacle.khotkeys cannot be added to Custom Shortcuts and also cannot be imported Reproducible: Always
--- spectacle.khotkeys.old 2016-04-26 00:23:19.863178745 +0700 +++ spectacle.khotkeys 2016-04-26 00:22:13.310370689 +0700 @@ -1,6 +1,6 @@ [Main] ImportId=spectacle -Version=3 +Version=2 [Data] DataCount=1
I cannot repro this. Triagers?
You're not supposed to import the .khotkeys file. The file is installed into /usr/share/khotkeys and the shortcuts are already in use. If you want to change them, you can do it in the KCM.
when i create new user there is no spectacle shotcuts
plasma-5.6.3 frameworks-5.21 apps-16.04.0
(In reply to Axel from comment #4) > when i create new user there is no spectacle shortcuts or just delete ~/.config/khotkeys and re-login
This is not a bug. Please don't reopen.
(In reply to Boudhayan Gupta from comment #7) > This is not a bug. Please don't reopen. then what is it ? new user has no shortcuts for spectacle. the problem is in version which must be 2 not 3.
~ $ ls -n /usr/share/khotkeys/ итого 628 -rw-r--r-- 1 0 0 9764 апр 19 18:08 defaults.khotkeys -rw-r--r-- 1 0 0 393702 апр 19 18:08 kde32b1.khotkeys -rw-r--r-- 1 0 0 212986 апр 19 18:08 konqueror_gestures_kde321.khotkeys -rw-r--r-- 1 0 0 15148 апр 13 23:54 spectacle.khotkeys ~ $ cat /usr/share/khotkeys/* | grep -i version Version=2 Version=2 Version=2 Version=3
could someone explain me why this is not a bug ?
I can confirm that this is in fact a bug! The source code of libkhotkeysprivate (Settings::isConfigFileValid to be precisely) clearly states that only version 2 is supported. Therefore, spectacle.khotkeys should be adjusted accordingly.
Hmm, that is correct. How does it work on my computer then? I'll push a fix tonight
> The source code of libkhotkeysprivate (Settings::isConfigFileValid to be precisely) clearly states that only version 2 is supported. Therefore, spectacle.khotkeys should be adjusted accordingly. There is still no fix for this in 16.04.1.
Git commit df84ed53f92c844ca98ef3b0a8bc9b4308eee816 by Boudhayan Gupta. Committed on 20/05/2016 at 16:10. Pushed by bgupta into branch 'Applications/16.04'. Fix invalid KHotkeys file version M +1 -1 desktop/spectacle.khotkeys http://commits.kde.org/spectacle/df84ed53f92c844ca98ef3b0a8bc9b4308eee816
Git commit 760315e9754fc5372924f06bcf31d70f6fa5fcb5 by Boudhayan Gupta. Committed on 20/05/2016 at 16:11. Pushed by bgupta into branch 'master'. Fix invalid KHotkeys file version M +1 -1 desktop/spectacle.khotkeys http://commits.kde.org/spectacle/760315e9754fc5372924f06bcf31d70f6fa5fcb5