View multiple Properties / Filters windows simultaneously

iGamer4tv

New Member
I dont think theres a plugin or feature that exists to enable having multiple windows open for Properties or Filters simultaneously, only one window can be open.

Is there anyway to implement this? The workflow would be so much easier and sped up by having multiple property / filter windows open.

Theres also no keyboard shortcut to Copy / Paste filters, so you have to right click each source with the mouse to copy.

ALSO, if anyone could lend me in the right direction in the OBS build files to see where it limits the max amount of windows open to 1, maybe I can try and do this myself or get help from a friend.

Thanks!
 

kokoronikurai

New Member
I dont think theres a plugin or feature that exists to enable having multiple windows open for Properties or Filters simultaneously, only one window can be open.

Is there anyway to implement this? The workflow would be so much easier and sped up by having multiple property / filter windows open.

Theres also no keyboard shortcut to Copy / Paste filters, so you have to right click each source with the mouse to copy.

ALSO, if anyone could lend me in the right direction in the OBS build files to see where it limits the max amount of windows open to 1, maybe I can try and do this myself or get help from a friend.

Thanks!
I also would be extremely interested in this i'll try to look at reverse engineering on the program or maybe the source code if i can find it. There has to be a way to make multiple filter windows available. If i find it i will let you know. I'm also looking for something that allows multiple filter values to be modified in sync with each other.
 

iGamer4tv

New Member
I also would be extremely interested in this i'll try to look at reverse engineering on the program or maybe the source code if i can find it. There has to be a way to make multiple filter windows available. If i find it i will let you know. I'm also looking for something that allows multiple filter values to be modified in sync with each other.
I actually reached out to the OBS devs on discord and they helped me right away!

So I needed to change some code in the window-basic-main.cpp file in the UI in order to make this work!

The ORIGINAL codes were the following, I updated BOTH the properties window and the filters windows!

PROPERTIES ORGINAL CODE:
C++:
void OBSBasic::CreatePropertiesWindow(obs_source_t *source)
{
    bool closed = true;
    if (properties)
        closed = properties->close();

    if (!closed)
        return;

    properties = new OBSBasicProperties(this, source);
    properties->Init();
    properties->setAttribute(Qt::WA_DeleteOnClose, true);
}

PROPERTIES NEW CODE FOR UNLIMITED OPEN WINDOWS:
C++:
void OBSBasic::CreatePropertiesWindow(obs_source_t *source)
{
    OBSBasicProperties *props = new OBSBasicProperties(this, source);
    props->Init();
    props->setAttribute(Qt::WA_DeleteOnClose, true);
}

FILTERS ORIGINAL CODE:
C++:
void OBSBasic::CreateFiltersWindow(obs_source_t *source)
{
    bool closed = true;
    if (filters)
        closed = filters->close();

    if (!closed)
        return;

    filters = new OBSBasicFilters(this, source);
    filters->Init();
    filters->setAttribute(Qt::WA_DeleteOnClose, true);
}

FILTERS NEW CODE FOR UNLIMITED OPEN WINDOWS:
C++:
void OBSBasic::CreateFiltersWindow(obs_source_t *source)
{
    OBSBasicFilters *filt = new OBSBasicFilters(this, source);
    filt->Init();
    filt->setAttribute(Qt::WA_DeleteOnClose, true);
}

Then after compiling it worked! I can have unlimited properties and filters windows at a time BUT **WARNING**:

IF you accidentally have 2 property / filter windows for the SAME SOURCE,
you need to make sure whatever changes you made you CLOSE the one that doesnt have the new changed, then click OK for the window with the new saved changes. Otherwise, if you click OK accidentally on an old one, itll save that and you cannot undo those changes (I learned the hard way lol)
 

AaronD

Active Member
Does that change introduce a memory leak? Creating objects and not deleting them?

Or do they delete themselves? Is that what Qt::WA_DeleteOnClose does?
 

iGamer4tv

New Member
Does that change introduce a memory leak? Creating objects and not deleting them?

Or do they delete themselves? Is that what Qt::WA_DeleteOnClose does?
It was in the original code for the normal build, they were discussing that in the discord but I think ultimately it wasn't?

Heres the original starting of the message in their #development channel in their discord if you want to read the dev's replies!
 
Top