We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Other
Fedora 39
Git
No response
https://obsproject.com/logs/OfCsYcwx0uh1X3UJ
After the steps to reproduce, Left = 1, Top = 0
Left = 1, Top = 2
Crop/Pad
Added blog to see what was pushed into the undo/redo stack.
blog
diff --git a/UI/window-basic-filters.cpp b/UI/window-basic-filters.cpp index fcab696d6..6e4171a61 100644 --- a/UI/window-basic-filters.cpp +++ b/UI/window-basic-filters.cpp @@ -209,11 +209,13 @@ void FilterChangeUndoRedo(void *vp, obs_data_t *nd_old_settings, obs_data_set_string(redo_wrapper, "uuid", source_uuid); obs_data_set_string(redo_wrapper, "settings", obs_data_get_json(new_settings)); + blog(LOG_INFO, "redo_wrapper: settings: %s", obs_data_get_string(redo_wrapper, "settings")); OBSDataAutoRelease undo_wrapper = obs_data_create(); obs_data_set_string(undo_wrapper, "uuid", source_uuid); obs_data_set_string(undo_wrapper, "settings", obs_data_get_json(nd_old_settings)); + blog(LOG_INFO, "undo_wrapper: settings: %s", obs_data_get_string(undo_wrapper, "settings")); auto undo_redo = [](const std::string &data) { OBSDataAutoRelease dat =
The log shows as below. The first redo_wrapper has the settings {"left":1,"top":2} where it is expected to {"left":1,"top":0}.
redo_wrapper
{"left":1,"top":2}
{"left":1,"top":0}
17:51:42.018: redo_wrapper: settings: {"left":1,"top":2,"right":0,"bottom":0} 17:51:42.018: undo_wrapper: settings: {"left":0,"top":0,"right":0,"bottom":0} 17:51:42.510: redo_wrapper: settings: {"left":1,"top":2,"right":0,"bottom":0} 17:51:42.510: undo_wrapper: settings: {"left":1,"top":0,"right":0,"bottom":0}
The text was updated successfully, but these errors were encountered:
This bug was found during writing the RFC obsproject/rfcs#61.
Sorry, something went wrong.
No branches or pull requests
Operating System Info
Other
Other OS
Fedora 39
OBS Studio Version
Git
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/OfCsYcwx0uh1X3UJ
OBS Studio Crash Log URL
No response
Expected Behavior
After the steps to reproduce,
Left = 1, Top = 0
Current Behavior
Left = 1, Top = 2
Steps to Reproduce
Crop/Pad
filter to a source.Anything else we should know?
Added
blog
to see what was pushed into the undo/redo stack.The log shows as below. The first
redo_wrapper
has the settings{"left":1,"top":2}
where it is expected to{"left":1,"top":0}
.The text was updated successfully, but these errors were encountered: