Minimize option is broken or non-existant
Bug #260875 reported by
Azelphur
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wmctrl (Ubuntu) |
Confirmed
|
Undecided
|
Anton |
Bug Description
Binary package hint: wmctrl
The about and help for wmctrl says it can support minimizing windows, however there doesn't appear to be an option for it!
I tried hidden, but this appears to have no effect.
Changed in wmctrl: | |
status: | New → Confirmed |
Changed in wmctrl (Ubuntu): | |
assignee: | nobody → Anton (a3d) |
assignee: | Anton (a3d) → nobody |
assignee: | nobody → Anton (a3d) |
To post a comment you must log in.
status invalid
done
The hidden option asks the window manager to toggle the STATE_HIDDEN attribute of a window, however the Extended
_NET_WM_
Window Manager Hints specification from freedesktop.org states:
_NET_ WM_STATE_ HIDDEN should be set by the Window Manager to indicate STATE_HIDDEN state. Pagers and similar applications STATE_HIDDEN instead of WM_STATE to decide whether
that a window would not be visible on the screen if its
desktop/viewport were active and its coordinates were within the
screen bounds. The canonical example is that minimized windows should
be in the _NET_WM_
should use _NET_WM_
to display a window in miniature representations of the windows on a
desktop.
Implementation note: if an Application asks to toggle WM_STATE_ HIDDEN the Window Manager should probably just ignore STATE_HIDDEN is a function of some other
_NET_
the request, since _NET_WM_
aspect of the window such as minimization, rather than an independent
state.
Keep in mind that the property that you submit with -r / -b sends a STATE_< property>
request to the window manager to change the _NET_WM_
property of the window. This is an arbitrary property, presumably so
that it continues to work when the specifications change or are
extended. There is no option in the specification to request
minimization of the window, which means that it is outside of wmctrl's
ability to control it; for additional information, refer to the
Extended Window Manager Hints specification, Applicatoin Windows
Properties, _NET_WM_STATE:
http:// standards. freedesktop. org/wm- spec/wm- spec-1. 3.html# id2507241
The mention of minimization on the -h states that it is an example of STATE_MINIMIZED or something similar,
an action that a window manager may permit. Should the EWMH standard
be extended to include a _NET_WM_
it will be controllable from wmctrl; until then, a lower-level,
possibly WM-specific API will need to be used, though that would
require further study by the person who wants to do such a thing.
--
My sigfile ran away and is on hiatus.