obsproject / obsproject/obs-studio

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

Open
#9,155 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Reproduce on Windows 11 with OBS 29.1.3 using the listed display-capture settings, then review the linked OBS log and trace the Windows display-capture handling for hidden menus and the restored window. Done means menus and the black window no longer appear after minimizing and restoring OBS.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.