Consider the following program that opens 5 small windows:
#!/usr/bin/python
import cv2
import numpy as np
for i in range(5):
cv2.imshow(str(i), np.random.random_integers(0,255,(64,128,3)).astype(np.uint8))
cv2.waitKey(-1)
(needs python-opencv and python-numpy)
When I run it, all 5 windows appear exactly on top of each other. My desktop is stretched over two monitors. Left monitor has nothing on it, right one has emacs not maximized, the 5 windows pop up on top left of the left screen.
I expect that the windows would appear in a way that they do not overlap, since there is plenty of space on both screens for that.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.12-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CompizPlugins: [core,composite,opengl,decor,compiztoolbox,snap,gnomecompat,regex,grid,resize,imgpng,mousepoll,place,move,vpswitch,animation,session,wall,expo,workarounds,unitymtgrabhandles,ezoom,fade,scale,unityshell]
Date: Fri May 25 10:34:20 2012
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
ProcEnviron:
PATH=(custom, user)
LANG=fr_FR.utf8
SHELL=/bin/zsh
SourcePackage: unity
UpgradeStatus: Upgraded to precise on 2012-05-02 (22 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.