Bug 449810 - KWin scripts can't be configured in Plasma 5.24
Summary: KWin scripts can't be configured in Plasma 5.24
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: scripting (show other bugs)
Version: 5.24.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 23:49 UTC by Uri Herrera
Modified: 2022-03-17 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uri Herrera 2022-02-08 23:49:07 UTC
SUMMARY
***
KWin scripts used to be configurable by adding a .desktop file in /usr/share/kservices5/; however, this is no longer the case in Plasma 5.24.

***


STEPS TO REPRODUCE
1. Add any KWin script to the system
2. Link the desktop file in the KWin script directory to either /usr/share/kservices5 or ~/.local/share/kservices5
3. Open System Settings>KWin Scripts>Click the 'configure' button on the script

OBSSystemRESULT
A dialog appears, "Plugin does not provide the configuration file in the expected location."

EXPECTED RESULT
The configuration dialog is displayed.

SOFTWARE/OS VERSIONS
KDE Plasma Version:  5.24.0
KDE Frameworks Version:  5.90.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
This change isn't documented
Comment 1 Vlad Zahorodnii 2022-02-09 07:28:41 UTC
Right, there were some kcm related changed in 5.24. Can you try putting `X-KDE-ConfigModule=kwin/effects/configs/kcm_kwin4_genericscripted` in the metadata file?
Comment 2 Uri Herrera 2022-02-15 18:43:02 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Right, there were some kcm related changed in 5.24. Can you try putting
> `X-KDE-ConfigModule=kwin/effects/configs/kcm_kwin4_genericscripted` in the
> metadata file?

Adding that line to the file does display the configuration window of the script.
Comment 3 Bug Janitor Service 2022-03-02 04:35:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-03-17 04:35:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!