Codeusa / Borderless-Gaming

Play your favorite games in a borderless window; no more time consuming alt-tabs.
GNU General Public License v2.0
5.5k stars 476 forks source link

Doesn't work on UWP apps :/ #620

Closed xmas-dev closed 8 months ago

xmas-dev commented 1 year ago

Requirements

Summary

Borderless Gaming does not work on UWP apps like the default Settings app or Minecraft for Win 10 (Bedrock). Some UWP apps like Minecraft have a built-in Fullscreen mode but it is terrible to use because the app does a reload every time it loses focus. Hence I have to run these apps in Windowed mode, but this makes their Title bar visible, taking up too much screen space. I was hoping Borderless Gaming would be able to hide them but as you can see in the screenshots attached, it seems to make the problem worse as the title bars get even bigger. Features like Set Window Title, Set Window Size, etc... don't work either.

Screenshot (2)

Screenshot (3)

Steps to reproduce

  1. Open a UWP app
  2. Try applying Borderless Gaming Fullscreen on it

Technical details

Using Win 11.

version

9.5.6.1328 and 10.0.0.0

ereesman commented 1 year ago

@xmas-dev I apologize in advance for asking an unrelated question but I couldn't help but notice you have a dark-themed window title bar in Windows 11. I have been trying for a while now to figure out how to force all title bars (including windowed games) to respect the system theme but have so far been unsuccessful. I am able to get some apps like Microsoft Edge or Explorer app to respect the theme settings, but game windows especially seem to be White regardless of settings/theme configuration.

Do you happen to have any tips/tricks along these lines? Thank you in advance!

xmas-dev commented 1 year ago

@ereesman I don't think I did anything special for that. There's this native setting in Windows and it's probably what I used: image

Aetopia commented 9 months ago

Requirements

* [x]  This issue doesn't already exist

* [x]  This bug is Not related to compatability with a specific game

Summary

Borderless Gaming does not work on UWP apps like the default Settings app or Minecraft for Win 10 (Bedrock). Some UWP apps like Minecraft have a built-in Fullscreen mode but it is terrible to use because the app does a reload every time it loses focus. Hence I have to run these apps in Windowed mode, but this makes their Title bar visible, taking up too much screen space. I was hoping Borderless Gaming would be able to hide them but as you can see in the screenshots attached, it seems to make the problem worse as the title bars get even bigger. Features like Set Window Title, Set Window Size, etc... don't work either.

Screenshot (2)

Screenshot (3)

Steps to reproduce

1. Open a UWP app

2. Try applying Borderless Gaming Fullscreen on it

Technical details

Using Win 11.

version

9.5.6.1328 and 10.0.0.0

UWP apps automatically suspend when they are minimized or hide themselves when in fullscreen. UWP apps when fullscreen/borderless windowed don't actually minimize but are cloaked by the shell. Also UWP core windows are a messed up concept, they don't work the same as desktop app windows.

I have made a program which can prevent UWP apps from being suspended by the system by throwing them into debug mode. You can check out AppLifecycleOptOut and a video demo.