Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools
Old 08-17-2023, 01:19 PM   #1
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,405
Default RS5k parameter changes via API aren't registered in the Undo history if UI is closed

FIXED in build 7.01

On Windows (added after FeedTheCat's comment that on Linux the behavior is different)

UI means FX chain window. In order for change in all instances to be registered, the FX chain window must be open. If a single instance UI is open in a floating window only change in its state is registered and it's the only one affected by the undo.

Other than that, provided the UI is open (FX chain window or a floating window), if the pair Undo_BeginBlock/Undo_EndBlock is used, changes are only registered with UNDO_STATE_FX flag (2), UNDO_STATE_ALL flag (-1) doesn't work or only works once right after the UI was opened.

Tested with Pitch offset parameter, same thing.

Tried including some track parameter changes within the Undo block and using -1 flag to trigger undo point creation with closed UI. The undo point is created but only track parameter changes are registered in the chunk.

For comparison tested ReaSynth and it's not affected by this issue.

__________________
https://github.com/Buy-One/REAPER-scripts (228)
Latest: Jump to the directory of the file being previewed in the Media Explorer.lua

Last edited by Buy One; 10-25-2023 at 05:46 AM.
Buy One is online now   Reply With Quote
Old 08-27-2023, 07:48 AM   #2
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,523
Default

This is a weird one...

UNDO_STATE_FX flag (2) doesn't make a difference here on Linux. Undo points are only created when RS5K is visible.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is online now   Reply With Quote
Old 10-18-2023, 11:20 AM   #3
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,405
Default

Refresh
__________________
https://github.com/Buy-One/REAPER-scripts (228)
Latest: Jump to the directory of the file being previewed in the Media Explorer.lua
Buy One is online now   Reply With Quote
Old 10-18-2023, 12:20 PM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,223
Default

fixing!
Justin is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.