-
Notifications
You must be signed in to change notification settings - Fork 321
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
xdotool cannot send key combinations to Qt-based applications #453
Comments
A couple questions come to mind:
|
I find the window for example with the PID (xdotool search --pid XYZ). Below is the output of xprop: _NET_WM_USER_TIME(CARDINAL) = 0 |
You're definitely hitting the right window. Suppose you go into
On my system, the non-xtest path doesn't even show keycodes being sent to the application. I can tell because I'm having That is, unfortunately, my only guess for it. |
@FascinatedBox If you want to explicitly use XTEST, you shouldn't need to patch xdotool. Instead, setting the window to |
@FascinatedBox @jordansissel But maybe I did something wrong. Any idea? |
I am running xdotool 3.20211022.1 on Kubuntu 22.04 (with X11).
xdotool works fine with X11/Motif and GTK-based applications.
However, with Qt-based applications, sending key combinations does not work:
xdotool key --window 0x04000006 ctrl+o
Sending function keys does not work neither:
xdotool key --window 0x04000006 "F5"
But sending normal keys/chars works fine:
xdotool key --window 0x04000006 q
Is there something wrong? Or am I missing something?
Thanks.
The text was updated successfully, but these errors were encountered: