obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Clicking Defaults button in filters does not trigger property modified callbacks.

Open CodeYan01 opened this issue 3 years ago • 0 comments

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

29.0.0-beta1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/Q5AI4zR2t4wrf8Hs

OBS Studio Crash Log URL

No response

Expected Behavior

Pressing the Defaults button should hide the Width Field under "Limit width" in the Scroll Filter.

Current Behavior

The field stayed there even though "Limit width" was turned off.

Steps to Reproduce

  1. Add a scroll filter
  2. Turn on "Limit width". The Width Field should become visible.
  3. Click Defaults. The field will stay visible, even though Limit Width was turned off. ...

Anything else we should know?

https://user-images.githubusercontent.com/65320293/206546673-56c5db0f-3291-44fa-9fa6-3a8fdf33d846.mp4

Doing the same in the Properties of a source works as expected. The widgets that should be invisible become invisible.

Tried this with Crop/Pad filter too, the property modified callbacks weren't called. I also debugged a callback to see if it actually gets called, and yes, it doesn't hit the breakpoint when the Defaults button is clicked.

CodeYan01 avatar Dec 08 '22 19:12 CodeYan01