Bug Report Window Capture Doesn't Recognize Transparent Window

OneLastMidnight

New Member
Hello,

I have a WPF application with the background and window set to transparent, but the Window Capture source will not render the application. If I set the AllowsTransparency window property to false the application renders correctly.

I have tried to use the Game Capture source which allows for transparency, but regardless, that specific source will not render the application, or any other application for that matter - tried Outlook, Notepad, etc.

I don't know if this is a defect or intended functionality, but allowing WPF transparent windows to render would be very helpful for my needs.

Is there anyway you can help me?

Here is a test XAML, and the issue is easy to reproduce.

1. Create WPF application.
2. Add Background="Transparent" WindowStyle="None" AllowsTransparency="True" to the Window tag.
3. Replace grid with...
<Grid>
<Label Content="Hello World!" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White" FontSize="48" Margin="265,172,0,0"/>
</Grid>
4. Add Window Capture Source in OBS and point to running WPF application - app will not render.
5. Change AllowsTransparency to False - app will render.

Thank you for your help!

Cheers,
OneLastMidnight
 

OneLastMidnight

New Member
Another interesting issue.

If I create a Window Capture source and point to Notepad - Notepad will render. If I close Notepad the display will render transparent or hide. And if I open Notepad again, the Window Capture source will display Notepad correctly.

But... If I point the Window Capture source to the above application. It will render correctly without the transparency. Closing the application will hide it, but if when I open it again... It will not render at all, and I have to open the Window Capture property and re-select the EXE for it to display again.
 
Top