wmctrl doesn't adjust position of terminal windows in Hardy

Bug #454215 reported by Crick
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wmctrl (Ubuntu)
Incomplete
Undecided
Rolf Leggewie

Bug Description

Binary package hint: wmctrl

1.
Ubuntu 8.04.3 LTS
2.
wmctrl:
  Installed: 1.07-6
  Candidate: 1.07-6
  Version table:
 *** 1.07-6 0
        500 http://au.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
3.
I expected wmctrl to be able to position terminal windows appropriately wherever I specify, as it observably does with every other window I try (e.g. firefox, openoffice).
4.
It gets the resizing right, but not the position. Position is the same as before. This only happens with terminal windows. There is some more about it here:
http://ubuntuforums.org/showthread.php?t=979648

ProblemType: Bug
Architecture: amd64
Date: Sun Oct 18 07:39:30 2009
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: nvidia
Package: wmctrl 1.07-6
PackageArchitecture: amd64
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: wmctrl
Uname: Linux 2.6.24-24-generic x86_64

Tags: apport-bug
Revision history for this message
Crick (crick) wrote :
Revision history for this message
Ralemy (reza.alemy) wrote :

using the attached script, I can put the terminal window around the screen.

Revision history for this message
David Biesack (david-biesack-sas) wrote :

In Ubuntu 10.10 wmctrl (1.07) moves terminal windows fine for me.

However, there are other windows that wmctrl can't move/resize as I want. For example, I have my X display spread across dual 1600x1200 monitors for an effective 3200x1200 desktop

wmctrl -r 'Google Chrome' -e 0,1200,0,1000,1000

will move the window to 1600 instead of 1200, although the same geometry works for a terminal window:

wmctrl -r :ACTIVE: -e 0,1200,0,1000,1000

My window manager is compiz but I have the same issue if I run metacity.

Revision history for this message
David Biesack (david-biesack-sas) wrote :

@ralemi when I run your script in a terminal, it does not snap left or right. instead, it resizes the window to take up
the entire monitor. I have dual monitors - it will resize to the size of a maximized app on the left monitor (but
the icon is still that of a normal window - i.e. not maximized - as it it is doing -b add,maximized_vert -b add,maximized_horz).

When I use snap.sh -r it "maximizes" the window (both horizontal and vertical) on my right monitor.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Sorry for the long delay in responding. Is this still an issue in bionic or later?

Changed in wmctrl (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: New → Incomplete
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.