Open docelic opened 11 months ago
In case it is related, 0.5.1 works and runs basic scripts that I tried, but opening the window spy reports:
Runtime error in line 21:
Arithmetic overflow.
The current thread will exit.
On another/different Debian 12 that I tried, the 1.0.2 release works. Interesting.
Hi @docelic!
Thanks for the report. The detailed stack trace was very helpful. The problem is probably that your system doesn't support _NET_ACTIVE_WINDOW
. I didn't know that was actually possible in any non-legacy X11 Linux distro. On the failing Debian distro, are you using a certain special desktop environment or the default Gnome? Did you (un)install anything unusual such as X11 components?
Could you please run xdotool getactivewindow
and report the output? You might have to install xdotool
if it isn't present already.
I have now added more guards to the active_window
check but not released it yet. You can now either pull and build from source again or wait a few days until I have made a new release, so you can try with the binary. No promise it will work though, as I couldn't reproduce it so far.
Edit: Release now already created, so just use the last one 1.0.3
Hello,
I am trying to run AHK_X11 on Debian 12, and getting the following results:
1) Compiled AppImage crashes:
2) Manually compiled AHK_X11 also crashes, with a little bit more info:
3) All precompiled/release versions newer than 0.5.1 crash in this way. Version 0.5.1 does open the installer.
Any hints maybe? Thanks!