If you install CompizConfig Settings Manager and disable the Session Management plugin (under Utility) then your windows will return after you log out and back in.
It seems that the session management plugin can return invalid data and Unity expects it to do the right thing. My guess is that http://bazaar.launchpad.net/~compiz- team/compiz/0.9.12/view/head:/plugins/session/src/session.cpp SessionScreen::readWindow needs some sanity checking as do the state load and save functions. ** Changed in: compiz Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/919437 Title: Lost window, cannot get it back. Status in Compiz: Confirmed Status in Compiz Core: New Status in Unity Distro Priority: Fix Committed Status in compiz package in Ubuntu: Confirmed Bug description: I have a Chrome window that I was moving around via ALT+drag and the window "snapped" offscreen in the direction where there is no virtual workspace. I cannot get the window back into a workspace. Things I can do: I can see it in the spread or by double clicking on the app icon in the launcher, but when I click on the window to select it, it just brings me to the workspace it thinks it is in,but it is still offscreen. At this point, I can't get the window back on screen. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: unity 5.0.0-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-9.16-generic 3.2.1 Uname: Linux 3.2.0-9-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,gnomecompat,place,imgpng,session,grid,vpswitch,resize,move,snap,mousepoll,unitymtgrabhandles,regex,wall,animation,workarounds,fade,scale,expo,ezoom,unityshell] Date: Sat Jan 21 09:41:54 2012 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110919) SourcePackage: unity UpgradeStatus: Upgraded to precise on 2011-12-14 (37 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/919437/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp