Comments (4)
Can you get me info about that black window? Run each of these commands, then click on the window, then put the output in a gist or pastebin:
- xwininfo
- xprop
from xdotool.
Hi Jordan,
This is the info you requested.
Cheers,
Dolf.
xwininfo: Window id: 0x2e00001 "Terminal"
Absolute upper-left X: 1
Absolute upper-left Y: 91
Relative upper-left X: 10
Relative upper-left Y: 40
Width: 10
Height: 10
Depth: 24
Visual: 0x21
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +1+91 -3509+91 -3509-979 +1-979
-geometry 10x10+-9+51
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FOCUSED
_NET_WM_DESKTOP(CARDINAL) = 0
XKLAVIER_STATE(INTEGER) = 0, 1
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 32, 1
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
SM_CLIENT_ID(STRING) = "10b0c975a9293ba586135487701930248700000027560073"
_NET_STARTUP_ID(UTF8_STRING) = "gnome-shell-2859-dolfdesktop-gnome-terminal-3_TIME5283069"
WM_CLASS(STRING) = "gnome-terminal", "Gnome-terminal"
WM_COMMAND(STRING) = { "gnome-terminal" }
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x2e00002
WM_CLIENT_LEADER(WINDOW): window id # 0x2e00001
_NET_WM_PID(CARDINAL) = 4993
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "dolfdesktop"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified size: 10 by 10
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING
WM_ICON_NAME(STRING) = "gnome-terminal"
_NET_WM_ICON_NAME(UTF8_STRING) = "gnome-terminal"
WM_NAME(STRING) = "Terminal"
_NET_WM_NAME(UTF8_STRING) = "Terminal"
----- Original Message -----
From: "Jordan Sissel" [email protected]
To: "jordansissel/xdotool" [email protected]
Cc: "dolfandringa" [email protected]
Sent: Thursday, 6 December, 2012 10:57:45 AM
Subject: Re: [xdotool] doing a windowunmap followed by a windowmap creates an extra window (#13)
Can you get me info about that black window? Run each of these commands, then click on the window, then put the output in a gist or pastebin:
* xwininfo
* xprop
—
Reply to this email directly or view it on GitHub .
from xdotool.
This little 10x10 window sounds liek some kind of utility window that GTK or gnome-terminal uses to do things behind the scenes and is never intended to be mapped, and you are mapping it (making it visible) with your search parameters.
from xdotool.
I'm using Ubuntu 20.04, with xfce4 (specifically 4.14) as my window manager, and I can confirm that this is periodically happening to me. I use xdotool along with xfce4 hotkeys to switch between different windows. Occasionally I'm finding that new "visible" windows are being created. The result is that my hotkeys don't behave quite the way they should.
I've noticed that the extra "visible" windows are created when I start a drag and drop operation. The windows are showing up as visible, even though they've never been shown. My testing shows that, so long as I do not raise the invisible windows, they do not have the WM_STATE prop set.
I believe this issue can be fixed by having "onlyvisible" include a secondary test to see if WM_STATE is present. That will prevent %@
from truly mapping a window that it seems should not be mapped.
from xdotool.
Related Issues (20)
- xdotool mousemove does not work on fc38
- Random mistake with type command
- Trouble getting xdo_click_window() function to work
- xdotool will not launch on Mint 21.2 Cinnamon
- xdotool key Alt+Tab on Ubuntu, not switch app window
- xdotool sets _NET_WM_NAME as a STRING when it needs to be set as UTF8_STRING
- Extremely strange bug - see attached video. HOT 2
- Add various random timing capabilities
- [Feature] Ability to query and change desktop names
- [Feature] Search for windows that are unmapped or visible on all desktops HOT 1
- Latest xdotool version in Ubuntu 22 repos silently fails on Wayland :sob: apt can't upgrade it, and manual doesn't help HOT 2
- Segfault when running over an ssh connection
- set_desktop --relative does not work for -1 HOT 2
- xdotool cannot send key combinations to Qt-based applications HOT 5
- XGetInputFocus returned the focused window of 1. This is likely a bug in the X server. HOT 1
- Search not seeing Steam Input On-Screen Keyboard HOT 7
- The character ":" is typed as "Q" in VM window HOT 1
- Xdotool works in Firefox but not Brave HOT 1
- behave_screen_edge only works with certain open windows
- "mousemove" to the same position jams read operation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdotool.