toggle does not work correctly

Bug #1252309 reported by pauljohn32
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wmctrl (Ubuntu)
New
Undecided
Unassigned

Bug Description

I want the xfce4 panels on top, sometimes, otherwise I don't. toggle used do do that, now it does not.

I show here I can explicitly run "add,below" or "add,above" to get what I want, but toggle has no effect. This usage did work at one time. Am I doing this incorrectly.

I check the existing objects

pauljohn@dellap7:bin$ wmctrl -l
0x03000001 0 dellap7 mlterm
0x02e00001 0 dellap7 mlterm
0x00e00025 -1 dellap7 xfce4-panel
0x00e00004 -1 dellap7 xfce4-panel
0x01400001 0 dellap7 mlterm
0x02400001 0 dellap7 mlterm
0x04400001 0 dellap7 mlterm

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00025 -b toggle,above
envir_utf8: 1
Using window: 0x00e00025
State 1: _NET_WM_STATE_ABOVE

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00025 -b toggle,above
envir_utf8: 1
Using window: 0x00e00025
State 1: _NET_WM_STATE_ABOVE

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00025 -b toggle,above
envir_utf8: 1
Using window: 0x00e00025
State 1: _NET_WM_STATE_ABOVE

## Note no toggling going on there
## Now will manually force panel to bottom

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00025 -b add,below
envir_utf8: 1
Using window: 0x00e00025
State 1: _NET_WM_STATE_BELOW

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00004 -b add,below
envir_utf8: 1
Using window: 0x00e00004
State 1: _NET_WM_STATE_BELOW

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00025 -b toggle,above
envir_utf8: 1
Using window: 0x00e00025
State 1: _NET_WM_STATE_ABOVE

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00025 -b toggle,above
envir_utf8: 1
Using window: 0x00e00025
State 1: _NET_WM_STATE_ABOVE

pauljohn@dellap7:bin$ wmctrl -v -i -r 0x00e00025 -b add,below
envir_utf8: 1
Using window: 0x00e00025
State 1: _NET_WM_STATE_BELOW

Version information:

Ubuntu-13.10

ii wmctrl 1.07-7 amd64 control an EWMH/NetWM compatible X Window Manager
ii compiz 1:0.9.10+13.10.20131011-0ubuntu1 all OpenGL window and compositing manager
ii compiz-core 1:0.9.10+13.10.20131011-0ubuntu1 amd64 OpenGL window and compositing manager
ii compiz-gnome 1:0.9.10+13.10.20131011-0ubuntu1 amd64 OpenGL window and compositing manager - GNOME window decorator
ii compiz-plugins 1:0.9.10+13.10.20131011-0ubuntu1 amd64 OpenGL window and compositing manager - plugins
ii compiz-plugins-default 1:0.9.10+13.10.20131011-0ubuntu1 amd64 OpenGL window and compositing manager - default plugins
ii compiz-plugins-extra 1:0.9.10+13.10.20131011-0ubuntu1 all transitional dummy package.
ii compizconfig-settings-manager 1:0.9.10+13.10.20131011-0ubuntu1 all Compiz configuration settings manager
ii libcompizconfig0 1:0.9.10+13.10.20131011-0ubuntu1 amd64 Settings library for plugins - OpenCompositing Project
ii python-compizconfig 1:0.9.10+13.10.20131011-0ubuntu1 amd64 Compizconfig bindings for python

It would be handy if you could either fix wmctrl to work or tell me how to use it differently! The toggle makes it easy in a shell script to raise and lower the panels.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.