mausimus / ShaderGlass

Overlay for running GPU shaders on top of Windows desktop
GNU General Public License v3.0
970 stars 37 forks source link

Fullscreen Issues #2

Closed ruskerusker closed 3 years ago

ruskerusker commented 3 years ago

Great software, but I'm facing some issues. When going fullscreen on Glass mode the window below basically becomes irresponsive, as controls are applied by default to the active window (in this case, ShaderGlass window). Then, if I activate the window below, fullscreen mode switches to windowed. I guess it is a standard Windows behavior. That is somewhat problematic, as sometimes Clone mode leaves window edges intact and you can't do anything with it, while in Glass mode you can first force-resize emulator window to fullscreen with borders left out. I think this can be fixed by adding window staying on top option combined with borderless window mode available with custom window resolution settings. What do you think?

ruskerusker commented 3 years ago

Managed to solve this using Fullscreenizer. It pins the shader window on top and removes borders, which allows you to control the window underneath. Still would be great if this could be implemented without it, though.

siriusinko commented 3 years ago

This is not an option, Fullscreenizer spoils the aspect ratio. I would still like a normal full-screen mode.

ruskerusker commented 3 years ago

I'm certain it does not spoil anything. Works perfectly for me.

rohatsu commented 3 years ago

Many thanks for the feedback, yes I want to make fullscreen work - will take a look this week. If you're using any other emulators than ones I listed please let me know so I can test those as well.

siriusinko commented 3 years ago

Many thanks for the feedback, yes I want to make fullscreen work - will take a look this week. If you're using any other emulators than ones I listed please let me know so I can test those as well.

Why only emulators? I would like to use it in individual games, for example, indie games

ruskerusker commented 3 years ago

It doesn't actually matter, it's not like it's software-dependent. Can be used with anything. The option if available will work with anything essentially.

rohatsu commented 3 years ago

Could you try the attached beta version, press Ctrl+Shift+G to flip between normal and borderless fullscreen modes. I've quickly tested with ScummVM and AGS and it looks good but it's still a bit wonky in other modes. I want to make Window Clone mode work here (by means of auto-resize) so that it's possible to play in fullscreen without the annoying yellow outline (it's sort of possible now if you can set scaling so that it ends up covering the whole screen, set window to click-through and go borderless...) ShaderGlass-beta.zip

ruskerusker commented 3 years ago

Sure, I'll give it a try when I get home. Thanks a bunch.

ruskerusker commented 3 years ago

Yeah, works just fine, great. No yellow borders as well. The only thing it goes fullscreen on the main display, so I then put it on the second one with ShiftWindow. Not a problem though, because I use it anyway to resize the emulator as to remove borders.

ruskerusker commented 3 years ago

By the way, works pretty well with OBS in Glass mode, here's a video capture. That's exactly what i see on my other monitor as well. https://youtu.be/XsHuy4ZuEXQ

rohatsu commented 3 years ago

Great, thanks for testing. It should have fullscreened to the monitor it's currently on so it's a bug and I'll take a look at it.

rohatsu commented 3 years ago

Released in v0.3