I use Fedora on Gnome.
I often hook my laptop to a dock which connects to the monitor. The dock has all the ports so it is a one usb C cable to connect to my laptop. So i’d have monitor on the left, laptop on the right. Or i can go full monitor and turn off the laptop’s display.
Nevertheless, sometimes when I need to packup and unplug the dock’s usb c, some applications are still stuck. I.e. the system still thought that they are still on the external monitor.
The only way to “pull” these windows back is to unplug the HDMI, then plug/unplug the dock’s usb c cable into the laptop. Using Window key to get to Overview mode in Gnome, i couldnt see the missing the windows. Not even the good old Alt - Tab.
Is there a plugin or something to restore these windows? I even tried to force Gnome to use only 1 workspace, still same problem.
Sounds like a bug, file an issue to gnome’s gitlab. They might help you, or tell you that it’s a bug elsewhere
alt + space it brings up the minimize/maximize/move menu at least on windows and xfce
It sounds to me like the monitor is not registered as being disconnected, if you unplug the dock without unplugging the HDMI connector first. To check if that is the case, you could open the display settings dialog, then unplug the dock, and see if the external monitor is still there. If that’s the case, you should report it to your distro, because it’s likely a bug in the dock driver.
Don’t use Gnome.
Idk, I used Plasma and they all move back and forth automatically. Also Hyprland and now sway, where this kind of bug isn’t possible as everything is in 10 spaces and they display on whichever valid monitor was focused first. Tell the Gn*me people they suck I guess.
Not sure if I’ve had exactly this but I usually open the lid to turn my laptop display back on, pull out the USB-c dock and then open and close the overview with the super key.
I usually have ‘mirrored’ selected as the multi-display option in my settings FWIW.




