Closed thegrasshopper104 closed 2 years ago
Hi! Thanks for reporting, I think I can add this under the "Troubleshooting" section. But I'm not sure if I should make the script to install this library automatically, as the script doesn't use it, as well as any other external modules or libraries.
The crash has nothing to do with pygdbmi
What seems to happen is that in https://github.com/emvaized/kde-snap-assist/blob/main/contents/ui/code/windows.js#L89 a null window is passed
#5 KWin::Window::output() const (this=this@entry=0x0) at /home/nico/kde/src/kwin/src/window.cpp:421
#6 0x00007f964ffe8d8e in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x1183d00, opt=KWin::PlacementArea, window=0x0) at /home/nico/kde/src/kwin/src/workspace.cpp:2524
#7 0x00007f964ff84822 in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const (c=<optimized out>, option=<optimized out>, this=<optimized out>)
at /home/nico/kde/src/kwin/src/scripting/workspace_wrapper.cpp:290
@nicolasfella Thanks a lot for your investigation! Then it must be an easy fix of simply adding a null check.
I just published a new 1.6.1
update which will hopefully resolve this issue.
Please feel free to reopen if the issue persists.
Hi,
> Failed to do pygdbmi parsing: No module named 'pygdbmi'> frame={level="0",func="onWindowResize",file="/home/aronkvh/.local/share/kwin/scripts/kdesnapassist/contents/ui/code/windows.js",fullname="/home/aronkvh/.local/share/kwin/scripts/kdesnapassist/c".
Kwin broke or restarted every time after installing the script and waking from sleep. It was fixed by installingpygdbmi
. Bug against KWin. System info: