Giter Club home page Giter Club logo

Comments (7)

Flupp avatar Flupp commented on September 27, 2024

I can reproduce the problem. It is also currently discussed in the KDE bug tracker.

I do not know yet what is the preferred solution. In the meantime, you can try branch metadata.json (c890dca). (I’ll remove the branch as soon as the problem is solved.)

from sticky-window-snapping.

nclarius avatar nclarius commented on September 27, 2024

Does this work for you? When I just add the json file while keeping the desktop one I'm getting the same error. When I empty the contents of the metadata.desktop or delete the file altogether, the script will not show up in the list of KWin scripts at all, even when I link the metadata.json instead. Did I miss a step?

from sticky-window-snapping.

Flupp avatar Flupp commented on September 27, 2024

The above mentioned branch works for me. A simple kpackagetool5 --install package in the root of the repo does the trick. (No symlink hackery necessary in contrast to the old metadata.desktop approach.) Maybe double check that no files from previous installations are left.

from sticky-window-snapping.

nclarius avatar nclarius commented on September 27, 2024

Thanks, that did the trick. Though https://bugs.kde.org/show_bug.cgi?id=444378#c6 is my preferred solution now.

from sticky-window-snapping.

nclarius avatar nclarius commented on September 27, 2024

I have no second system to test my scripts on, so if I may ask, re. your comment in the bug report:

Did I understand it correctly that

  • in 5.24, the error message occurs when X-KDE-ConfigModule=... is not present, and
  • in < 5.24, the error message occurs when X-KDE-ConfigModule=... is present?

So it can only ever work with one of the versions?

from sticky-window-snapping.

rafaelhlima avatar rafaelhlima commented on September 27, 2024

Hi! Weirdly enough the bug disappeared after frameworks got updated to 5.91. Can this be related?

I have just clicked the Configure button and the settings dialog appeared.

from sticky-window-snapping.

alex1701c avatar alex1701c commented on September 27, 2024

https://invent.kde.org/frameworks/kcmutils/-/commit/60ac2bf394c9cd8a142698332ffdbee55a61e705 That should have fixed it.

The issue was, that because of the symlinking the compatibility code path in kcmutils was used and there this one key was missing.

from sticky-window-snapping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.