obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Display capture fails to hide OBS window and menu after minimizing and restoring OBS window.

Open zwz20050174 opened this issue 2 years ago • 4 comments

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

29.1.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/bKLUnJcgHTo2ZWnr

OBS Studio Crash Log URL

No response

Expected Behavior

When I select "Hide OBS windows from screen capture", I shouldn't see OBS window and it's menu in display capture preview.

Current Behavior

After I've selected "Hide OBS windows from screen capture", I can still see menu list when I select menu above the window, and when I minimize and restore OBS window, a huge black window which may appears to be OBS window but without any components shows up in the preview, like the picture attached. IMG_20230626_174908 Behaviour before minimizing IMG_20230626_174934 Behaviour after minimizing

Steps to Reproduce

1.Make sure "Hide OBS windows from screen capture" and "Always minimize to system tray instead of task bar" settings are checked. 2.Open OBS, add "Display capture" source and configure Capture Method to "Windows 10 (1903 and up)". 3.Exit OBS, then open OBS again. You might find OBS fine, but when menu is selected, a menu list will also appear in display capture. 4.Minimize OBS window, then double-click OBS in system tray, and you will find the black window in display capture.

Anything else we should know?

I'm sorry not to report this bug earlier, which I might first find it in version 28. I thought it was my computer's fault first, but then when I changed my computer, it still exists.

zwz20050174 avatar Jun 26 '23 09:06 zwz20050174

This still applies to 30.0.2 and is very annoying and can ruin a whole recording session as there is no way to get it back working other than restart OBS (and even if there was, it's too late at that moment). And of course this makes the otherwise great "Hide OBS windows from screen capture" feature useless. Please fix this ASAP :) Thanks.

anttin2020 avatar Dec 31 '23 15:12 anttin2020

It's not a real fix but if you disable "minimize to system tray" and just minimize it to taskbar black box does not appear. Guess i stick to that until fix.

Vallek avatar Feb 17 '24 15:02 Vallek

Thanks @Vallek, that seems to work! Of course, as you said too this is not real fix so we are still waiting for fix to this. Now the OBS is visible in taskbar so it goes to recording as well so systray would be better. I don't understand why fixing this takes so long :o

anttin2020 avatar Feb 17 '24 15:02 anttin2020

There is a proposed fix, but the author seems to have stopped responding to the requested changes, so we are pending their reply before it can be merged.

https://github.com/obsproject/obs-studio/pull/9172

Fenrirthviti avatar Feb 17 '24 22:02 Fenrirthviti