ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
472 stars 38 forks source link

[linux] fullscreen reverts to windowed when switching to another desktop #2656

Closed jakeprobst closed 7 months ago

jakeprobst commented 9 months ago

Your system information

Please describe your issue in as much detail as possible:

When switching to another desktop from full screen dota, and then back, it becomes windowed. This applies to both borderless window and desktop-friendly fullscreen. This worked fine before the dragon's gift update. Going back into settings and reapplying the video settings will return it to fullscreen (until I leave it again).

Steps for reproducing this issue:

  1. Open dota
  2. switch to another desktop
  3. switch back to dota
  4. dota is now in windowed mode
jakeprobst commented 9 months ago

I put +map_enable_background_maps 0 in my launch options and it seems to have fixed this problem. Alternatively, an update rolled out that I didn't notice that fixed this and my putting that in the config was a coincidence.

either way this is fixed.

jakeprobst commented 9 months ago

Well it seems that upon trying to play dota again, this problem is back. Either the previous time that it worked was a total fluke or there was another update that broke it again.

jakeprobst commented 8 months ago

I was hoping the fix mentioned in https://github.com/ValveSoftware/Dota-2/issues/2657#issuecomment-1958447672 would solve this, but does not seem to be the case.

jakeprobst commented 7 months ago

crownfall patch has fixed this

icculus commented 6 months ago

Hey, so this is something that, if it were to pop up again, we would deal with in SDL, since DOTA2 doesn't deal with these sort of issues directly, but rather uses SDL to isolate itself from them. Come see us over there if the problem pops up again!

jakeprobst commented 6 months ago

good to know!