Skip to content

Commit

Permalink
bugfix: KCM config panel not showing up (#198)
Browse files Browse the repository at this point in the history
    KCM complained when trying to open up the script config panel:

        Plugin does not provide configuration file in expected location

    This was due to a behavior change in KWin when loading KCM modules for
    plugins. We need to designate the related KCM module manually, using
    `X-KDE-ConfigModule` field in metadata

    Note that we're using `genericscripted` module, which generates config
    dialog using `config.xml` and `config.ui`.
  • Loading branch information
esjeon committed Feb 13, 2022
1 parent 56f0951 commit 8508a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/metadata.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ X-KDE-ServiceTypes=KWin/Script,KCModule

X-KDE-Library=kwin/effects/configs/kcm_kwin4_genericscripted
X-KDE-PluginKeyword=krohnkite
X-KDE-ParentComponents=krohnkite

X-KDE-ConfigModule=kwin/effects/configs/kcm_kwin4_genericscripted
Type=Service

0 comments on commit 8508a6b

Please sign in to comment.