Suggestion: Color code the "Streaming" and "Recording" toggle buttons

mcbexx

New Member
Just a minor addition, but I think it would be helpful if the "Start/Stop Recording/Streaming" buttons would change their color when toggled. Set Streaming to orange and Recording to red when active so you can see at a glance whether either is active or not.
 

mcbexx

New Member
To elaborate, it seems like the two buttons don't have a "checked" state like the "Studio mode" button?
I tried to edit the css for the two buttons by adding them in the .qss file

QPushButton:checked[themeID="replayBufferButton"],
QPushButton:checked#modeSwitch,
QPushButton:checked#recordButton, /*added/*
QPushButton:checked#streamButton /*added/* {
background-color: rgba(204, 5, 42, 0.5); /* new color */
border: 1px solid rgba(240, 98, 146, 0.5); /* Pink (Secondary) */
}


While the "Studio Mode"-Button now is red when active, Start Streaming and Start Recording won't take the new color.
 
Last edited:

NLeseul

Member
It doesn't look like it should be too hard to make those buttons checkable. It's a little bit harder than the "Studio mode" button, since streaming or recording will sometimes be turned on or off by internal logic other than the button being clicked, but it looks like it ought to be pretty manageable.

I made a quick branch with a change to do this, if any devs want to look over it and make sure it's reasonable to do so. Might submit a pull request for it later, if others think it's a desirable change.
 

NLeseul

Member
That's correct; you would need to clone the source and compile your own version of OBS Studio to use that change.

You will be happy to know, however, that the referenced pull request was merged into the OBS Studio master branch a couple of weeks ago (November 23), and will presumably be in the next release, whenever that is.
 
Top