-
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
Search not seeing Steam Input On-Screen Keyboard #456
Comments
Are you able to paste the results of running |
Here they are:
|
Thank you! So here's the issue: xdotool doesn't search for names correctly. It's probably skipping the WM_NAME because it's marked as utf-8. It doesn't even check _NET_WM_NAME because, again, the search is broken. Go into
You may want to put in the entire title, because you can't search multiple criteria at once in xdotool (another fun bug that's been around for years). |
Interesting, and the behavior sounds like a bug. xdo search (_xdo_match_window_title) uses XGetWMName and loops over the result which assumes utf8 (using Xutf8TextPropertyToTextList). It's been a while since I've looked at this code, but it doesn't seem to ignore utf8. Something else might be going wrong here? I do notice that it uses different code than xdo_get_window_name, though, which doesn't use XTextProperty internally and instead wraps XGetWindowProperty. Your code sample doesn't check |
|
Is there a way to work around that issue from xdotool's end? |
You'd need to rebuild xdotool with the adjustment that I mentioned above. If you do that, xdotool will check |
I use a Steam Deck and I have an on screen keyboard issue, I wanted to work around it using xdotool, but it doesn't see the keyboard window in search, I can get the window name and class name by ID that I find through getmouselocation, but not via search, I tried a partial name with and without a regex wildcard, I even looked at the source code to see if there's some option tested there, but didn't see anything obvious.
Is this a bug? Do exluded from tray and/or toolbar windows not appear in search?
The text was updated successfully, but these errors were encountered: