xdotool and wmctrl don't move and resize windows after they are (semi)maximized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The command
/usr/bin/xdotool windowmove `/usr/bin/xdotool getwindowfocus` 0 0
is supposed to move currenly selected window to the top left corner. It works fine on clean start, but after I maximize (or half-maximize) and then restore some window, it becomes "broken", and this command silently do nothing with it. The same holds for appropriate wmctrl command like
wmctrl -i -r `/usr/bin/xdotool getwindowfocus` -e 10,0,0,-1,-1
This affects Unity desktop, but does NOT affect Gnome shell desktop, so I believe it's a bug somewhere in Unity.
The same issue is discussed in the following thread:
http://
It seems to affect both 11.10 and 12.04 (but I checked only 12.04).
user@xennie:~$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
user@xennie:~$ apt-cache policy unity
unity:
Installed: 5.8.0-0ubuntu2
Candidate: 5.8.0-0ubuntu2
Version table:
*** 5.8.0-0ubuntu2 0
500 http://
100 /var/lib/
user@xennie:~$ apt-cache policy xdotool
xdotool:
Installed: 1:2.20110530.
Candidate: 1:2.20110530.
Version table:
*** 1:2.20110530.
500 http://
100 /var/lib/
user@xennie:~$ apt-cache policy compiz
compiz:
Installed: 1:0.9.7.2-0ubuntu4
Candidate: 1:0.9.7.2-0ubuntu4
Version table:
*** 1:0.9.7.2-0ubuntu4 0
500 http://
100 /var/lib/
user@xennie:~$ apt-cache policy xorg
xorg:
Installed: 1:7.6+12ubuntu1
Candidate: 1:7.6+12ubuntu1
Version table:
*** 1:7.6+12ubuntu1 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.8.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-21-generic x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/
Date: Mon Apr 2 02:50:17 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to precise on 2012-03-31 (0 days ago)
Changed in unity (Ubuntu): | |
status: | Expired → Confirmed |
This also may be related to https:/ /bugs.launchpad .net/ubuntu/ +source/ wmctrl/ +bug/582348, but I'm not sure.