dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #32017
[Bug 971147] Re: xdotool and wmctrl don't move and resize windows after they are (semi)maximized
I have a similar issue with wmctrl in 15.04. Trying to place a window in
the top-left corner, right next to the launcher, doesn't work.
"wmctrl -r :ACTIVE: -e 1,0,0,1240,1034" will place the window about 5
pixels to the right no matter what. If I try to place a window on the
top right corner "wmctrl -r :ACTIVE: -e 1,1280,0,640,360" it's 5 pixels
below where it should be. I can't find any explanation and I can confirm
it works in other desktops. Other operations like "wmctrl -r :ACTIVE: -e
1,1280,720,640,335" work as expected, though, it just seems to have
something against the left edge and top edge.
I am not sure if this is the right bug to post into, but they are pretty
similar so they might be related.
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/971147
Title:
xdotool and wmctrl don't move and resize windows after they are
(semi)maximized
Status in unity package in Ubuntu:
Expired
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://ubuntuforums.org/showthread.php?t=1414155&page=2
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://ru.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
user@xennie:~$ apt-cache policy xdotool
xdotool:
Installed: 1:2.20110530.1-3ubuntu1
Candidate: 1:2.20110530.1-3ubuntu1
Version table:
*** 1:2.20110530.1-3ubuntu1 0
500 http://ru.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
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://ru.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
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://ru.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.8.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/971147/+subscriptions