Skip to content

How to debug non-working script #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Flupp opened this issue Jul 9, 2021 · 1 comment
Open

How to debug non-working script #15

Flupp opened this issue Jul 9, 2021 · 1 comment

Comments

@Flupp
Copy link
Owner

Flupp commented Jul 9, 2021

Don't want to open a seperate issue just yet - but is trying to figure out why it doesn't work on my system (Opensuse TW, Plasma 5.22.2, Framework 5.83, Wayland + Intel) and not certain its related to Sticky Window Snapping, but something else - hence commenting here...
Tried reinstalling it, enabling/reenabling, reboot etc.

Is there a good way to get proper info about what may be going wrong to provide a better bug report?

Originally posted by @ohyrans in #14 (comment)

@Flupp
Copy link
Owner Author

Flupp commented Jul 9, 2021

@ohyrans:

  • Did the installation succeed? (Does the script appear in the list of KWin scripts in kcmshell5 kwinscripts?)
  • Have you installed the current version? (version 1.0.1; can be checked using the info button in kcmshell5 kwinscripts)
  • Is the script enabled? (see kcmshell5 kwinscripts)
  • Is the script configured to your needs? (If there is not configuration button, see Bugs and Workarounds.)

If all of the above seems alright, you can try starting KWin on a terminal and check if there is any suspicious output: QT_LOGGING_RULES='*=false; js=true; kwin_scripting=true' kwin --replace (The name of the executable might be different for your Linux distribution.) If you still do not see anything, you can try with all the logging enabled: QT_LOGGING_RULES='*=true' kwin --replace (very noisy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant