https://bugs.kde.org/show_bug.cgi?id=444378

Flupp <bugs.kde....@derflupp.e4ward.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs.kde.org@derflupp.e4war
                   |                            |d.com

--- Comment #4 from Flupp <bugs.kde....@derflupp.e4ward.com> ---
I can reproduce the problem on Arch Linux with KWin 5.24.0. Other KWin script
users can too, see, e.g.,
https://github.com/Flupp/sticky-window-snapping/issues/18.

It seems, support for supplying metadata via a desktop file
(`metadata.desktop`) is not working anymore. Using JSON format
(`metadata.json`) seems to work fine.
https://develop.kde.org/docs/extend/plasma/widget/setup/#metadatajson.

The videowall KWin script, which is distributed with KWin
(`/usr/share/kwin/scripts/videowall`), provides metadata in both formats.
However, for KWin scripts installed in the home directory, it seems to work
only if exclusively the JSON format is used.

I now wonder:

• Shall KWin scripts generally transition to using `metadata.json`?
• If yes, should it be possible to still provide `metadata.desktop` for
backwards compatibility?
• Since when/which version is the JSON format supported? If JSON support
already exists long enough, backwards compatibility via also providing a
`metadata.desktop` might not be necessary.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to