sticky-window-snapping icon indicating copy to clipboard operation
sticky-window-snapping copied to clipboard

How to debug non-working script

Open Flupp opened this issue 3 years ago • 1 comments

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 https://github.com/Flupp/sticky-window-snapping/issues/14#issuecomment-876988520

Flupp avatar Jul 09 '21 08:07 Flupp

@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).

Flupp avatar Jul 09 '21 08:07 Flupp