ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.07k stars 204 forks source link

Gamescope doesn't display the title bar and close button of wine/proton explorer windows #1158

Open kevenwyld opened 7 months ago

kevenwyld commented 7 months ago

There are some (rare) instances where I have found it necessary to open a windows (wine) explorer window when using a game, or when a game opens an explorer window to display a file tree. Assetto Corsa is one of these situations where I have to run Content Manager in gamescope as there are no launch options to launch only the game.

When an explorer window is opened the title bar and buttons to close/maximize/minimize are not displayed. The window therefor can't be closed (you can alt+F4 if you don't have that bound in your window manager, but quite a few do by default) so I usually end up killing the whole game process and starting over or unbinding this shortcut as a workaround.

Here's a screenshot of the full window shown within the gamescope container: Screenshot_2024-02-26_15-53-10

My suspicion is that the window is being shown full screen (like how you can press F11 in windows) but I can't seem to exit this mode with the normal windows shortcuts. This theory could be wrong too.

desmond27 commented 1 month ago

I've been facing this issue when using MO2 with Skyrim as well since MO2 can open several other windows for configs and those capture the whole screen, making them impossible to close.