Stuie
06/04/2024, 7:42 PMtransparent
, undecorated
, and focusable
but that doesn't fix it. If I set the window to undecorated
and transparent
then the white box disappears from OBS, but the content of the windows is still not displayed. This is what the setting used to be last time this worked for me.
I left the project untouched for a long time, and only recently noticed this part stopped working. Since then I've upgraded to Windows 11 from 10, upgraded OBS, and bumped the Compose dependency version to 1.6.10, so I'm not exactly sure what the breaking change was.
Has anyone else had a similar issue with capturing their window content? FWIW OBS captures most other windows just fine (e.g. Firefox, Discord, IntelliJ Idea), but one exception is the file explorer called Files, that also appears blank.Stuie
06/05/2024, 4:04 AMStuie
06/05/2024, 4:15 AMStuie
06/05/2024, 7:03 AMStuie
06/06/2024, 1:21 AMcompose = "1.3.1"
kotlin = "1.8.10"
kodein-di = { group = "org.kodein.di", name = "kodein-di", version = "7.19.0" }
Also set the window properties like so:
Window(
title = "Overlay",
onCloseRequest = { isVisible = false },
state = windowState,
undecorated = true,
transparent = true,
visible = isVisible,
focusable = false,
)
Now OBS can see the window content correctly.
Swapping the undecorated
, transparent
, and focusable
properties makes the window show up as plain white.