I have seen similar behavior on a Lenovo X1 Carbon (4th Gen) running Ubuntu 16.04, both directly attached, and through the OneLink+ dock.
I've "solved" this by disabling the internal display when I have an external display attached, and only attaching a single external display. -- You received this bug notification because you are a member of DX Packages, which is subscribed to compiz-plugins-main in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1666623 Title: Windows disappear on disconnecting external monitor Status in compiz-plugins-main package in Ubuntu: Confirmed Bug description: When I undock my laptop and the external displays are disconnected, sometimes the windows which were on those displays end up on my laptop's internal display. This is useful. Often, however, they don't. I can still see them in the panel, and I can click on them to bring them back... but nothing happens. They are somewhere off-screen and I cannot find any way to recover those windows except to kill the application and restart it. Often when this happens, even redocking the laptop and bringing those displays back doesn't actually get the windows back — those monitors are empty when they come back, or have only a subset of the "missing" windows. This is an HP EliteBook 850 G3 running Ubuntu 16.04. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz-plugins-main/+bug/1666623/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp