LonelyCat
New Member
Hi,
I'm trying to use pyqt5 to create an overlay using game state data from source2 games.
I previously tried to have a transparent window containing various elements, but window capture wasn't able to cope with the transparent window. Instead I'm trying to have many windows in a single scene, and showing/hiding windows as and when necessary.
Each window has a unique name (windowX) and its own window capture, with Window title must match. set in the Window Match Priority. However, whenever a window is hidden with windowX.hide() in QT5 (which means its no longer visible on desktop or via start bar) OBS still shows it on the preview. I also tried windowX.close() and the preview still shows the window (even though the window doesn't exist any more). Is there something else I need to do to get window capture to not display a window that has been destroyed by an application? Or something I need to do in the application so OBS knows the window no longer exists?
I'm trying to use pyqt5 to create an overlay using game state data from source2 games.
I previously tried to have a transparent window containing various elements, but window capture wasn't able to cope with the transparent window. Instead I'm trying to have many windows in a single scene, and showing/hiding windows as and when necessary.
Each window has a unique name (windowX) and its own window capture, with Window title must match. set in the Window Match Priority. However, whenever a window is hidden with windowX.hide() in QT5 (which means its no longer visible on desktop or via start bar) OBS still shows it on the preview. I also tried windowX.close() and the preview still shows the window (even though the window doesn't exist any more). Is there something else I need to do to get window capture to not display a window that has been destroyed by an application? Or something I need to do in the application so OBS knows the window no longer exists?