Bug 449915

Summary: Script settings are broken
Product: [Plasma] kwin Reporter: Komorebi <markovs.i.mail>
Component: scriptsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Komorebi 2022-02-10 07:02:17 UTC
STEPS TO REPRODUCE
1. Install kwin script like https://github.com/esjeon/krohnkite 
2.  Register is as service: 
mkdir -p ~/.local/share/kservices5/
ln -s ~/.local/share/kwin/scripts/krohnkite/metadata.desktop ~/.local/share/kservices5/krohnkite.desktop

OBSERVED RESULT
"Plugin does not provide configuration file in expected location" window

EXPECTED RESULT
Settings work as in previous KDE versions. 

Even if it's not a bug, it's a least a backwards compatibility issue. 

Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Xeon® CPU E3-1225 V2 @ 3.20GHz
Memory: 23,4 GiB of RAM
Graphics Processor: Radeon RX550/550 Series
Comment 1 Vlad Zahorodnii 2022-02-10 07:43:54 UTC
Can you try replacing `X-KDE-Library=kwin/effects/configs/kcm_kwin4_genericscripted` in metadata.desktop with `X-KDE-ConfigModule=kwin/effects/configs/kcm_kwin4_genericscripted`?

---

We needed to mention this change in release notes somehow..
Comment 2 Vlad Zahorodnii 2022-02-10 07:44:19 UTC
.
Comment 3 Komorebi 2022-02-10 09:53:01 UTC
Thanks, it helped.
Comment 4 Komorebi 2022-02-10 09:55:30 UTC
Moving to resolved, but probably yes, community needs some kind of notification about this change.